Dear professors, I have a question of how to calculate the difference and CI of continuous variable in Clinical trails:
For example:
Outcomes Drug Placebo Effect Estimate(95%CI)
NIHSS score change, Mean(SD) 1.2(3.75) 0.8(2.01) 0.4(-0.4 to 1.1)
I want to get the difference like this
I use the PROC MEANS:
proc means data = work.stroke noprint alpha=0.05;
class group;
var NIHSS_24h_minus_baseline;
output out=_runtemp_s1 n = n mean = mean q1=q1 q3=q3 std=std median=median nmiss=nmiss min=min max=max lclm=lclm_ uclm=uclm_ clm = clm_;
run;
Can any expert tell me how to get the difference and CI or is there a macro to compute the estimate effect, risk difference, OR and CI? Thanks!
Thanks, Dave, I have made a change to the example, I want to calculate the difference of the continuous variable and the confidence interval.
Thank you, and I want to ask whether PROC TTEST is appropriate for non-normal data and ordinal outcomes.
Thanks, I have done Hodges-Lehmann Estimation to check the difference of ordinal outcomes, was it correct?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.