You are on page 1of 3

1.

Perform a T-Test whether there is an association between a person gender


and the age at which they first have children. Use TT03 data set to perform
an independent sample t test on SEX and AGEKDBRN. Answer the following
questions:

Group Statistics
RESPONDENTS SEX
RESPONDENT'S AGE

FEMALE

WHEN 1ST CHILD BORN

MALE

Mean

Std. Deviation

Std. Error Mean

1182

22.79

4.956

.144

844

25.78

5.686

.196

Mean age for men


25.78

Mean age for women


22.79

Independent Samples Test


Levene's Test
for Equality of
Variances

RESPONDENT'S
AGE WHEN 1ST
CHILD BORN

Equal
variances
assumed
Equal
variances
not assumed

t-test for Equality of Means

Sig.

12.445

.000

-12.563

df

Sig. (2tailed)

Mean
Difference

Std. Error
Difference

95% Confidence
Interval of the
Difference
Lower
Upper

2024

.000

-2.985

.238

-3.451

-2.519

-12.280 1657.542

.000

-2.985

.243

-3.462

-2.508

T test of means significant level


.000

Is the relationship statistically significant?


Yes, significant because less than p>.05

On the basis of these data, would you say that gender is associated
with the age at which people have children?
Yes, gender is associated with the age at which people have children.
2. Test whether there is an association between a persons race and the age at
which they first have children. Use TT03 data set to perform an ANOVA on
RACE and AGEKDBRN. Answer the following questions:

Descriptives
RESPONDENT'S AGE WHEN 1ST CHILD BORN
95% Confidence Interval for
Mean
N

Mean

Std. Deviation Std. Error

Lower Bound

Upper Bound

Minimum

Maximum

WHITE

1608

24.34

5.329

.133

24.08

24.60

13

51

BLACK

287

21.98

5.588

.330

21.33

22.63

12

50

OTHER

131

24.82

5.977

.522

23.79

25.86

13

40

2026

24.03

5.473

.122

23.80

24.27

12

51

Total

Mean age for Whites


24.34

Mean age for African Americans


21.98

Mean age for other races


24.82

Test of Homogeneity of Variances


RESPONDENT'S AGE WHEN 1ST CHILD BORN
Levene Statistic

df1

df2

2.992

Sig.

2023

.050

ANOVA
RESPONDENT'S AGE WHEN 1ST CHILD BORN
Sum of Squares
Between Groups

df

Mean Square

1441.434

720.717

Within Groups

59214.147

2023

29.270

Total

60655.581

2025

F
24.623

Sig.
.000

ANOVA significant level


.000

Is the relationship statistically significant?


Yes, significant because less than p>.05

Multiple Comparisons
Dependent Variable: RESPONDENT'S AGE WHEN 1ST CHILD BORN
Tukey HSD
95% Confidence Interval
(I) RACE OF

(J) RACE OF

RESPONDENT

RESPONDENT

WHITE

BLACK

2.358*

.347

.000

1.54

3.17

OTHER

-.487

.492

.582

-1.64

.67

WHITE

-2.358

.347

.000

-3.17

-1.54

OTHER

-2.845*

.570

.000

-4.18

-1.51

WHITE

.487

.492

.582

-.67

1.64

BLACK

.570

.000

1.51

4.18

BLACK

OTHER

Mean Difference

Std.

(I-J)

Error

2.845

Lower
Sig.

Bound

Upper Bound

*. The mean difference is significant at the 0.05 level.

Perform Post Hoc analysis (Tukey), determine which categories have


means that are significantly different from the means of Whites?
Other races is different from the means of Whites -.487.

You might also like