1.6 Hypothesis Testing Flashcards
Hypothesis testing
used to determine whether a sample statistic is likely from a population with the hypothesized value of the population parameter
aims to provide an insight to this question by examining how a sample statistic describes a population parameter
Hypothesis testing
used to determine whether a sample statistic is likely from a population with the hypothesized value of the population parameter
aims to provide an insight to this question by examining how a sample statistic describes a population parameter
hypothesis
a statement about one or more populations tested using sample statistics
The steps in the hypothesis testing process
- State the hypotheses.
- Identify the appropriate test statistic.
- Specify the level of significance.
- State the decision rule.
- Collect data and calculate the test statistic.
- Make a decision.
The two hypotheses always stated:
Null hypothesis: H0
Alternative hypothesis: Ha
Null hypothesis: H0
This is assumed true until the test proves otherwise.
Alternative hypothesis: Ha
This is only accepted if there is sufficient evidence to reject the null hypothesis
a two-sided hypothesis test
two-tailed
ex:
H0: μ = 10%
Ha: μ ≠ 10%
This is a two-sided hypothesis test because the null hypothesis will be rejected if the sample mean return is significantly different from 10%.
–> It could be a lot greater than or less than 10%, so it is a two-tailed test
a one-sided hypothesis test
one-tailed
ex:
H0: μ ≤ 10%
Ha: μ > 10%
This is a one-sided hypothesis test because the null hypothesis will be rejected only if the sample mean return is significantly greater than 10%
It does not matter if the sample mean is a lot smaller than 10%
The analyst is only interested in whether the population mean is greater than 10% (instead of being different from 10%).
–> Therefore, it is a one-tailed test
the two important rules in forming the hypotheses:
- The null and alternative hypotheses should be mutually exclusive (i.e., do not overlap) and collectively exhaustive (i.e., cover all possibilities)
- The null hypothesis includes the point of equality (i.e., H0 always contains an equal sign).
The choice of null and alternative hypotheses should be based on what?
should be based on the hoped-for condition.
For example:
if an analyst is attempting to show that the mean annual return of a stock index has exceeded 10%, the null hypothesis (H0) should be that the mean return is less than or equal to 10%.
The alternative hypothesis (Ha) should only be accepted if statistical tests provide sufficient evidence that the mean return is not less than or equal to 10%
The test statistic
the quantity calculated from the sample used to evaluate the hypothesis
can be calculated as follows:
z = (X¯ − μ0) / (σ/√nz)
X¯: Sample mean
μ0: Hypothesized mean
σ: Population standard deviation
n: Sample size
The null hypothesis can be rejected or not rejected after the test statistic has been calculated.
The decision is based on what?
based on a comparison that assumes a specific significance level, which establishes how much evidence is required to reject the null hypothesis
the four possible outcomes when we see whether a null hypothesis is to be rejected or not
Decision: Do not reject H0
–> H0 is True: Correct Decision
–> H0 is False: Type II Error (False negative)
Decision: reject H0
–> H0 is True: Type I Error (False positive)
–> H0 is False: Correct decision
A Type I error
occurs if a true null hypothesis is mistakenly rejected