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.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%

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 (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.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 9 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman