Chapter Two Fundamentals of Marketing Estimation and Hypothesis Testing
Chapter Two Fundamentals of Marketing Estimation and Hypothesis Testing
Marketers
Chapter Two
Fundamentals of Marketing
Estimation and Hypothesis
Testing
Sampling Distribution
• Estimation: collect data from a sample and process it
in some way that yields a good inference/conclusion/
of something about the population.
• Often the purpose of sampling is to estimate
parameters of a population.
• A parameter is a numerical characteristic of a
population.(e.g., mean and variance)
• In point estimation we use the data from the sample
to compute a value of a sample statistic that serves as
an estimate of a population parameter.
• We refer to xas the point estimator of the population
mean . x is the point estimator of the population
standard deviation
Sampling Distribution of the Sample Mean
The sampling distribution of the sample mean
is the probability distribution of the population
of the sample means obtainable from all
possible samples of size n from a population of
size N
•Example: Quantitative Methods Scores: Take a
sample of 8 random students from a population of 40
students. You might get a mean of 87 for that sample.
Then, you do it again with a new sample of 8 students.
You might get a mean of 95 this time. Then, you do it
again. And again…… Since you have sufficient number
of sample means, you can have distribution of the
population of sample means.
General Conclusions
a. If the population of individual items is normal,
then the population of all sample means is also
normal.
s
x t 2
n
2
z 2
n
E
where B denotes desired margin of error so that is within B
units of , with 100(1-)% confidence
Example
• A consumer group would like to estimate the
mean monthly electricity charge for a single
family house in July with in Br 5 using a 99%
level of confidence . Based on similar studies
the standard deviation is estimated to be Br
20. How large a sample is required?
Sample Size Determination (t)
If is unknown and is estimated from s, then a sample
of size
2
t 2 s
n
E
so that x is within E units of , with 100(1-)%
confidence. The number of degrees of freedom for the t/2
point is the size of the preliminary sample minus 1
Confidence Intervals for a
Population Proportion
If the sample size n is large*, then a )100%
confidence interval for p is
pˆ 1 pˆ
pˆ z 2
n
* Here n should be considered large if both
n pˆ 5 and n 1 pˆ 5
Example
• A sample of 500 executives who own their
own home revealed 175 planned to sell their
homes and retire to Addis Ababa. Develop a
98% CI for the proportion of executives that
plan to sell and move to Addis Ababa.
Determining Sample Size for
Confidence Interval for p
A sample size
2
z 2
n p1 p
E
will yield an estimate p̂ , precisely within B units of p, with
100(1-)% confidence
s N n
x z 2
n N
8-41
Types of Decisions
As a result of testing H0 vs. Ha, will have to decide
either of the following decisions for the null
hypothesis H0:
Do not reject H0
– A weaker statement than “accepting H0”
– But you are rejecting the alternative Ha
OR
Reject H0
– A weaker statement than “accepting Ha”
8-42
Test Statistic
In order to “test” H0 vs. Ha, use the “test statistic”
x 0 x 0
z
x n
State of Nature
8-44
Error Probabilities
Type I Error: Rejecting H0 when it is true
is the probability of making a Type I error
1 – is the probability of not making a Type I error
Reject H0 1–
Do not Reject H0
1–
8-45
Typical Values
Usually set to a low value
– So that there is only a small chance of rejecting a true H0
– Typically, = 0.05
• For = 0.05, strong evidence is required to reject H0
• Usually choose between 0.01 and 0.05
– = 0.01 requires very strong evidence is to reject H0
• Sometimes choose as high as 0.10
– Tradeoff between and
• For fixed sample size, the lower we set , the higher is
– And the higher , the lower
8-46
Steps in Testing a “Greater Than”
Alternative
8-47
Example
ABC company claims that viewers stay longer in
the new TV channel than the existing channel
in the country.
Viewers on average stay for about 60 minutes in
the current channel.
Assume is known and is 4 minutes, and 64
viewers are selected for the test.
8-48
Steps in Testing a “Greater Than”
8-49
Steps in Testing a “Greater Than”
x 60
n
– A positive value of this test statistic results from a
sample mean that is greater than 60
• Which provides evidence against H0 in favor of Ha
8-50
Steps in Testing a “Greater Than”
4. Continued
– Reject H0 in favor of Ha if the test statistic z is
greater than the rejection point z
• This is the rejection rule
– In the TV case, the rejection rule is to reject H 0 if
the calculated test statistic z is > 1.65
8-52
Steps in Testing a “Greater Than”
x 60 62 60
z 4 .0
n 4 64
8-53
Steps in Testing a “Greater Than”
8-55
Effect of
8-56
The p-Value
• The p-value or the observed level of
significance is the probability of obtaining the
sample results if the null hypothesis H0 is true
• The p-value is used to measure the weight
of the evidence against the null
hypothesis
• Sample results that are not likely if H0 is true
have a low p-value and are evidence that H0 is
not true
• The p-value is the smallest value of for
which we can reject H0
• Use the p-value as an alternative to testing
8-57
with a z test statistic
Steps Using a p-value to Test a
“Greater Than” Alternative
8-58
Steps Using a p-value to Test a
“Greater Than” Alternative Continued
5. Continued
– If H0 is true, the probability is 0.0139 of obtaining a
sample whose mean is 60 or higher
– This is so low as to be evidence that H0 is false and
should be rejected
6. Reject H0 if the p-value is less than
– In the case considered, was set to 0.05
– The calculated p-value of 0.0139 is < = 0.05
• This implies that the test statistic z = 2.20 is > the
rejection point z0.05 = 1.645
– Therefore reject H0 at the = 0.05 significance level
8-59
Weight of Evidence Against the Null
8-60
Confidence Intervals vs.
Hypothesis Testing
8-61
Confidence Intervals vs.
Hypothesis Testing Continued
8-62
t Tests about a Population Mean
( Unknown)
8-63
Defining the t Random Variable
( Unknown)
8-64
Defining the t Statistic ( Unknown)
8-66
t Tests about a Population Mean
( Unknown) Continued
Alternative Reject H0 if: p-value
8-67
Hypothesis Tests about a
Population Proportion
8-68
Hypothesis Tests about a
Population Proportion Continued
Reject
Alternative H0 if: p-value
H a : p p0 z z Area under standard normal to the right of z
H a : p p0 z z Area under standard normal to the left of –z
H a : p p0 z z / 2* Twice the area under standard normal to the
right of |z|
p̂ p0
z
p 0 1 p 0
n
8-70
Calculating
Assume that the sampled population is normally distributed, or
that a large sample is taken
Test H0: = 0 vs Ha: < 0 or Ha: > 0 or Ha: ≠ 0
We want to make the probability of a Type I error equal to and
randomly select a sample of size n
The probability of a Type II error corresponding to the
alternative value a for is equal to the area under the standard
normal curve to the left of
0 a
z*
n
8-71
Sample Size
Assume that the sampled population is normally distributed,
or that a large sample is taken
Test H0: = 0 vs. Ha: < 0 or Ha: > 0 or Ha: ≠ 0
Want to make the probability of a Type I error equal to and
the probability of a Type II error corresponding to the
alternative value a for equal to
Then take a sample of size:
n
z * z 2 2
0 a 2
Here z* equals z, if the alternative hypothesis is one-sided (
< 0 or > 0) and z* equals z/2 if the alternative hypothesis is
two-sided ( ≠ 0)
Also z is the point on the scale of the standard normal curve
that gives a right-hand tail area equal to
8-72
• End of Chapter 2