Some of my friends usually complain to me that they can’t sleep well (i.e. easily, constantly wake up) during night, which really makes a bad effect on their daytime lives. Especially, if they need to take tests, do presentation, or attend interviews, the quality of sleeping will become more important. Their complaints drive my …show more content…
The Alternative Hypothesis (H1): People who take the Drug_2 sleep equal or more than taking the first soporific drug.
Descriptive Statistics
1. Histogram
A histogram is one typical visualization representation of the distribution of numerical data, which offers a good estimate of the probability distribution of a quantitative variable. If the bins are of equal size, a rectangle erected over the bin with height will be proportional to the frequency that indicates the number of cases in each bin. However, generally, the bins don't need to be same as each other.
In terms of two histograms below, we can clearly see that both the maximum and minimum extra sleeping hours after taking the Drug_2 is larger than the Drug_1’s. Moreover, the positive distribution of taking the Drug_2 is much more than the