Clip 6b Statistics
B1 Inferential Statistics
Goal of Inferential Statistics:
To make inferences about a population based on sample data.
Toolkit for Inferential Statistics:
A. Probabilities (Chapter 4)
B. Distributions (Chapters 5 and 6)
C. Estimation (Chapters 7 and 8)
D. Hypothesis Testing (Chapter 9)
Purpose of Hypothesis Testing
To test the validity of claims regarding a population parameter,
Examples of claims to test:
Is the population mean really 40?
What is the mean age of buyers of Crest toothpaste?
Is the population standard deviation 1?
Does the population proportion equal 0.45? (e.g., percentage of successful product introductions)
Do firms with female leaders have higher profit than firms with male leaders?
Is price elasticity lower than 0?
Hypothesis Testing: Step-By-Step Procedure
Collect Data from a Sample
Formulate the Null Hypothesis (H0) and the Alternative Hypothesis (H1)
Select the Test Statistic (Z, t, etc.)
Calculate the Test Statistic
**Determine: **
a) One-sided or two-sided testing
b) Level of significance (\alpha) (0.10, 0.05, or 0.01)
Compute the p-value
Decision:
If ( p \text{-value} < \alpha ): Reject H0; Accept H1
If ( p \text{-value} > \alpha ): Do not reject H0
Conclusion: Substantive statement regarding the population.
Formulating Hypotheses
Basic Hypothesis Testing Principles:
Start with the assumption that H0 is true.
Determine if there is enough statistical evidence to infer that H0 is not true.
Example of Hypothesis Testing
Scenario: Bottles of a certain soft drink manufacturer claim to contain 300 ml soda.
Collected Data: Sample of 6 bottles with a sample mean of 299.03 ml.
Hypotheses:
H0: (\mu = 300)
H1: (\mu < 300)
Question: What is the probability that we find a sample mean ( \bar{x} \leq 299.03 ) ml given that the population mean is 300 ml?
Selecting a Test Statistic
Types of Test Statistics Available:
Hypothesis on population mean with (\sigma) known: Z-test
Hypothesis on population mean with (\sigma) unknown: t-test
Hypothesis on population proportions uses Z-test (Standardized Normal Distribution).
Step 4: Calculating the Test Statistic
To calculate (p(\bar{x} < 299.03)), determine the z-value:
Compute: (p(z \leq \text{value})) = (p(z \leq value))
Result: (p(z \leq -0.7920) = ?) (This value is known as the p-value).
Step 5a: One-Sided vs Two-Sided Testing
Defined Concepts:
One-sided: Test whether (\mu > \mu0) or (\mu < \mu0)
Two-sided: Test whether (\mu \neq \mu_0)
Default Testing Type: Two-sided.
Adjustment Based on Need:
If reporting a one-sided p-value and you need two-sided, multiply by 2.
If reporting a two-sided p-value and you need one-sided, divide by 2.
Critical Values for Significance Level (\alpha = 0.05):
One-sided: (Z > 1.64)
Two-sided: (Z < -1.96) or (Z > 1.96)
Step 5b: Determining the Level of Significance (\alpha)
Most commonly used level: (\alpha = 0.05)
Other levels:
(\alpha = 0.10) called marginally significant.
For larger sample sizes, (\alpha = 0.01) may be appropriate.
In scientific articles, significance levels indicated as:
* = significant at 0.10-level
** = significant at the 0.05-level
*** = significant at the 0.01-level
Step 6: Computing the p-Value
Computation: (p(z \leq -0.7920) = ?)
Options for finding p-value:
Use Tables, specifically Appendix B, Table 1, Pages 602-603 (For (p(z < -0.79)), find 0.2148; one-sided).
Utilize online tools specifying left tail, right tail, or two-sided.
Step 7: Decision-Making
Determine likelihood of obtaining estimations assuming H0 is true.
Assess whether there is adequate evidence to conclude that H0 should be rejected.
Comparative Analysis: Compare p-value (calculated in Step 6) with significance level (\alpha) (from Step 5b).
If (p \text{-value} < \alpha): Reject H0; Accept H1.
If (p \text{-value} > \alpha): Do not reject H0.
Examples of Decision Outcomes
Example 1: If p-value leads to rejection of H0, conclude there is significant evidence against H0.
Example 2: If (p(z \leq -0.7920) = 0.2142), which is greater than (\alpha=0.05), then do not reject H0:
H0: (\mu = 300) should not be rejected.
Correct Decision Paths and Errors
Possible Outcoming Scenarios:
H0 true and not rejected: Correct conclusion.
H0 true but rejected: Type-I error.
H0 not true and rejected: Correct conclusion.
H0 not true but not rejected: Type-II error.
Power of a Statistical Test
Definition and implications of the statistical test power were alluded to but not specified in detail here.
Step 8: Conclusion
The substantive conclusion drawn:
There is insufficient evidence to dispute that the bottles from the soft drink manufacturer contain 300 ml soda.
Final assessment indicates it is reasonable to believe that they contain the stated amount, at least based on the sample data reviewed.
Thank you! Please explore the other knowledge clips for further learning.