Researchers would like to compare the mean cholesterol level for a sample of patients with primary hypertension and a sample of patients who are normotensive. To do this, a random sample of 133 patients with primary hypertension (PH) had their cholesterol measured and recorded. Similarly, a random sample of 41 normotensive (NT) patients had their cholesterol measured and recorded.
The null hypothesis to be tested is that the mean cholesterol level is the same for those with primary hypertension and those who are normotensive against an alternative of some difference in cholesterol levels existing for those with primary hypertension and those who are normotensive. The null hypothesis will be tested at the 0.05 level of significance.
Histograms for the two groups were created to compare the distribution of cholesterol levels for each group. Results 1 shows the histograms.
|
|
From the histograms created, one can see that the distributions are roughly symmetric and mound-shaped. Further, since samples are greater that 40, we will proceed under the assumption the cholesterol level for those with primary hypertension and those who are normotensive are approximately normally distributed.
The following assumptions for proceeding with t-test are met:
- the data are interval/ratio data
- the samples are independent, not paired and random
- the histograms show normally distributed data
- looking at the standard deviation in the summary statistics in Results 2, if we double the smaller standard deviation (29.655798 * 2 = 59.311596) and compare this result to the largest standard deviation 33.044834, the value is larger and this indicates the variance can be assumed to be equal and no modification in the t-test is needed.
Summary statistics:
|
Based on the assumptions for the t-test, we will proceed in analyzing the data using t-test with equal variance.
|
Hypothesis test results:
μ1 : mean of PH μ2 : mean of NT μ1 - μ2 : mean difference H0 : μ1 - μ2 = 0 HA : μ1 - μ2 ≠ 0 (with pooled variances)
|
At the 0.05 level of signifiance (t =3.9512641, p-value = 0.0001), there is statistically significant evidence to support the claim that patients with primary hypertension have a different mean cholesterol level than those patients who are normotensive.
Given the decision, to accept the alternative hypothesis, one can estimate how much higher the cholesterol level is for those with primary hypertension compared to normotensive patients by calculating a confidence interval. The results of our confidence level at 95% are presented in Results 4.
|
95% confidence interval results:
μ1 : mean of PH μ2 : mean of NT μ1 - μ2 : mean difference (with pooled variances)
|
With 95% confidence, we estimate that the mean cholesterol level for patients with primary hypertension is between 10.765512 and 32.25778 more than the mean cholesterol level for patients who are normotensive.
Thank you for bringing the problem to my attention. The reason it didn't populate right was due to my using the command
For some reason your results did not populate into the report which makes it hard to interpret them. I like the way you bulet-pointed the t test requirments.