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."
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.