What is the best method of conducting a bivariate analysis of two categorical variables? I used proc freq but I wasn't sure what to look for as a result. proc ttest doesn't seem right because I have no results for the Satterthwaite method. Any advice would be great.
Are your data simply frequencies in an X x Y table? If so, then I'd think that proc frequency's chi square statistic might suffice.
yes its in a Yes or No format. Proc freq works out fine. Thanks. Now what if I have a continuous variable vs a categorical variable. I'm thinking proc reg should work?
I am not a statistician. However, if your dichotomies are all 1 and 0, and your continuous variables are at least interval or interval appearing (e.g., a Likert-type scale), I think you could use either for both.
You can't do it with proc reg because residual is required to conform Normal Distribution.
But for your situation, Logistic Model or proc mixed is a good choice.
Ksharp
KSharp, Just to make the discussion and possibilities more interesting, here is the start of a chapter from one of Gene Glass's books: http://epm.sagepub.com/content/26/3/623.extract
As I learned, again while not a statistician, one can assume that a dichotomy was forced from a factor that was actually normalliy distributed.
Art.
Yes. dichotomy will conform Normal Distribution, if your sample size is quite large.
Actually Normal Distribution is from bivariate distribution.
Normal Distribution can be deduced by formula of bivariate distribution when N is large enough.
Ksharp
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.