Use the following data to test if there is a difference in mean age between mothers of a boy and mothers of a girl at alpha =0.05. provide p-value
MomAge | gestation | sex | weight | preemie |
35 | 39 | F | 3175 | FALSE |
22 | 42 | F | 3884 | FALSE |
35 | 39 | F | 3030 | FALSE |
23 | 40 | F | 3629 | FALSE |
23 | 42 | F | 3481 | FALSE |
25 | 38 | F | 2693 | FALSE |
25 | 40 | F | 3345 | FALSE |
24 | 40 | F | 3232 | FALSE |
19 | 40 | F | 2795 | FALSE |
20 | 40 | F | 3062 | FALSE |
18 | 40 | F | 3285 | FALSE |
28 | 38 | F | 3374 | FALSE |
19 | 40 | F | 3358 | FALSE |
24 | 40 | F | 2935 | FALSE |
28 | 43 | F | 4309 | FALSE |
34 | 41 | F | 3289 | FALSE |
30 | 37 | F | 2608 | FALSE |
27 | 39 | F | 3515 | FALSE |
29 | 40 | F | 3515 | FALSE |
40 | 39 | F | 3693 | FALSE |
20 | 40 | F | 3941 | FALSE |
29 | 39 | F | 3997 | FALSE |
22 | 38 | F | 2822 | FALSE |
32 | 39 | F | 2920 | FALSE |
22 | 40 | F | 2920 | FALSE |
24 | 41 | F | 3515 | FALSE |
26 | 38 | F | 3515 | FALSE |
17 | 37 | F | 3005 | FALSE |
21 | 40 | F | 2920 | FALSE |
22 | 41 | F | 3490 | FALSE |
22 | 39 | F | 3459 | FALSE |
31 | 40 | F | 3827 | FALSE |
15 | 44 | F | 3459 | FALSE |
18 | 39 | F | 3345 | FALSE |
27 | 39 | F | 3005 | FALSE |
22 | 41 | F | 2830 | FALSE |
20 | 40 | F | 3374 | FALSE |
31 | 40 | F | 3317 | FALSE |
23 | 39 | F | 2880 | FALSE |
21 | 40 | F | 3572 | FALSE |
36 | 39 | F | 3610 | FALSE |
15 | 38 | F | 2892 | FALSE |
37 | 40 | F | 3799 | FALSE |
28 | 44 | F | 4337 | FALSE |
19 | 41 | F | 3458 | FALSE |
22 | 38 | F | 2948 | FALSE |
24 | 40 | F | 3571 | FALSE |
30 | 40 | F | 3062 | FALSE |
27 | 39 | F | 3090 | FALSE |
19 | 44 | F | 3840 | FALSE |
29 | 42 | F | 3665 | FALSE |
23 | 41 | F | 3544 | FALSE |
33 | 39 | F | 3090 | FALSE |
20 | 39 | F | 3175 | FALSE |
31 | 41 | F | 4054 | FALSE |
41 | 40 | F | 4000 | FALSE |
22 | 40 | F | 3440 | FALSE |
20 | 41 | F | 3742 | FALSE |
23 | 38 | F | 3119 | FALSE |
26 | 40 | F | 3657 | FALSE |
38 | 38 | F | 3005 | FALSE |
27 | 40 | F | 3155 | FALSE |
30 | 37 | F | 3345 | FALSE |
36 | 38 | F | 2934 | FALSE |
27 | 42 | F | 3515 | FALSE |
27 | 39 | F | 3402 | FALSE |
24 | 40 | F | 3772 | FALSE |
32 | 42 | F | 3829 | FALSE |
24 | 40 | F | 3230 | FALSE |
23 | 39 | F | 3135 | FALSE |
27 | 40 | F | 3260 | FALSE |
21 | 41 | F | 3448 | FALSE |
14 | 38 | F | 2977 | FALSE |
29 | 39 | F | 3288 | FALSE |
19 | 39 | F | 3391 | FALSE |
29 | 39 | F | 2807 | FALSE |
32 | 39 | F | 3062 | FALSE |
33 | 39 | F | 3850 | FALSE |
34 | 39 | F | 3081 | FALSE |
28 | 39 | F | 4825 | FALSE |
26 | 40 | F | 3742 | FALSE |
24 | 45 | F | 3200 | FALSE |
22 | 43 | F | 3317 | FALSE |
33 | 40 | F | 3600 | FALSE |
25 | 40 | F | 2858 | FALSE |
19 | 36 | F | 2948 | TRUE |
20 | 36 | F | 2459 | TRUE |
16 | 23 | F | 1049 | TRUE |
18 | 33 | F | 2560 | TRUE |
33 | 27 | F | 907 | TRUE |
15 | 36 | F | 2552 | TRUE |
25 | 36 | F | 2920 | TRUE |
29 | 36 | F | 2381 | TRUE |
32 | 35 | F | 3175 | TRUE |
17 | 34 | F | 3131 | TRUE |
24 | 35 | F | 2665 | TRUE |
20 | 36 | F | 3487 | TRUE |
26 | 39 | M | 3374 | FALSE |
32 | 38 | M | 4338 | FALSE |
22 | 40 | M | 2948 | FALSE |
20 | 41 | M | 3402 | FALSE |
30 | 37 | M | 3175 | FALSE |
20 | 39 | M | 2675 | FALSE |
25 | 38 | M | 3805 | FALSE |
18 | 41 | M | 3333 | FALSE |
19 | 37 | M | 3232 | FALSE |
28 | 39 | M | 3856 | FALSE |
30 | 39 | M | 3629 | FALSE |
33 | 37 | M | 2892 | FALSE |
27 | 39 | M | 3137 | FALSE |
21 | 40 | M | 4253 | FALSE |
41 | 38 | M | 2182 | FALSE |
18 | 39 | M | 3657 | FALSE |
37 | 39 | M | 4140 | FALSE |
20 | 40 | M | 2977 | FALSE |
26 | 38 | M | 2920 | FALSE |
17 | 41 | M | 3572 | FALSE |
20 | 39 | M | 3374 | FALSE |
29 | 47 | M | 3345 | FALSE |
24 | 39 | M | 4196 | FALSE |
20 | 42 | M | 3402 | FALSE |
19 | 38 | M | 3220 | FALSE |
16 | 39 | M | 1985 | FALSE |
36 | 40 | M | 3742 | FALSE |
30 | 39 | M | 3600 | FALSE |
30 | 40 | M | 3570 | FALSE |
20 | 43 | M | 2765 | FALSE |
21 | 40 | M | 3714 | FALSE |
21 | 38 | M | 2892 | FALSE |
21 | 42 | M | 2865 | FALSE |
31 | 40 | M | 4366 | FALSE |
19 | 38 | M | 3119 | FALSE |
24 | 40 | M | 3118 | FALSE |
22 | 38 | M | 3770 | FALSE |
20 | 40 | M | 3629 | FALSE |
24 | 37 | M | 2669 | FALSE |
20 | 40 | M | 3714 | FALSE |
24 | 40 | M | 3147 | FALSE |
36 | 38 | M | 3600 | FALSE |
37 | 39 | M | 4110 | FALSE |
42 | 40 | M | 4224 | FALSE |
34 | 40 | M | 4309 | FALSE |
33 | 38 | M | 3459 | FALSE |
23 | 38 | M | 3714 | FALSE |
21 | 39 | M | 2580 | FALSE |
22 | 39 | M | 2785 | FALSE |
38 | 37 | M | 3033 | FALSE |
26 | 40 | M | 3373 | FALSE |
22 | 37 | M | 2977 | FALSE |
23 | 42 | M | 3232 | FALSE |
31 | 39 | M | 3402 | FALSE |
27 | 39 | M | 3487 | FALSE |
35 | 40 | M | 4593 | FALSE |
30 | 42 | M | 2466 | FALSE |
29 | 39 | M | 3686 | FALSE |
31 | 41 | M | 3289 | FALSE |
27 | 38 | M | 3685 | FALSE |
30 | 39 | M | 3968 | FALSE |
33 | 39 | M | 3480 | FALSE |
35 | 40 | M | 3544 | FALSE |
39 | 39 | M | 3572 | FALSE |
25 | 41 | M | 3686 | FALSE |
21 | 40 | M | 4253 | FALSE |
37 | 37 | M | 2410 | FALSE |
36 | 38 | M | 3629 | FALSE |
37 | 39 | M | 3714 | FALSE |
26 | 40 | M | 3204 | FALSE |
25 | 38 | M | 3459 | FALSE |
31 | 39 | M | 3480 | FALSE |
23 | 38 | M | 3203 | FALSE |
24 | 38 | M | 3090 | FALSE |
23 | 43 | M | 2835 | FALSE |
20 | 38 | M | 2807 | FALSE |
26 | 40 | M | 3204 | FALSE |
18 | 42 | M | 3629 | FALSE |
37 | 41 | M | 4224 | FALSE |
19 | 39 | M | 3600 | FALSE |
26 | 41 | M | 2730 | FALSE |
36 | 38 | M | 3175 | FALSE |
33 | 39 | M | 3459 | FALSE |
21 | 40 | M | 3945 | FALSE |
36 | 40 | M | 4082 | FALSE |
27 | 39 | M | 3317 | FALSE |
34 | 40 | M | 2530 | FALSE |
36 | 37 | M | 3204 | FALSE |
23 | 39 | M | 3572 | FALSE |
41 | 36 | M | 2834 | TRUE |
32 | 33 | M | 1729 | TRUE |
29 | 36 | M | 4330 | TRUE |
23 | 33 | M | 1671 | TRUE |
33 | 35 | M | 2126 | TRUE |
28 | 35 | M | 2665 | TRUE |
40 | 36 | M | 2268 | TRUE |
21 | 36 | M | 3345 | TRUE |
25 | 34 | M | 2778 | TRUE |
34 | 33 | M | 2608 | TRUE |
35 | 36 | M | 2750 | TRUE |
27 | 33 | M | 2807 | TRUE |
40 | 36 | M | 2693 | TRUE |
34 | 36 | M | 2552 | TRUE |
The null and alternative hypothesis:
H0: There is no significant difference in mean age between mothers of a boy and mothers of a girl.
H1: There is significant difference in mean age between mothers of a boy and mothers of a girl.
The value of test statistic is: t = 2.4011
The p-value = 0.0173
Conclusion: The p-value of the t test is less than 0.05. Hence we reject null hypothesis at 5% level of significance and conclude that there is significant difference in mean age between mothers of a boy and mothers of a girl.
Get Answers For Free
Most questions answered within 1 hours.