Docsity

Basic Social Statistics-Lecture07-Sociology, Study notes of Social Statistics and Data Analysis

Partial preview of the text

Download Basic Social Statistics-Lecture07-Sociology and more Study notes Social Statistics and Data Analysis in PDF only on Docsity!

Chapter 8

Multivariate Regression Analysis

8.3 Multiple Regression with K Independent

Variables

8.4 Significance tests of Parameters

Population Regression Model

For K independent variables, the population regression

and prediction models are:

The principles of bivariate regression can be generalized

to a situation of several independent variables (predictors)

of the dependent variable

The sample prediction equation is:

Yi    1 X 1 i  2 X 2 i ... KXKi   i

Yiab X ib X i ... bK XKi ˆ 1 1 2 2

Yi    X i  X i ...  KXKi ˆ 1 1 2 2

OLS Estimation of Coefficients

As with bivariate regression, the computer uses

Ordinary Least Squares methods to estimate the

intercept (a), slopes (bYX), and multiple coefficient of

determination (R^2 ) from sample data.

OLS estimators minimize the sum of squared

errors for the linear prediction:

min 

2

ei

See SSDA#4 Boxes 8.2 and 8.3 for details

of best linear unbiased estimator (BLUE)

characteristics and the derivations of OLS

estimators for the intercept a and slope b

Nested Equations

A set of nested regression equations successively
adds more predictors to an equation to observe
changes in their slopes with the dependent variable
Predicting children ever born (Y) by adding education (X 1 ); occupational
prestige (X 2 ); siblings (X 3 ); age (X 4 ). (Standard errors in parentheses)

( 0. 165 ) (. 012 )

Y ˆ i^  3. 606  0. 124 X 1 i R^2  0. 051

( 0. 173 ) (. 014 ) (. 003 )

Y ˆ i^  3. 473  0. 133 X 1 i  0. 006 X 2 i R^2  0. 052

( 0. 199 ) (. 015 ) (. 003 ) (. 012 )

Y ˆ i^  2. 865  0. 109 X 1 i  0. 006 X 2 i  0. 073 X 3 i R^2  0. 066

Y ˆ i^  1. 118  0. 080 X 1 i  0. 001 X 2 i  0. 067 X 3 i  0. 035 X 4 i R^2  0. 193

Source SS df MS F

Regression 354.

Error 5,011.

Total 5,365.8 ---------------------

Decision about H 0 :

_______________

Prob. Type I error:

_______________

Test the null hypothesis H 0 : ^2 = 0 for Equation 3:

 dfR, dfE^ c.v.

.05 (^) 3,  2.

.01 (^) 3,  3.

.001 (^) 3,  5.

Conclusion: ______________________________________

Difference in ^2 for Nested Equations

We can also test whether adding

predictors to a second, nested

regression equation increases ^2 : H : ρ ρ^0

H : ρ ρ 0

2 1

2 1 2

2 1

2 0 2

 

 

R N K

R R K K

F K K N K

where subscripts “1” and “2” refer to the equations with fewer
and more predictors, respectively

The F-statistic tests whether adding predictors increases

the population rho-square, relative to the difference in the

two nested equations’ degrees of freedom:

Now test the difference in ^2 for Eq. 4 versus Eq. 3:


( 1 )/( 1 )

( )/( )

4

2 4

4 3

2 3

2 4 ( 4 3 ),( 26484 1 )    

      R N K

R R K K

F^ ^

dfR, dfE c.v.

.05 (^) 1,  3.

.01 (^) 1,  6.

.001 (^) 1,  10.

Interpretation: Adding age to the regression equation

with three other predictors greatly increases the

explained variance in number of children ever born.

The coefficient of determination for equation #4 seems

to be almost three times larger than for equation #3.

Decision:_________________

Prob. Type I error: __________

Adjusting R^2 for K predictors

However, when you report the sample estimate of a

multiple regression R^2 , you must adjust its value by 1

degree of freedom for each of the K predictors:

2 2 2

N K

K R

Radj R

For large sample N and low

R^2 , not much will change.

The meaning of the multiple regression coefficient of

determination is identical to the bivariate case:

TOTAL

REGRESSION

TOTAL

TOTAL ERROR YX SS

SS

SS

SS SS R

 

2

  

    (^2)

2 2 2 ( )

( ) ( ˆ)

Y Y

Y Y Y Y R i

i i i YX

( 0. 165 ) (. 012 )

Y ˆ i^  3. 606  0. 124 X 1 i R^2  0. 051

( 0. 173 ) (. 014 ) (. 003 )

Y ˆ i^  3. 473  0. 133 X 1 i  0. 006 X 2 i R^2  0. 052

( 0. 199 ) (. 015 ) (. 003 ) (. 012 )

Y ˆ i^  2. 865  0. 109 X 1 i  0. 006 X 2 i  0. 073 X 3 i R^2  0. 066

Y ˆ i^  1. 118  0. 080 X 1 i  0. 001 X 2 i  0. 067 X 3 i  0. 035 X 4 i R^2  0. 193

Here are those four nested regression equations again

with the number of ever-born children as the dependent

variable. Now we’ll examine their regression slopes.

Predict children ever born (Y) by adding education (X 1 ); occupational
prestige (X 2 ); siblings (X 3 ); age (X 4 ) (Standard errors in parentheses)

Interpreting Nested byx

The multiple regression slopes are partial or net effects.

When other independent variables are statistically “held

constant,” the size of bYX often decreases. These

changes occur if predictor variables are correlated with

each other as well as with the dependent variable.

Two correlated predictors divide their joint impact on

the dependent variable between both byx coefficients.

For example, age and education are negatively correlated

(r = -.17): older people have less schooling. When age was

entered into equation #4, the net effect of education on number of

children decreased from b 1 = -.124 to b 1 = -.080. So, controlling

for respondent’s age, an additional year of education decreases

the number of children ever born by a much smaller amount.

Here are two hypotheses, about education ( 1 ) and

occupational prestige ( 2 ), to be tested using Eq, 4:

Decision: ______________ Prob. Type I error: ________

t 2648 - 4 - 1 _______________________

 1-tail 2-tail .05 (^) 1.651. .01 (^) 2.332.

.001 (^) 3.103.

Test a two-tail hypothesis about  1 :

t 2648 - 4 - 1 ______________________

Test a one-tail hypothesis about  2 :

Decision: ______________ Prob. Type I error: ________

Test one-tailed hypotheses about expected positive effects

siblings ( 3 ) and age ( 4 ) on number of children ever born:

t 2648 - 4 - 1 __________________

t 2648 - 4 - 1 ____________________

Interpretation: These sample regression statistics are

very unlikely to come from a population whose regression

parameters are zero (j = 0).

Decision: ______________ Prob. Type I error: ________

Decision: ______________ Prob. Type I error: ________

Standardize the regression coefficients in Eq. 4

Use these stnd. devs. to

change all the bYX to *:

Variable s.d.
Y Children 1.
X 1 Educ. 3.
X 2 Occup. 13.
X 3 Sibs 3.
X 4 Age 17.

4

3

2

2

1

4

3

1

( ) :

( ):

( ):

( ):

YX

YX

YX

YX

X

X

X

X

 

  

 

 

  

 

 

  

 

 

  

 

  1. 70

  2. 035 17.^35

  3. 70

  4. 19

  5. 067

  6. 70

  7. 001 13.^89

  8. 70

  9. 080 3.^08

_____

_____

_____

______

Write the

standardized

equation:^1

Z ˆ^ Y   0. 14 Z  0. 01 Z  0. 13 Z  0. 36 Z

Yi 1. 118 0. 080 X 1 i 0. 001 X 2 i 0. 07 X 3 i 0. 035 X 4 i ˆ (^)     

Interpreting *

Standardizing regression slopes transforms predictors’ effects

on the dependent variable from their original measurement

units into standard-deviation units. Hence, you must interpret

and compare the * effects in standardized terms:

Education * = -0.14  a 1-standard deviation difference in education
levels reduces the number of children born by one-seventh st. dev.
Occupational * = -0.01  a 1-standard deviation difference in prestige
reduces N of children born by one-hundredth st. dev.
Siblings * = +0.13  a 1-standard deviation difference in siblings
increases the number of children born by one-eighth st. dev.
Age * = +0.36  a 1-standard deviation difference in age increases the
number of children born by more than one-third st. dev.

Thus, age has the largest effect on number of children ever born; occupation has the smallest impact (and it’s not significant)