Biostatistics with R
- Solve the following by evaluating the test statistic and pvalue. Suppose that the population mean of systolic blood pressurein the US is 115. We hypothesize mean systolic blood pressure islower than 115 among people who consume a small amount (e.g.,around 3.5 ounces) of dark chocolate every day. Assume thatsystolic blood pressure, X, in this population has a Normaldistribution. To evaluate our hypothesis, we randomly selected 100people, who include a small amount of dark chocolate in their dailydiet, and measured their blood pressure. If the sample mean is x¯ =111 and the sample variance is s = 32, can we reject the nullhypothesis at 0.1 confidence level?
- Solve the following using the Confidence Interval HypothesisTest approah and t.test() Approach. Use the Pima.tr data set toevaluate the hypothesis that the population mean of diastolic bloodpressure for Pima Indian women is not 70.
library(MASS)
data("Pima.tr")
#str(Pima.tr)
?Pima.tr