Professional Documents
Culture Documents
• p-value approach: Another approach and now a days the most common
approach is to report the extent to which the statistic disagrees with the null
hypothesis and compare it with the value of α for the decision whether to
reject the null hypothesis. This measure of disagreement is called the p-value.
Steps for Calculating the p-value
• Choose the maximum level of a you are willing to tolerate.
• Determine the value of the test statistic Z from the sample data. Look up the
Z-statistic and find the corresponding probability:
– One-tailed test - the p-value= tail area beyond Z in the same direction as
the alternative hypothesis.
– Two-tailed test - the p-value= 2 times the tail area beyond the Z value in
the direction of the sign of Z.
• Reject the null hypothesis (Significant), if the observed p-value is less than
a.
Example: Mean APTT among DVT patients
• A researcher assumes that activated partial thromboplastin
time (APTT) of population of patients diagnosed with deep
vein thrombosis (DVT) is approximately normally distributed
with standard deviation of 7 seconds. A random sample of 30
hospitalized patients suffering from DVT had a mean APTT of
50 seconds. Use a 5 percent level of significance.
– Does the data provide sufficient evidence to conclude that
mean APTT for DVT patients is different from 53 seconds?
• Let = Mean APTT of all hospitalized DVT patients.
(True/Actual)
Example: Mean APTT among DVT patients (Contd.)
Hypothesis Description
1. Ho : = 53 seconds The mean APTT of DVT patients is equal to 53
seconds.
Ha : ≠ 53 seconds The mean APTT of DVT patients is different from
53 seconds.
2. α = 0.05
3. Test Statistic:
n 30; x 50
0 53; 7
50 53 3
Z 2.35
7 1.28
30
Calculation of p-value?
Example: Mean APTT among DVT patients (Contd.)
How unlikely is the value of 50 seconds (sample mean)?
We need to calculate the chance of observing this or more extreme sample
mean (p-value).
Calculation of p-value:
- The value of test statistic is Z = -2.35
- Ignoring the sign, area between Z=0 & Z = 2.35 is 0.4906
- Area beyond Z=2.35 will be 0.5 - 0.4906 = 0.0094
- For two tailed hypothesis:
Area will be 2 x 0.0094 = 0.0188 (p-value).
Conclusion:
The p-value (0.0188) is less than α (0.05), so, we are rejecting our null
hypothesis. i.e. The mean APTT of DVT patients is different from 53
seconds.
Example: Frequent users of Narcotics (p-value)
Frequent users of narcotics have a mean anger expression score
higher than for nonusers of narcotics (40).
Hypothesis Description
1. Ho : ≤ 40 The mean anger expression score is lower than &
4. P-value:
- Test statistic value is 3.2
- Ignoring the sign, area between Z=0 & Z=3.2 is
0.4993
- The p-value will be the area beyond Z=3.2 and is
equal to 0.5 - 0.4993 = 0.0007
5. Conclusion:
Reject H0 (significant), i.e. The mean anger expression score
is higher than for nonusers of narcotics (40).
Graphical Presentation of p-value
Example: Frequent users of Narcotics (p-value) (contd.)
• Frequent users of narcotics have a mean anger expression
score higher than for nonusers of narcotics (40).
Hypothesis Description
1. Ho : ≤ 40 The mean anger expression score is lower
than & equal to for nonusers of narcotics (40).
Ha : > 40 The mean anger expression score is higher
than for nonusers of narcotics (40).
2. α = 0.05
4. P-value:
- Test statistic value is 1.3
- Ignoring the sign, area between Z=0 & Z=1.3 is
0.4032
- The p-value will be the area above Z=1.3 and is
equal to 0.5 - .4032 = 0.0968
5. Conclusion:
Fail to reject the H0 (non-significant), i.e. The mean anger
expression score is lower than and equal to for nonusers
of narcotics (40).
Errors Involved in Hypothesis Testing
Hypothesis Description
1. Ho : = 53 seconds The mean APTT of DVT patients is
equal to 53 seconds.
• Pr (Type II Error) or :