Week 11 Lecture
Week 11 Lecture
Week 11 Lecture
2. Hypothesis testing
Examples:
• “Is the average age in Uzbekistan more than 30 years?”
• “Do millennials watch TV news less than 15 minutes a day?”
• “Is average cost to spend a month in Hawaii is more than $6000?”
Estimation
Estimationof parameters
of parameters
A single number calculated from the sample that estimates a target population parameter is called a point
estimator.
Interval estimator - a range of numbers that contain the target parameter with a high degree of
confidence.
Interval estimate
Point estimate
I am 95% confident
that is between
Mean, ,20
is & Mean 40
unknown
X = 30
SAMPLE
Confidence
ConfidenceInterval
Interval
For a sample of 106 students, the researchers reported the following statistics on how many
minutes per day each student used a laptop for taking notes: x* = 13.2, s = 19.5. Now the
researchers want to estimate the average amount of time per day laptops are used for taking
notes for all middle school students across the country.
Here,
z – z/2 , obtained from z table
E – margin of error
n must be rounded up in
order not to exceed the
specified margin of error.
Sample Size to Estimate a Population Mean
Solution
The maximum allowable margin of error, E (or ME), is $100. The value of z/2 for a
95% level of confidence is 1.96, and the standard deviation is $1000.
Substituting these in the formula:
n = (+./6∗+000
+00
)2= (19.6)2 = 384.16
After rounding it up, we get 385, that is the required sample size to meet the
specifications.
Solution
Hypothesis Testing
A hypothesis is an assumption about the population parameter.
The Null Hypothesis, H0 – general statement or default position that there is nothing new
happening.
Refers to the Status Quo.
Always contains the “=” sign.
Step 2. Calculate the test statistic, denoted as T.S. (in this case zstat):
Find critical z (z/2 or z) from the standard normal table (z table).
Steps
Stepsof hypothesis testing
of hypothesis testing
Step 4.
Make a decision.
Either reject Ho or fail to (do not) reject Ho based on comparison on step 3.
Interpret the result.
Provide your final conclusion in the context of the research question.
Exercise
Exercise8.2 8.2
Suppose you are looking for a two-bedroom apartment for rent. Local website www.olx.uz claims average
cost of rent for two-bedroom apartments is $400 in Tashkent. But you suspect the real number is higher than
$400. So you randomly selected 36 two-bedroom apartments from that website and calculated sample mean
to be $415 and sample standard deviation to be $55. Use = 0.10.
Conduct a hypothesis test to see whether rent rate is higher than $400.
Solution.
Step 1. State null and alternative hypotheses:
H0: 400
H a: >
400
=
𝑥̅ – 0
=
415 − 400 = 1.636
Step 2.
T.S. z stat
/ 𝑛 55/ : 6
Calculate the
test statistic.
Solution
Solutionto Exercise 8.2
to Exercise 8.2
Step 3. Formulate the decision rule.
We reject Ho if zstat z
z = z0.10 = 1.28
Step 4. Make a
decision and interpret
the result.
Since zstat = 1.636 > z = 1.28, we reject
H0. There is a sufficient evidence to claim
average rent in Tashkent is greater than $400.
p-value
p-value