Synopsis
This is part of the project for the Statistical Inference class in the Johns Hopkins Data Science Specialization by Coursera.
This report analyzes the ToothGrowth data in the R datasets package. The goals of this analysis are:
Perform some basic exploratory data analyses and provide a basic summary of the data.
Compare tooth growth by supp and dose Using confidence intervals and/or hypothesis tests.
State conclusions about the data and the assumptions needed for it.
P-values are almost all less than 0.05. The confidence intervals do not contain zero for most of the comparisons. So the null hypothesis can be denied.
This indicates that the difference in mean values between the supplements is significant for the comparisons performed. It is observed two exceptions for
the comparison of orange juice and vitamin C with the dose = 2 mg and for the comparison of orange juice and vitamin C with the dose = 1 mg to 2 mg.
P-values decrease when the dose increase for the same supplement (OJ.0.5~OJ.1 and OJ.0.5~OJ.2, for example). This indicates that increasing the
dosages gets a positive impact on teeth growth.
Conclusions
The mainly conclusions are:
Both Vitamin C and Orange juice have effect on tooth growth.
Increasing the supplement dose level leads to increased tooth growth.