Inferential Statistics (Leaving Cert Mathematics): Revision Notes
P-Values
Overview
A p-value is a statistical measure used in hypothesis testing to determine the strength of evidence against the null hypothesis. It represents the probability of obtaining a test statistic at least as extreme as the one observed, assuming the null hypothesis is true.
Key Concepts
Null Hypothesis ():
A statement that there is no effect or no difference. For example, : The mean of the population is equal to 50.
Alternative Hypothesis ():
A statement that contradicts the null hypothesis. For example, : The mean of the population is not equal to 50.
P-Value Interpretation:
- Small p-value (): Strong evidence against , leading to its rejection in favour of
- Large p-value (): Weak evidence against , so it is not rejected.
- Common significance levels () are 0.05 or 0.01
Calculation:
The p-value depends on the statistical test used (e.g., z-test, t-test) and is typically computed using software or statistical tables.
Hypothesis Testing Procedure
- Formulate Hypotheses:
- Define and
- Select Test and Significance Level ():
- Choose an appropriate test (e.g., z-test, t-test) and significance level ()
- Calculate Test Statistic:
- Compute the value of the test statistic based on sample data.
- Find P-Value:
- Use statistical software, tables, or calculators to determine the p-value.
- Make a Decision:
- Compare the p-value with and decide to reject or fail to reject
Worked Examples
Example 1: Testing a Population Mean
Problem: A factory claims the mean weight of its products is 50 kg. A sample of 30 products has a mean weight of 49.5 kg and a standard deviation of 1.2 kg.
Test the claim at α = 0.05
Solution:
Step 1: Set Hypotheses:
Step 2: Calculate Test Statistic:
Step 3: Find P-Value:
Using a z-table or calculator:
Step 4: Compare with :
Step 5: Conclusion:
Reject .
There is strong evidence the mean weight is not 50 kg
Example 2: Interpreting a P-Value
Problem: A p-value of 0.08 is obtained in a hypothesis test with α = 0.05.
What is the conclusion?
Solution:
Fail to reject .
There is insufficient evidence to support
Summary
- P-value measures the probability of observing data as extreme as the sample, assuming is true.
- Interpretation:
- : Reject
- : Fail to reject
- Steps:
- Formulate and
- Choose a test and
- Compute the test statistic and p-value.
- Make a decision based on and
- P-values are central to hypothesis testing in inferential statistics.