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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.