13-15.satistical Inference-Single Population 2
13-15.satistical Inference-Single Population 2
Learning Objectives
• Hypotheses Testing
• Testing Hypothesis about a Population µ using z Statistics (σ Known)
• Testing Hypothesis about a Population µ using t Statistics (σ Unknown)
• Testing Hypothesis about a Population Proportion
• Testing Hypothesis about a Population Variance
• Solving for Type II Errors
Introduction
• A foremost statistical mechanism for decision making is the hypothesis test.
Introduction
• Hypothesis Tests (HT): For One Sample
• Mean
– σ Known: z HT for µ.
– σ Unknown: t HT for µ
• Proportion
– z HT for p
• Variance
– χ2 HT for σ 2
Hypotheses Testing
• Hypotheses are tentative explanations of a principle operating in nature.
– Types of Hypotheses
– HTAB System to Test Hypotheses
– Rejection and Non Rejection regions
– Type I & Type II Errors
∗ Reference: KB, Chapter 9
1
Hypotheses Testing: Types of Hypotheses
• Research Hypotheses
• Statistical Hypotheses
• Substantive Hypotheses
• Research Hypotheses
– A statement of what the researcher believes will be the outcome of an experiment or a
study.
– Before studies are undertaken, business researchers often have some idea or theory
regarding the outcome.
• However, to formally test research hypotheses, it is generally best to state them as statistical
hypotheses.
• Statistical Hypotheses
– A more formal hypothesis structure.
– To prove or disprove research hypotheses, researchers convert their research hypotheses
to statistical hypotheses.
– And then test the statistical hypotheses using standard procedures.
– Consist of two parts, a null hypothesis and an alternative hypothesis.
– These two parts are constructed to contain all possible outcomes of the experiment or
study.
– Null Hypothesis: The “null” condition exists; that is, there is nothing new happening.
– Alternative Hypothesis: The new theory is true, something new is happening. Symbol:
H0 = Null, Ha : Alternate.
2
Hypotheses Testing: Types of Hypotheses
• Statistical Hypotheses: Example
– Suppose a company has held an 18% share of the market.
– However, company officials believe that it is now greater than 18%, and would like to
prove it.
– The null hypothesis is that the market share is still 18% or perhaps it has even dropped
below 18%.
– Converting the 18% to a proportion and using p
– H0 : p = 0.18 & Ha : p > 0.18.
– Even though the “less than” sign is not included in the null hypothesis, it is implied
that it is there.
– Thus equal sign, generally, only for Null Hypothesis.
• Statistical Significance
– Market Share: Suppose a large sample is taken, and a sample market share of 18.2% is
obtained.
– Suppose further that a statistical analysis of these data results in statistical significance.
– We would conclude statistically that the market share is significantly higher than 18%.
– It actually means that it is unlikely that the difference is because of chance.
– However, to the business decision maker, a market share of 18.2% might not be signifi-
cantly higher than 18%.
– Hence, Statistical Significance does not always translate to Economic Significance.
– Substantive Result: When the outcome produces results that are important to the
decision maker.
3
Hypotheses Testing: HTAB System
• Hypothesize
• Test
• Take Statistical Action
• Determine the Business Implication
4
Hypotheses Testing: HTAB System
• Rejection Region: Statistical outcomes that result in the rejection of the null hypothesis.
• Non Rejection Region: Statistical outcomes that fail to reject the null hypothesis.
• When is the sample mean so far away from the population mean that the null hypothesis is
rejected?
• Type I Error
– Rejecting a true null hypothesis.
– Because of possibility of selecting a extreme sample by chance.
– The rejection regions represent the possibility of committing a Type I error.
– If the null hypothesis is true, any mean that falls in a rejection region will result in a
decision that produces a Type I error.
– The probability of committing a Type I error is called α or level of significance.
– The value of α is always set before the experiment or study is undertaken.
5
Hypotheses Testing: Type I & Type II Errors
• Type II Error
– Fail to reject a false null hypothesis.
– The probability of committing a Type II error is β.
– Unlike α, β is not usually stated at the beginning of the hypothesis testing procedure.
– Because β occurs only when the null hypothesis is not true, the computation of β varies
with the many possible alternative parameters that might occur.
6
Testing Hypothesis: µ using z (σ Known)
• Decision Rule
– If the data gathered produce a z value ≥ 1.96 or ≤ - 1.96, reject the Null Hypothesis.
• Action
– Because calculated test statistic (2.75) is greater than the critical value (1.96), reject
the Null hypothesis.
– The calculated test statistic is often referred to as the observed value.
• Business Implication
– The evidence gathered indicates that the national average may have increased.
– May mean that CPAs will be more expensive to hire either as full-time employees or as
consultants.
7
Testing Hypothesis: µ using z (σ Known)
x̄−µ
• t test for µ: t = √
(s/ n)
• Example
– The machine that produces plates is set to yield plates that average 25 pounds.
– Test to determine whether the machine is out of control.
– H0 : µ = 25 pounds, Ha : µ ̸= 25 pounds.
– Collect sample & calculate sample statistics. x̄ = 25.51, s = 2.1933, n = 20.
– Set α = 0.05. Calculate critical t values.
– The t distribution table is a one-tailed table but the test for this problem is two tailed,
so alpha must be split.
– t = ± 2.093
– Calculate observed t value: 1.04.
8
Testing Hypothesis: µ using t (σ Unknown)
• z test: z = √ p̂−p
(p.q)/n
• Example
– A manufacturer believes exactly 8% of its products contain at least one minor flaw.
– Suppose a company researcher wants to test this belief.
– The null and alternative hypotheses are H0 : p = 0.08 & Ha : p ̸= 0.08.
– Set α = 0.10, z = ± 1.645.
– Select sample and calculate observed z.
– Randomly selects a sample of 200 products, 33 items have at least one minor flaw.
– Observed z = 4.43.
(n−1)s2
• χ2 = σ2
• Example
– Determine whether the σ 2 is greater than 4. One Tailed.
– H0 : σ 2 = 4 & Ha : σ 2 > 4.
– α = 0.05, Sample size = 8. Critical values.
– χ20.05,7 = 14.0671.
– s2 = 20.9821.
– Observed χ2 value: 36.72
9
Solving for Type II Errors
• Fail to reject the null hypothesis: Either a correct decision or a Type II error.
• If the null hypothesis is true: Correct decision. If the null hypothesis is false: Type II error.
• A Type II error: Fails to reject the null hypothesis and the null hypothesis is false.
• If the null hypothesis, µ = 12 ounces, is false, what is the true value for the population
mean?
• What is the probability of committing a Type II error in this problem if the population
mean actually is 11.99?
– The first step is to calculate a critical value for the sample mean.
– x¯c = 11.979. If the sample mean is below this value, null will be rejected.
– If µ actually is 11.99, what is the probability of failing to reject µ = 12 when 11.979
ounces is the critical value?
– Calculate z1 value using x¯c = 11.979 and µ = 11.99.
– z1 = -0.85. This value yields an area of .3023.
– The probability of committing a Type II error is all the area to the right of xc = 11.979
in distribution with µ = 11.99.
– .3023 + .5000 = .8023.
10
Solving for Type II Errors: Example
• Recompute the probability of committing a Type II error if the alternative mean is 11.96 ounces.
11
Solving for Type II Errors: Example
• If the alternative value is relatively far from the hypothesized value, the probability of
committing a Type II error is smaller than it is when the alternative value is close to the
hypothesized value.
• This situation is shown graphically in operating characteristic curves and power curves.
12
Solving for Type II Errors
• Power Curve
13
Solving for Type II Errors
14