Jump to content

Linear Regression w/one categorical predictor


RER39

Recommended Posts

Hi everyone,

 

I need to do a simple linear regression with just one categorical predictor.  The predictor (age range) is broken down into three categories; young, middle, old. The DV is a continuous variable. I'm assuming I need to do something different in SPSS because the IV is categorical. Could someone clarify? Thanks so much in advance!! 

Link to comment
Share on other sites

or, as it is better known, a one-way ANOVA. 

Thanks for the reply. That was my first instinct as well, but I have been instructed by my professor to use regression, which threw me off. Is it possible to use regression for this? 

Link to comment
Share on other sites

 Is it possible to use regression for this? 

 

sure it is. maybe your prof is doing this so you can see the connection because Psychology has a tradition of teaching ANOVA and Regression as if they were separate things (cue in Cronbach's 1957 article on the 2 disciplines of scientific psychology) but the emphasis on teaching methods courses has lately been on helping students see the connections (like ANOVA is a special type of multiple regression, the general linear model is a specific instance of the generalIZED linear models and they're all specific instances of structural equation models which is itself a family of techniques under the umbrella of latent variable models). 

 

anyhoo, just make sure you code your things correctly (remember you always need one code less because one of the levels of the factor becomes the reference) and you're good to go. 

Link to comment
Share on other sites

sure it is. maybe your prof is doing this so you can see the connection because Psychology has a tradition of teaching ANOVA and Regression as if they were separate things (cue in Cronbach's 1957 article on the 2 disciplines of scientific psychology) but the emphasis on teaching methods courses has lately been on helping students see the connections (like ANOVA is a special type of multiple regression, the general linear model is a specific instance of the generalIZED linear models and they're all specific instances of structural equation models which is itself a family of techniques under the umbrella of latent variable models). 

 

anyhoo, just make sure you code your things correctly (remember you always need one code less because one of the levels of the factor becomes the reference) and you're good to go. 

Thank you so much! Exactly what I needed to know :)

Link to comment
Share on other sites

That is one thing I wish my early professors had taught the connections about earlier in statistics (connections between the general(ized) linear model).  I kind of vaguely understood the concept, but I didn't really get that they were the same thing until the beginning of graduate school when I kind of pieced it all together and was like "OH!"

 

Like this:

 

like ANOVA is a special type of multiple regression, the general linear model is a specific instance of the generalIZED linear models and they're all specific instances of structural equation models which is itself a family of techniques under the umbrella of latent variable models). 

 

Would've changed my life in college!  I still love its simplicity :D  I would love to use this as a flow chart in introductory statistics classes.

Link to comment
Share on other sites

That is one thing I wish my early professors had taught the connections about earlier in statistics (connections between the general(ized) linear model).  I kind of vaguely understood the concept, but I didn't really get that they were the same thing until the beginning of graduate school when I kind of pieced it all together and was like "OH!"

 

Like this:

 

 

Would've changed my life in college!  I still love its simplicity :D  I would love to use this as a flow chart in introductory statistics classes.

 

this is the 2nd statistics/methodology question from a psychology (or social science) person that we get in the span of just a few days. if a 3rd question comes along we're gonna need to open shop here! :D

Edited by spunky
Link to comment
Share on other sites

I wonder if they were trying to get you to understand the concept of dummy variables........

 

Thats the only point I see to such an exercise.

 

You need to include two values from your categorical variable, and one out as a reference group.

Link to comment
Share on other sites

this is the 2nd statistics/methodology question from a psychology (or social science) person that we get in the span of just a few days. if a 3rd question comes along we're gonna need to open shop here!  :D

 

This would make my life, lol :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This website uses cookies to ensure you get the best experience on our website. See our Privacy Policy and Terms of Use