Question: R markdown/stat For this problem, we will return to the birthwt dataset. We are interested in determining whether or not the birth weight of children
R markdown/stat
For this problem, we will return to the birthwt dataset. We are interested in determining whether or not the birth weight of children born to mothers who smoke is different from the birth weight of children born to mothers who do not smoke. Assume that the population standard deviations are different and unknown. Recall that in the dataset, the bwt column contains the babys weight and smoke is a categorical variable which equals 1 if the mother smokes and 0 if they do not. 1. Write down the null and alternative hypotheses. Be sure to define any parameters you use. 2. What is sample mean birth weight for children born to smokers? What is it for children born to non-smokers? 3. What is the the sample standard deviation birth weight for children born to smokers? What is it for children born to non-smokers? 4. What is the value of the test statistic you will use to check the null hypothesis? 5. What is the p-value of the test statistic? 6. Construct a 99% confidence interval for the difference in mean birth weight. Does this interval contain 0? 7. What is your statistical decision? Use = .01. 8. What is your real-world decision?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
