Studies suggest that women who smoke during pregnancy affect the birth weights of their newborn infants. To study this issue further, a sample of 10 women smokers were asked to estimate the average number of cigarettes they smoke per day. In the following table are their estimates and the birth weight (in kgs) of their child. Average Number of Cigarettes per day Birth Weight of Child (in kilograms) 22 2.91 16 3.27 4 3.68 19 3.14 42 2.32 8 3.82 12 3.45 30 2.95 14 3.00 16 3.68 (b) Use R-Studio to find the least squares estimate of the linear model that expresses the birth weight of a child as a linear function of the average number of cigarettes mom consumes in a day. Use four decimals in each of your answers. Y^i = ? + - Xi (e) A expecting mother, who smokes, claims to smoke an average of 20 cigarettes in a day. Predict the weight of her newborn. Use two decimals in your answer. kilograms (f) The weight of the child born to the expecting mother mentioned in (e) was 4.2 kilograms. Find the residual, use two decimals. ei=
Studies suggest that women who smoke during pregnancy affect the birth weights of their newborn infants. To study this issue further, a sample of 10 women smokers were asked to estimate the average number of cigarettes they smoke per day. In the following table are their estimates and the birth weight (in kgs) of their child.
Average Number of Cigarettes per day | Birth Weight of Child (in kilograms) |
22 | 2.91 |
16 | 3.27 |
4 | 3.68 |
19 | 3.14 |
42 | 2.32 |
8 | 3.82 |
12 | 3.45 |
30 | 2.95 |
14 | 3.00 |
16 | 3.68 |
(b) Use R-Studio to find the least squares estimate of the linear model that expresses the birth weight of a child as a linear
Y^i = ? + - Xi
(e) A expecting mother, who smokes, claims to smoke an average of 20 cigarettes in a day. Predict the weight of her newborn. Use two decimals in your answer.
kilograms
(f) The weight of the child born to the expecting mother mentioned in (e) was 4.2 kilograms. Find the residual, use two decimals.
ei=
Step by step
Solved in 4 steps with 2 images