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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 704 views
  • 0 likes
  • 2 in conversation