Good Afternoon,
I am still new to SAS programming and I am having trouble figuring out how to conduct a basic T-Test. Any help is appreciated!
Thanks,
Dylan
have you looked into proc ttest?
All you need is to follow the documentation
See the examples here:
If you have more specific questions feel free to post more details.
@Dylans15 wrote:
Good Afternoon,
I am still new to SAS programming and I am having trouble figuring out how to conduct a basic T-Test. Any help is appreciated!
Thanks,
Dylan
Now that I figured out how to use proc t-test, I am running into this error-
ERROR: The CLASS variable has more than two levels.
Any advice?
Thanks
T-Test is designed to test the difference between two groups. Do you have more than two groups? Usually, the analogous test for more groups than 2 is the ANOVA test, via PROC ANOVA or PROC GLM.
@Dylans15 wrote:
Now that I figured out how to use proc t-test, I am running into this error-
ERROR: The CLASS variable has more than two levels.
Any advice?
Thanks
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.