Professional Documents
Culture Documents
Quantitative Chapter7
Quantitative Chapter7
Quantitative Chapter7
HYPOTHESIS TESTING
The process of making judgments about a large group (population) on the
basis of a small subset of that group (sample) is known as statistical inference.
2
1. STATE THE HYPOTHESIS
The foundation of hypothesis testing lies in determining exactly what we
are to test.
3
1. STATE THE HYPOTHESIS
The hypothesis is designed to assess the likelihood of a sample statistic
accurately representing the population statistic it attempts to measure.
Hypothesis tests are formulated in such a way that they lead to either one-
tailed tests or two-tailed tests.
One-tailed tests are comparisons based on a single side of the distribution,
whereas two-tailed tests admit the possibility of the true population parameter
lying in either tail of the distribution.
1. H0: = 0 versus Ha: 0 (a two-tailed test)
2. H0: 0 versus Ha: > 0 (a one-tailed test for the upper tail)
3. H0: 0 versus Ha: < 0 (a one-tailed test for the lower tail)
4
1. STATE THE HYPOTHESIS
Focus On: Choosing the Null and Alternative Hypotheses
5
2. IDENTIFYING THE APPROPRIATE TEST STATISTIC
AND ITS PROBABILITY DISTRIBUTION
Sample statistic Population parameter under 0
Test statistic =
Standard error of the sample statistic
0 0
TS = or TS =
s
where where
= or s = s
6
2. IDENTIFYING THE APPROPRIATE TEST STATISTIC
AND ITS PROBABILITY DISTRIBUTION
Sample statistic Population parameter under 0
Test statistic =
Standard error of the sample statistic
7
ERRORS IN HYPOTHESIS TESTS
Type I errors occur when we reject a null hypothesis that is actually true.
Type II errors occur when we do not reject a null hypothesis that is false.
True Situation
Decision H0: True H0: False
DNR Correct decision Type II error
Reject Type I error Correct decision*
8
3. SPECIFYING THE SIGNIFICANCE LEVEL
The level of significance is the desired standard of proof against which we
measure the evidence contained in the test statistic.
The level of significance is identical to the level of a Type I error and,
like the level of a Type I error, is often referred to as alpha, or a.
How much sample evidence do we require to reject the null?
- Statistical burden of proof.
The level of confidence in the statistical results is directly related to the
significance level of the test and, thus, to the probability of a Type I
error.
Significance Level Suggested Description
0.10 some evidence
0.05 strong evidence
0.01 very strong evidence
9
THE TRADE-OFF IN HYPOTHESIS TESTING
Because the significance level and the Type I error rate are the
same, and Type I and Type II rates are mutually exclusive, there is a
trade-off in setting the significance level.
- If we decrease the probability of a Type I error by specifying a smaller
significance level, we increase the probability of a Type II error.
- The only way to decrease the probability of both errors at the same
time is to increase the sample size because such an increase
reduces the denominator of our test statistic.
Decreased Type I
but
Increased Type II
10
POWER OF THE TEST
The power of the test is the rate at which we correctly reject a false
null hypothesis.
When more than one test statistic is available, use the one
with the highest power for the specified level of
significance.
The power of a given test statistic also generally increases
with an increase in sample size.
11
4. STATING THE DECISION RULE
The decision rule uses the significance level and the probability distribution of
the test statistic to determine the value above (below) which the null
hypothesis is rejected.
The critical value (CV) of the test statistic is the value above (below)
which the null hypothesis is rejected.
- Also known as a rejection point.
- One-tailed tests are indicated with a subscript a.
- Two-tailed tests are indicated with a subscript a /2.
CV
CV
12
CONFIDENCE INTERVAL OR HYPOTHESIS TEST?
Two-tailed hypothesis tests can easily be rewritten as confidence intervals.
Recall that a two-tailed hypothesis test rejects the null when the observed value of
the test statistic is either below the lower critical value or above the upper.
- The lower critical value can be restated as the lower limit on a confidence
interval.
- The upper critical value can be restated as the upper limit on a confidence
interval.
[ , ]
2 2
- When the hypothesized population parameter lies within this confidence interval,
we fail to reject the null hypothesis.
- Although this relationship is useful, it precludes easy calculation of the
significance level of the test, known as a p-value, from the values of the standard
error and point estimate.
13
THE EMPIRICAL CONCLUSION
The next two steps in the process follow from the first four.
14
7. MAKE THE ECONOMIC DECISION
Quantitative analysis is used to guide decision making in a scientific
manner; hence, the end of the process lies in making a decision.
The economic or investment decision should take into account not only the
statistical evidence, but also the economic value of acting on the statistical
conclusion.
- We may find strong statistical evidence of a difference but only weak
economic benefit to acting.
- Because the statistical process often focuses only on one attribute of the
data, other attributes may affect the economic value of acting on our
statistical evidence.
- For example, a statistically significant difference in mean return for two
alternative investment strategies may not lead to economic gain if the
higher-returning strategy has much higher transaction costs.
The economic forces leading to the statistical outcome should be well
understood before investing.
15
THE p-VALUE APPROACH
The p-value is the smallest level of significance at which a given null
hypothesis can be rejected.
16
TESTING A SINGLE MEAN
We almost never know the variance of the underlying population, and in
such cases, tests of a single mean are either t-tests or z-tests.
You have collected data on monthly equity returns and determined that the average
return across the 48-month period you are examining was 12.94% with a standard
deviation of returns of 15.21%. You want to test whether this average return is equal
to the 15% return that your retirement models use as an underlying assumption. You
want to be 95% confident of your results.
1. Formulate hypothesis H0: = 15% versus Ha: 15% (a two-tailed test).
2. Identify appropriate test statistic t-test for an unknown
0
population variance. 1 =
3. Specify the significance level 0.05 as stated in the setup
leading to a critical value of 2.01174.
4. Collect data (see above) and calculate test statistic
5. Make the statistical decision DNR the null hypothesis.
6. Statistically 12.94% is not statistically different from 15% for this sample.
Economically 12.94% is likely to affect the forecast outcomes of retirement
planning.
18
DIFFERENCE IN MEANS OR MEAN DIFFERENCES?
The critical distinction between testing for a difference in means and testing for
a mean difference parameter value lies with sample independence.
19
TESTING FOR A DIFFERENCE IN MEANS
Independent Samples 1 2 (1 2 )
=
1. Normally distributed, equal but 2 2
unknown variances 1 + 2 df = 1 + 2 2
Uses a pooled variance
estimator, sp2, which is a
weighted average of the
sample variances.
You have decided to investigate whether the return to your clients retirement
portfolio will be enhanced by the addition of foreign equities. Accordingly, you
first want to test whether foreign equities have the same return as domestic
equities before proceeding with further analysis. Recall that U.S. equities
returned 12.94% with a standard deviation of 15.21% over the prior 48 months.
You have determined that foreign equities returned 17.67% with a standard
deviation of 16.08% over the same period. You want the same level of
confidence in this result (5%).
You are willing to assume, for now, that the two samples are independent,
approximately normally distributed, and drawn from a population with the same
underlying variance.
21
TESTING FOR A DIFFERENCE IN MEANS
22
TESTING FOR A MEAN DIFFERENCE
Dependent samples by definition
- Use paired observations and test the mean difference across pairs.
- They are normally distributed with unknown variances.
- Steps:
1. Calculate the difference for each pair of observations.
2. Calculate the standard deviation of differences.
23
TESTING FOR A MEAN DIFFERENCE
Dividend Not
Focus On: Calculations Month Payers Payers Difference
You are interested in 1 0.2340 0.2203 0.0137
determining whether a portfolio
of dividend-paying stocks that 2 0.4270 0.1754 0.2516
you hold has performed the 3 0.1609 0.1599 0.0010
same as a portfolio of non- 4 0.1827 0.4676 0.2849
dividend-paying stocks over the
last 12 months. The portfolios 5 0.3604 0.1504 0.2100
are composed of a dividend 6 0.4039 0.3398 0.0641
paying/non-dividend-paying 7 0.3594 0.1332 0.2262
pair in each industry you hold.
The returns on the portfolios 8 0.1281 0.0582 0.0699
and the difference in returns is: 9 0.0426 0.1488 0.1914
10 0.0653 0.0035 0.0688
11 0.0867 0.1227 0.2094
12 0.0878 0.1781 0.0903
24
TESTING FOR A MEAN DIFFERENCE
Dividend Not
Focus On: Calculations Payers Payers Difference
Average 0.1900 0.1792 0.0108
1. Stating the hypotheses Std Dev 0.1714 0.1229 0.1760
H0: mPayers mNoPay = 0 versus Ha: mPayers mNoPay 0
2. Identifying the appropriate test statistic and its probability distribution
t-test with 12 1 = 11 degrees of freedom 0
3. Specifying the significance level =
CV = 2.201
4. Stating the decision rule
Reject the null if |TS| > 2.201
5. Collecting the data and calculating the
test statistic
6. Making the statistical decision FTR
25
TESTING A SINGLE VARIANCE
Tests of a single variance 1 2
2
=
- Normally distributed population 20
- Chi-square test with df = n 1
- Very sensitive to underlying assumptions
Is the variance of domestic equity returns from our previous
example, 15.21%, statistically different from 10%?
- Test statistic
26
TESTING FOR EQUALITY OF VARIANCE
27
TESTING FOR EQUALITY OF VARIANCE
Focus On: Calculations
28
TESTING FOR EQUALITY OF VARIANCE
29
NONPARAMETRIC STATISTICS
Tests are said to be parametric when they are concerned with parameters
and their validity depends on a definite set of assumptions.
This definition is particularly true when one of the assumptions deals with the
underlying distributional characteristics of the test statistic.
Nonparametric tests, in contrast, are either not concerned with the value of a
specific parameter, or make minimal assumptions about the population from
which the sample is drawn.
- In particular, no, or few, assumptions are made about the distribution of the
population.
Nonparametric tests are useful when:
1. The data do not meet necessary distributional assumptions.
2. The data are given in ranks.
3. The hypothesis does not address the value of the parameter or
parameters.
30
TESTING FOR NONZERO CORRELATION
The Spearman rank correlation test can be used to assess the strength of a
linear relationship between two variables.
31
SUMMARY
Hypothesis testing allows us to formulate beliefs about investment attributes
and subject those beliefs to rigorous testing following the scientific method.
- For parametric hypothesis testing, we formulate our beliefs (hypotheses),
collect data, and calculate a value of the investment attribute in which we are
interested (the test statistic) for that set of data (the sample), and then we
compare that with a value determined under assumptions that describe the
underlying population (the critical value). We can then assess the likelihood
that our beliefs are true given the relationship between the test statistic and
the critical value.
- Commonly tested beliefs associated with the expected return and variance of
returns for a given investment or investments can be formulated in this way.
32