Regression Qualitatitive Factor

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Regression Qualitatitive Factor

jimjohn
Can someone please tell me if there is anyting special I need to do if im running regression in SPSS where one of my independent variables is binary (it is either 1 or 0). Can I just run the regression as I normally do? Thanks in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Regression Qualitatitive Factor

David Greenberg
Yes. You need not do anything special. David Greenberg, Sociology Department, New York University

----- Original Message -----
From: jimjohn <[hidden email]>
Date: Tuesday, July 14, 2009 4:41 pm
Subject: Regression Qualitatitive Factor
To: [hidden email]


> Can someone please tell me if there is anyting special I need to do if
> im
> running regression in SPSS where one of my independent variables is binary
> (it is either 1 or 0). Can I just run the regression as I normally do?
> Thanks in advance!
> --
> View this message in context: http://www.nabble.com/Regression-Qualitatitive-Factor-tp24486961p24486961.html
> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Regression Qualitatitive Factor

Hector Maletta
In reply to this post by jimjohn
Jimjohn,
In fact, a binary variable valued at 0 and 1 can be rightly regarded as an
interval variable, where the unit of measurement is the distance between the
situation at 0 and the situation at 1. As only one interval is involved, and
the interval involved equals the unit of measurement, there is no problem of
comparing intervals (as in ordinal variables). (If other figures are used
instead of 0 and 1, e.g. 1 and 2, nothing changes).
However, some purists say that using dummies (binaries) may infringe on some
of the assumptions of linear regression. In particular, the error term may
not have a normal distribution.
Others also say that a binary independent variable itself cannot have a
normal distribution, but they are barking at the wrong tree: independent
variables need not have a normal distribution for linear regression to be
applicable.
Whatever the objections, dummies are usually used in regression (chiefly in
econometrics) without compunction. You can follow the crowd and do it too,
without losing any sleep because of it.

Hector


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
jimjohn
Sent: 14 July 2009 17:37
To: [hidden email]
Subject: Regression Qualitatitive Factor

Can someone please tell me if there is anyting special I need to do if im
running regression in SPSS where one of my independent variables is binary
(it is either 1 or 0). Can I just run the regression as I normally do?
Thanks in advance!
--
View this message in context:
http://www.nabble.com/Regression-Qualitatitive-Factor-tp24486961p24486961.ht
ml
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Regression Qualitatitive Factor

Bruce Weaver
Administrator
Hector Maletta wrote
Jimjohn,
In fact, a binary variable valued at 0 and 1 can be rightly regarded as an
interval variable, where the unit of measurement is the distance between the
situation at 0 and the situation at 1. As only one interval is involved, and
the interval involved equals the unit of measurement, there is no problem of
comparing intervals (as in ordinal variables). (If other figures are used
instead of 0 and 1, e.g. 1 and 2, nothing changes).
However, some purists say that using dummies (binaries) may infringe on some
of the assumptions of linear regression. In particular, the error term may
not have a normal distribution.
Others also say that a binary independent variable itself cannot have a
normal distribution, but they are barking at the wrong tree: independent
variables need not have a normal distribution for linear regression to be
applicable.
Whatever the objections, dummies are usually used in regression (chiefly in
econometrics) without compunction. You can follow the crowd and do it too,
without losing any sleep because of it.

Hector
Anyone who thinks the residuals cannot be (approximately) normally distributed is also barking up the wrong tree.  A simple linear regression with one binary predictor variable is equivalent to an independent groups t-test (equal variances version).  If the binary variable is coded 0-1, the constant gives the mean for group 0; and the constant plus the coefficient gives the group 1 mean.
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: Regression Qualitatitive Factor

Hector Maletta
I agree, of course.
Hector

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Bruce Weaver
Sent: 14 July 2009 22:20
To: [hidden email]
Subject: Re: Regression Qualitatitive Factor

Hector Maletta wrote:

>
> Jimjohn,
> In fact, a binary variable valued at 0 and 1 can be rightly regarded as an
> interval variable, where the unit of measurement is the distance between
> the
> situation at 0 and the situation at 1. As only one interval is involved,
> and
> the interval involved equals the unit of measurement, there is no problem
> of
> comparing intervals (as in ordinal variables). (If other figures are used
> instead of 0 and 1, e.g. 1 and 2, nothing changes).
> However, some purists say that using dummies (binaries) may infringe on
> some
> of the assumptions of linear regression. In particular, the error term may
> not have a normal distribution.
> Others also say that a binary independent variable itself cannot have a
> normal distribution, but they are barking at the wrong tree: independent
> variables need not have a normal distribution for linear regression to be
> applicable.
> Whatever the objections, dummies are usually used in regression (chiefly
> in
> econometrics) without compunction. You can follow the crowd and do it too,
> without losing any sleep because of it.
>
> Hector
>

Anyone who thinks the residuals cannot be (approximately) normally
distributed is also barking up the wrong tree.  A simple linear regression
with one binary predictor variable is equivalent to an independent groups
t-test (equal variances version).  If the binary variable is coded 0-1, the
constant gives the mean for group 0; and the constant plus the coefficient
gives the group 1 mean.


-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/
"When all else fails, RTFM."

--
View this message in context:
http://www.nabble.com/Regression-Qualitatitive-Factor-tp24486961p24490400.ht
ml
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Regression Qualitatitive Factor

Gerard M. Keogh
In reply to this post by David Greenberg
a binary independent variable just acts as a classification or grouping
variable in regression a la ANOVA.
On the other hand a binary dependent will require logistic regression.




             David Greenberg
             <[hidden email]>
             Sent by:                                                   To
             "SPSSX(r)                 [hidden email]
             Discussion"                                                cc
             <SPSSX-L@LISTSERV
             .UGA.EDU>                                             Subject
                                       Re: Regression Qualitatitive Factor

             14/07/2009 21:55


             Please respond to
              David Greenberg
               <[hidden email]>






Yes. You need not do anything special. David Greenberg, Sociology
Department, New York University

----- Original Message -----
From: jimjohn <[hidden email]>
Date: Tuesday, July 14, 2009 4:41 pm
Subject: Regression Qualitatitive Factor
To: [hidden email]


> Can someone please tell me if there is anyting special I need to do if
> im
> running regression in SPSS where one of my independent variables is
binary
> (it is either 1 or 0). Can I just run the regression as I normally do?
> Thanks in advance!
> --
> View this message in context:
http://www.nabble.com/Regression-Qualitatitive-Factor-tp24486961p24486961.html

> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD



**********************************************************************************
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.  It is the policy of the Department of Justice, Equality and Law Reform and the Agencies and Offices using its IT services to disallow the sending of offensive material.
Should you consider that the material contained in this message is offensive you should contact the sender immediately and also mailminder[at]justice.ie.

Is le haghaidh an duine nó an eintitis ar a bhfuil sí dírithe, agus le haghaidh an duine nó an eintitis sin amháin, a bheartaítear an fhaisnéis a tarchuireadh agus féadfaidh sé go bhfuil ábhar faoi rún agus/nó faoi phribhléid inti. Toirmisctear aon athbhreithniú, atarchur nó leathadh a dhéanamh ar an bhfaisnéis seo, aon úsáid eile a bhaint aisti nó aon ghníomh a dhéanamh ar a hiontaoibh, ag daoine nó ag eintitis seachas an faighteoir beartaithe. Má fuair tú é seo trí dhearmad, téigh i dteagmháil leis an seoltóir, le do thoil, agus scrios an t-ábhar as aon ríomhaire. Is é beartas na Roinne Dlí agus Cirt, Comhionannais agus Athchóirithe Dlí, agus na nOifígí agus na nGníomhaireachtaí a úsáideann seirbhísí TF na Roinne, seoladh ábhair cholúil a dhícheadú.
Más rud é go measann tú gur ábhar colúil atá san ábhar atá sa teachtaireacht seo is ceart duit dul i dteagmháil leis an seoltóir láithreach agus le mailminder[ag]justice.ie chomh maith.
***********************************************************************************


=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD