What is the difference between how standard error is calculated in proc ttest vs. proc genmod dist=normal.
I ran the following codes:
The same means were produced but the standard errors were different. Anyone know why?
GENMOD uses maximum likelihood to estimate the scale parameter. TTEST uses a pooled estimate of variance. These are not the same.
GENMOD uses maximum likelihood to estimate the scale parameter. TTEST uses a pooled estimate of variance. These are not the same.
Thanks for the quick reply. This is helpful as "The PROC GENMOD scale parameter, in the case of the normal distribution, is the standard deviation."
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.