Statistical Methods Notes
1. Parametric Hypothesis Tests for a Mean
1.1 Learning Goals
Understanding the parametric hypothesis test for a mean.
Understanding the concept of effect size.
2. Hypothesis Testing Procedure
2.1 Stating Hypotheses
In context of testing the population mean , possible hypothesis statements include:
Null Hypothesis:
Alternative Hypotheses:
(two-tailed test)
H_A: heta < heta_0 (left-tailed test)
H_A: heta > heta_0 (right-tailed test)
2.2 Checking Conditions
Conditions that must be satisfied for valid results:
Independence: The observations must be independent.
Sample Size: The sample size should be large enough (n ≥ 30). This condition may be relaxed if the observations are drawn from a normally distributed population.
2.3 Computing Test Statistic and Finding the p-value
Test Statistic Formula: Where:
is the sample mean,
is the hypothesized population mean,
is the sample standard deviation,
is the sample size.
Finding p-value:
The p-value represents the area beyond the test statistic in the direction specified by the alternative hypothesis in a t-distribution with degrees of freedom.
The area in a t-distribution is computed using the function tcdf() in statistical software.
2.4 Evaluating Results
Criteria for interpreting the p-value:
p > 0.10: Little evidence against
0.05 < p \leq 0.10: Some evidence against
0.01 < p \leq 0.05: Strong evidence against
0.001 < p \leq 0.01: Very strong evidence against
: Extremely strong evidence against
3. Practical Example: Customer Payments
3.1 Research Context
Scenario: Adam, an accountant, is concerned about increasing days customers take to make payments.
Historical Mean: Previous evaluations indicate a mean outstanding time of approximately 50 days.
Current Sample: A random sample of 35 invoices reveals days, with a standard deviation of days.
3.2 Research Question
State the null and alternative hypotheses needed to address Adam's concern.
Null Hypothesis ():
Alternative Hypothesis (): heta > 50
3.3 Checking Conditions for the Hypothesis Test
a. Independence: Are the observations independent?
b. Normal Distribution Assumption: Can we assume the population is normally distributed? Does it matter in this situation?
3.4 Calculating the Test Statistic and p-value
Test Statistic Calculation:
p-value Calculation:
Using statistical software:
3.5 Evaluating the p-value
Result:
which indicates extremely strong evidence against the null hypothesis concerning the mean outstanding time.
4. Effect Size
4.1 Definition
Effect Size measures the magnitude of difference/relationship in a study.
For hypothesis testing concerning population means:
where is the population standard deviation.
4.2 Estimating Effect Size
As population trends are often unknown, we can estimate Cohen's d using sample statistics:
4.3 Example: From Adam's Test
Sample size: n = 35;
Sample mean: ;
Sample standard deviation: ;
Therefore, the estimated effect size is:
(Calculation details can be provided.)
4.4 Effect Size Interpretation Table
Effect Size Interpretation | |||
|---|---|---|---|
Small Effect Size | |||
0.2 < | ilde{d} | \leq 0.5 | Small-to-Moderate Effect Size |
0.5 < | ilde{d} | \leq 0.8 | Moderate-to-Large Effect Size |
ilde{d} | > 0.8 | Large Effect Size |
4.5 Effect Size Caution
Interpretation of effect size as 'small', 'moderate', or 'large' can be context-driven.
Example implications:
Reading score effect sizes vary significantly with context.
An effect size of may be negligible while indicates a substantial outcome.
5. Additional Examples
5.1 Example 1
Null Hypothesis:
Alternative Hypothesis: H_A: heta < 20
Sample: n = 50 with , . Compute and interpret the effect size.
5.2 Example 2
Null Hypothesis:
Alternative Hypothesis:
Sample: n = 10 with , . Compute and interpret the effect size.