1. Lactation promotes a temporary loss of bone mass to provide adequate amounts of calcium for milk reproduction. The paper ["Bone Mass is Recovered from Lactation to Postweaning in Adolescent in Adolescent Mothers with Low Calcium Intakes"](https://www.ncbi.nlm.nih.gov/pubmed/15531682) gave the following data on total body bone mineral content (TBBMC) (g) for a sample both during lactation (L) and in the postweaning period (P). ```{r} TBBMC <- read.table(header = T, text=" Subject Lactation Postweaning 1 1928 2126 2 2549 2885 3 2825 2895 4 1924 1942 5 1628 1750 6 2175 2184 7 2114 2164 8 2621 2626 9 1843 2006 10 2541 2627 ") TBBMC ``` i) Compute the differences in the TBBMC between "during lactation" and "postweaning period". Assign this new column into the same data set. ii) Compute summary statistics (mean and standard deviation) on this new column of differences. iii) Compute a 95\% confidence interval for the mean difference in TBBMC between "during lactation" and "postweaning period". iv) Based on the computed confidence interval, does the data suggest mean TBBMC is different between "during lactation" and "postweaning period". v) Compute the (incorrect) two-sample t-interval on the data. See Week 10 lesson on how to do this. Does the (incorrect) two-sample t-interval lead to the same conclusion that you obtained in part (iv)? Explain.
Can you help me answer this using R please?
1. Lactation promotes a temporary loss of bone mass to provide adequate amounts of calcium for milk reproduction. The paper ["Bone Mass is Recovered from Lactation to Postweaning in Adolescent in Adolescent Mothers with Low Calcium Intakes"](https://www.ncbi.nlm.nih.gov/pubmed/15531682) gave the following data on total body bone mineral content (TBBMC) (g) for a sample both during lactation (L) and in the postweaning period (P).
```{r}
TBBMC <- read.table(header = T, text="
Subject Lactation Postweaning
1 1928 2126
2 2549 2885
3 2825 2895
4 1924 1942
5 1628 1750
6 2175 2184
7 2114 2164
8 2621 2626
9 1843 2006
10 2541 2627
")
TBBMC
```
i) Compute the differences in the TBBMC between "during lactation" and "postweaning period". Assign this new column into the same data set.
ii) Compute summary statistics (
iii) Compute a 95\% confidence interval for the mean difference in TBBMC between "during lactation" and "postweaning period".
iv) Based on the computed confidence interval, does the data suggest mean TBBMC is different between "during lactation" and "postweaning period".
v) Compute the (incorrect) two-sample t-interval on the data. See Week 10 lesson on how to do this. Does the (incorrect) two-sample t-interval lead to the same conclusion that you obtained in part (iv)? Explain.

Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 9 images









