turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Bivariate analysis

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-10-2011 03:36 PM

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.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to jazzblues24

12-10-2011 04:14 PM

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.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to art297

12-10-2011 04:19 PM

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?

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to jazzblues24

12-10-2011 05:09 PM

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.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to jazzblues24

12-11-2011 09:16 PM

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

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Ksharp

12-12-2011 12:19 AM

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.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to art297

12-12-2011 01:05 AM

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