Presentation on theme: "9.4 t test and u test Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population."— Presentation transcript:
Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population mean in this region is 140.0 g/L?
Two possibilities: (1) The population is 140, the sample mean =136.0 is due to the sampling error (Null hypothesis) (2) The population is not 140 at all so that the sample mean =136.0 (Alternative hypothesis) Question: Which is the truth? -- problem of hypothesis test!
Basic logic: Basic logic: Under the null hypothesis How possible to occur the current situation and even more unfavorable situation to ? -- Calculate a probability ( -value) If it is less possible to occur the current situation and even more unfavorable situation to, then reject ; otherwise, not reject. -- Given a small, compare and ( is called the level of the test)
Example 9-15: The content (mg/L) of within a material was independently measured 15 times, resulting in: 20.99, 20.41, 20.62, 20.75, 20.10, 20.00, 20.80, 20.91, 22.60, 22.30, 20.99, 20.41, 20.50, 23.00, 22.60. Please check whether the true value was 20.7mg/L. 1. Comparing to a given population mean CaCo 3
When holds, the probability of the current situation (sample mean=21.13) and even more unfavorable situation (sample mean>21.13) to is greater than 0.05. The probability of the current situation and even more unfavorable situation to is called P value. Now P >, no reason to reject.
2. Comparison for Paired Data Example 9-13 (A paired design) 8 patients with hypertension were treated with a medicine and the DBP was measured before and after the treatment. Data list in the table 9-10.
P>0.05, the null hypothesis is not rejected at the significance level α=0.05.
a. What does P-value mean? P-value is the area of the tail(s) in the distribution of the test statistic beyond the value(s) of the test statistic calculated based on the sample. If the null hypothesis is rejected, the probability of mistake = P -- A smaller P-value implies the better quality of your rejection. If the null hypothesis is not rejected, the bigger P-value implies the better quality of your acceptation. 4. Attention for Hypothesis Test
b. What does the significance level α mean? αshows the quality of the inference. If you reject the null hypothesis, the probability of making mistake is limited by α
c. What is the situation that t-test could be applied? The variable follows a normal distribution; Sample size is small; The variances are equal.