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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.