## Bivariate analysis

Occasional Contributor
Posts: 5

# Bivariate analysis

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.

PROC Star
Posts: 8,167

## Bivariate analysis

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.

Occasional Contributor
Posts: 5

## Bivariate analysis

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?

PROC Star
Posts: 8,167

## Bivariate analysis

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.

Super User
Posts: 10,787

## Bivariate analysis

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

PROC Star
Posts: 8,167

## Bivariate analysis

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.

Super User
Posts: 10,787

## Bivariate analysis

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

Discussion stats
• 6 replies
• 4876 views
• 0 likes
• 3 in conversation