Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
Vahe_Mar
Obsidian | Level 7

DATA A

SUBJECT     TRTA

01                   A

01                   B

02                   A

02                   B

03                   B

04                   B

04                   A

05                   A

05                   B

QUESTION;

I need to calculate confidence interval and difference with proc genmod

Thanks.

Thanks,
Vahe
2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

The confidence interval and difference of what?

 

As a start, refer to the PROC GENMOD Documentation Example Section.

StatDave
SAS Super FREQ

Assuming that you want to compare the means of your two treatments on some response variable, Y, you can use the NLMeans macro following the fit of your model in PROC GENMOD. See the examples in the Results tab of the NLMeans macro documentation. However, if your response is normally distributed, you can simply use PROC GLM and its MEANS statement instead of GENMOD and the NLMeans macro.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 1018 views
  • 3 likes
  • 3 in conversation