BUS51A_lecture12
BUS51A_lecture12
Estimation and
Hypothesis
Testing
BUS 51A: Lecture 12
Introduction to
Business Analytics with Excel
• Score on DAA is updated.
• Each final project will involve two different DAA teams working together (a
• For a large sample or for a sample taken from a normally distributed population,
the sampling distribution of follows a normal distribution.
• 90% of the values lie within 1.645 standard deviations of the mean
• 95% of the values lie within 1.960 standard deviations of the mean
• 99% of the values lie within 2.576 standard deviations of the mean.
within of 𝜇
happening.
Interval Estimation of the Population Mean
• To compute the margin of error for the EAI example, we consider the t distribution
with degrees of freedom.
• At a 90% confidence level, we use the expression to denote the value for which the
area in the upper tail of a t distribution is 0.05.
• We can use Excel to compute the value of at a
0.90 confidence coefficient.
• The significance level is computed as
• The interval estimate of , using as an estimate of the population standard deviation , is written as
• If we want to find a 95% confidence interval for the mean manager salary in the EAI example, we
observe that and compute with degrees of freedom as .
• Thus, we have
• We are 95% confident that the mean manager salary at EAI is between $70,564 and $73,064.
Hypothesis Test
• The hypothesis testing procedure uses data from a sample to test the
validity of the two competing statements indicated by and .
• : the null hypothesis, is a statement (a tentative conjecture) about a population
parameter.
• the alternative hypothesis, is the opposite of what is stated in the null hypothesis .
• All hypothesis testing applications involve collecting a sample and using the sample results
• In some situations, it is easier to identify the alternative hypothesis before the null hypothesis.
•
as an Assumption to be Challenged
•
Summary of Forms for and
• The equality part of the hypotheses always appears in the null hypothesis.
• In general, a hypothesis test about the value of a population mean must take
one of the following three forms, where is the hypothesized value of the
One-tailed
population mean (or ). One-tailed Two-tailed
(Lower-tail) (Upper-tail)
• vs.
• vs.
• There are two types of errors that can be made in hypothesis tests:
• Type I error: rejecting when true.
• Applications of hypothesis testing that only control for the Type I error are
often called significance tests.
Type I and Type II Errors
• There are two types of errors that can be made in hypothesis tests:
• Type II error: accepting when false.
• Determining Type II error is difficult, but when it can be done, the “accept ”
conclusion is appropriate.
• Statisticians avoid the risk of making a Type II error by concluding “do not
reject ” rather than “accept ”.
Example of Type I and Type II Errors
• vs.
• This error occurs if the researcher concludes that the population mean
monthly cost of electricity is greater than $104 in the Chicago
neighborhood when the population mean cost is actually less than or
equal to $104.
Exercise 3
• vs.
• This error occurs if the researcher concludes that the population mean
monthly cost for the Chicago neighborhood is less than or equal to $104
when it is not.
One-Tailed Test About a Population Mean
• One-tailed tests about a population mean take the form of lower tail test or upper
tail test, depending on the inequality sign in the alternative hypothesis.
• Example: the Federal Trade Commission (FTC) is testing a Hilltop Coffee’s claim that
its large can contains at least 3 pounds of coffee.
• The FTC assumes the Hilltop Coffee’s claim correct ( lbs) and sets the alternative
hypothesis to challenge such claim with a lower tail test, lbs.
• vs.
• Suppose the FTC is willing to take a 1% risk of making an error on its testing of
Hilltop Coffee’s claim.
Test Statistic About a Population Mean
• There are 36 sample and assume that they are randomly sampled.
• Let’s figure out: sample mean (), sample standard deviation (s)
• T.DIST function
Rejection Rule Using p-value
• Whether we reject depends upon the level of significance for the test:
• If a p-value is less than or equal to the level of significance , the value of the test statistic is in
• Because the FTC stated to be willing to take a 1% risk of making a Type I error, we set the
significance level .
• Reject if p-value ≤ α
• Thus, the FTC finds sufficient statistical evidence to conclude at the 0.01 level of significance that
• The mean cost of a flank steak, broccoli, and rice bought at the grocery store
is $23.04.
data support the conclusion that the mean cost of a restaurant meal is less
• and
• Using the sample from the 100 restaurants, what is the p value?
• We cannot conclude that the cost of a restaurant meal is significantly cheaper than a
• and
• Because , cannot be rejected, and the director does not have enough evidence to
Ohio to learn about salaries in that state to see if they differed from the
mean annual administrator salary in Ohio differs from the national mean of
$90,000.
Exercise 5
• and
• Because , p-value is two times the lower tail area Using t table: the area in lower tail is
between 0.01 and 0.025; therefore, p-value is between 0.02 and 0.05.
Test
Statistic
• The Coca-Cola Company reported that the mean per capita annual sales of its
of s = 101.9 ounces.
• Using α = 0.05, do the sample results support the conclusion that mean
Exercise 6
• and
• Suppose a random sample of players was selected, and that were women.
The sample proportion of women golfers can be written as
Hypothese
s
Test
Statistic
• Linear Regression