1 soc 3811 basic social statistics. 2 class overview compare means of two groups assignment 4...

26
1 SOC 3811 Basic Social Statistics

Post on 22-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

1

SOC 3811

Basic Social Statistics

Page 2: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

2

Class overviewCompare means of two groups

Assignment 4 correction Concept review Two sample t-test: different cases Assignment 5

Page 3: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

3

Simple regression model

Coefficientsa

15.685 .508 30.871 .000

.609 .038 .337 15.961 .000

(Constant)educ HIGHEST YEAR OFSCHOOL COMPLETED

Model1

B Std. Error

UnstandardizedCoefficients

Beta

StandardizedCoefficients

t Sig.

Dependent Variable: agekdbrn R'S AGE WHEN 1ST CHILD BORNa.

Page 4: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

4

Interpretation

Education has a positive influence on the respondent’s age when his/her first child was born.

the slop = 0.61 For each additional year of schooling, it

delays when the respondent had his/her first child born by 0.61 year (about 7.3 months).

Page 5: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

5

Multiple Regression Model

Coefficientsa

16.856 .563 29.926 .000

.495 .045 .270 11.119 .000

1.360 .281 .117 4.831 .000

(Constant)educ HIGHEST YEAR OFSCHOOL COMPLETEDPROF

Model1

B Std. Error

UnstandardizedCoefficients

Beta

StandardizedCoefficients

t Sig.

Dependent Variable: agekdbrn R'S AGE WHEN 1ST CHILD BORNa.

Page 6: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

6

Interpretation

Education and Professional type both have positive influence on the age when the respondent’s first child was born.

the slop for Educ = 0.495 the slop for PROF =1.360 Controlling for professional type, every additional

year of schooling delays when the respondent’s first child was born by 0.50 year (about 6 months).

Controlling for education, being in a managerial position delays when the respondent’s first child was born by 1.36 year (about 1 year and 4months).

Page 7: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

7

Multiple Regression Model with Interaction term

Coefficientsa

17.158 .686 25.021 .000

.471 .055 .257 8.594 .000

.331 1.363 .029 .243 .808

.073 .094 .097 .772 .440

(Constant)educ HIGHEST YEAR OFSCHOOL COMPLETEDPROFEDUPROF

Model1

B Std. Error

UnstandardizedCoefficients

Beta

StandardizedCoefficients

t Sig.

Dependent Variable: agekdbrn R'S AGE WHEN 1ST CHILD BORNa.

Page 8: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

8

Interpretation

No interaction effect based on this data.

Being in a managerial position does not mediate the influence of education on the respondent’s age when the first child was born.

Page 9: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

9

Independent samples T-test

Page 10: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

10

F-test

Ho: variances are equal Ha: variances are not equal

If Sig. (p value)>.05 → can’t reject Ho (variances are equal) If Sig. (p value)≤.05 → reject Ho

(variances are not equal)

22

21

22

21

22

21

ˆ

ˆ

F

Page 11: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

11

T-test

Ho:

Ha:

Calculating z/t score:

(note: the formula of is different for cases)

21

21

021

021

}{**

21

21

yyse

yytz

Page 12: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

12

Calculating z/t :

For any two means, the difference will also fall in a certain range. We can guess the range in which it typically falls

one-tail test two-tail test

}{*

21

21

yyse

yyz

-1.645 -1.96 1.96

Page 13: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

13

Dependent samples T test

Page 14: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

14

95% Confidence Interval

If 95% C.I. captures the null value (0) → can’t reject the null hypothesis

If 95% C.I. doesn’t capture the null value (0) → reject the null hypothesis

Page 15: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

15

Example 1

Group Statistics

552 3.22 2.622 .112

687 3.61 2.776 .106

sex RESPONDENTS SEX1 MALE

2 FEMALE

relactiv HOW OFTENDOES R TAKE PARTIN RELIG ACTIVITIES

N Mean Std. DeviationStd. Error Mean

Independent Samples Test

4.693 .030 -2.545 1237 .011 -.394 .155 -.698 -.090

-2.561 1205.187 .011 -.394 .154 -.696 -.092

Equal variances assumed

Equal variances not assumed

relactiv HOW OFTENDOES R TAKE PARTIN RELIG ACTIVITIES

F Sig.

Levene's Test for Equalityof Variances

t df Sig. (2-tailed)Mean

DifferenceStd. ErrorDifference Lower Upper

95% Confidence Intervalof the Difference

t-test for Equality of Means

Page 16: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

16

Example 1

Independent Samples Test

4.693 .030 -2.545 1237 .011 -.394 .155 -.698 -.090

-2.561 1205.187 .011 -.394 .154 -.696 -.092

Equal variances assumed

Equal variances not assumed

relactiv HOW OFTENDOES R TAKE PARTIN RELIG ACTIVITIES

F Sig.

Levene's Test for Equalityof Variances

t df Sig. (2-tailed)Mean

DifferenceStd. ErrorDifference Lower Upper

95% Confidence Intervalof the Difference

t-test for Equality of Means

Page 17: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

17

Example 1

Independent Samples Test

4.693 .030 -2.545 1237 .011 -.394 .155 -.698 -.090

-2.561 1205.187 .011 -.394 .154 -.696 -.092

Equal variances assumed

Equal variances not assumed

relactiv HOW OFTENDOES R TAKE PARTIN RELIG ACTIVITIES

F Sig.

Levene's Test for Equalityof Variances

t df Sig. (2-tailed)Mean

DifferenceStd. ErrorDifference Lower Upper

95% Confidence Intervalof the Difference

t-test for Equality of Means

Page 18: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

18

Independent samplesUnequal variance

2

2

1

2

212121}{}{}{N

S

N

SyVyVyyse yy

Page 19: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

19

Example 2

Group Statistics

1019 2.81 2.260 .0711318 2.90 2.237 .062

sex RESPONDENTS SEX1 MALE2 FEMALE

tvhours HOURS PERDAY WATCHING TV

N Mean Std. DeviationStd. Error Mean

Independent Samples Test

.807 .369 -.959 2335 .338 -.090 .094 -.274 .094-.958 2178.441 .338 -.090 .094 -.274 .094

Equal variances assumedEqual variances not assumed

tvhours HOURS PERDAY WATCHING TV

F Sig.

Levene's Test for Equalityof Variances

t df Sig. (2-tailed)Mean

DifferenceStd. ErrorDifference Lower Upper

95% Confidence Intervalof the Difference

t-test for Equality of Means

Page 20: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

20

Example 2

Independent Samples Test

.807 .369 -.959 2335 .338 -.090 .094 -.274 .094-.958 2178.441 .338 -.090 .094 -.274 .094

Equal variances assumedEqual variances not assumed

tvhours HOURS PERDAY WATCHING TV

F Sig.

Levene's Test for Equalityof Variances

t df Sig. (2-tailed)Mean

DifferenceStd. ErrorDifference Lower Upper

95% Confidence Intervalof the Difference

t-test for Equality of Means

Page 21: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

21

Example 2

Independent Samples Test

.807 .369 -.959 2335 .338 -.090 .094 -.274 .094-.958 2178.441 .338 -.090 .094 -.274 .094

Equal variances assumedEqual variances not assumed

tvhours HOURS PERDAY WATCHING TV

F Sig.

Levene's Test for Equalityof Variances

t df Sig. (2-tailed)Mean

DifferenceStd. ErrorDifference Lower Upper

95% Confidence Intervalof the Difference

t-test for Equality of Means

Page 22: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

22

Independent samples / Equal variances

)(]11

}[{}{ 12

11

2

2121

NNNN

yVyyse y

Page 23: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

23

Example 3Paired Samples Statistics

41.31 1544 13.547 .345

44.39 1544 13.414 .341

mapres80 MOTHERSOCCUPATIONALPRESTIGE SCORE (1980)prestg80 RSOCCUPATIONALPRESTIGE SCORE (1980)

Pair 1Mean N Std. DeviationStd. Error Mean

Paired Samples Correlations

1544 .151 .000

mapres80 MOTHERSOCCUPATIONALPRESTIGE SCORE (1980)& prestg80 RSOCCUPATIONALPRESTIGE SCORE (1980)

Pair 1N Correlation Sig.

Paired Samples Test

-3.082 17.570 .447 -3.959 -2.205 -6.892 1543 .000

mapres80 MOTHERSOCCUPATIONALPRESTIGE SCORE (1980) -prestg80 RSOCCUPATIONALPRESTIGE SCORE (1980)

Pair 1Mean Std. DeviationStd. Error Mean Lower Upper

95% Confidence Intervalof the Difference

Paired Differences

t df Sig. (2-tailed)

Page 24: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

24

Example 3

Paired Samples Test

-3.082 17.570 .447 -3.959 -2.205 -6.892 1543 .000

mapres80 MOTHERSOCCUPATIONALPRESTIGE SCORE (1980) -prestg80 RSOCCUPATIONALPRESTIGE SCORE (1980)

Pair 1Mean Std. DeviationStd. Error Mean Lower Upper

95% Confidence Intervalof the Difference

Paired Differences

t df Sig. (2-tailed)

Page 25: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

25

Dependent samples

2121222

yyyy SrSSS

}{}{}){(2}{}{}{ 21212121 yVyVyycoryVyVyyse

Page 26: 1 SOC 3811 Basic Social Statistics. 2 Class overview Compare means of two groups  Assignment 4 correction  Concept review  Two sample t-test: different

26

Assignment 5 – due next lab Occupation , Industry are not continuous

variables!!

Notice how the values ordered!

Don’t forget to pick up your assignment.