BookmarkSubscribeRSS Feed
MrsM
Calcite | Level 5

Hello,

 

what codes should I use for this?

 

Develop a 95% confidence interval for the difference in the average cholesterol level 2 days after the heart attack compared to the control group.

Some of the variables in the data set are :  twoday and control.... 

1 REPLY 1
PaigeMiller
Diamond | Level 26

Here's an example:

https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...

 

For this to work, you will have to re-arrange your data so that instead of a column for twoday and another column for control, both cholesterol readings are in the same column, and an ID column exists indicating TWODAY or CONTROL.

--
Paige Miller

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 474 views
  • 0 likes
  • 2 in conversation