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
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 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
A Type II error
occurs if a false null hypothesis is mistakenly accepted
The probability of a Type I error
the level of significance of the test, which is denoted as α
the confidence level
The complement of the level of significance of the test
1− α
The complement of the probability of a Type I error
The probability of a Type II error
hard to quantify but is symbolized as β
the power of a test
The complement of the probability of a Type II error
his is the probability of correctly rejecting the false null hypothesis
The power equals 1 − β
explain the power of Test matrix
Decision:
Do not reject H0:
–> Ho is True: Confidence level (1 − α)
–> Ho is False:
reject H0:
–> Ho is True: Level of significance α
–> Ho is False: the power of test 1 − β
It is common to set the level of significance to be at which levels
10%, 5%, and 1%.
when must the decision rule be stated?
when comparing the test statistic’s calculated value to a given value based on the significance level of the test
The critical value of the test statistic
the rejection point of the null hypothesis