Best way to do a bivariate analysis of one categorical variable (two categories) and one continuous?? One sample.
Looking to compare means, standard deviations, and p-values.
Would appreciate which proc procedure to use.
Thanks in advance!!
@stephanicurry wrote:
Best way to do a bivariate analysis of one categorical variable and one continuous??
Looking to compare means, standard deviations, and p-values.
Comparing means sounds like Analysis of Variance, where you compare the mean of the continuous variable across the categories of the categorical variable. There are assumptions I am making. But I'd rather have you explain in a lot more detail what you want, instead of me guessing what you want.
What analysis were you thinking of?
Here's a t-test example using PROC TTEST:
ANOVA with two categories should give the exact same answer as a t-test. You can use PROC GLM.
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.