Preliminary step: checking assumptions... Define null and alternative hypotheses two-sided lower, one-sided greater, one-sided Research question: Whether the mean level of Salmonella i
Trang 25/21/2019
Trang 35/21/2019
Trang 4William Sealy Gosset (1876 - 1937)
Trang 5Thicker tails and larger standard deviation
Trang 6when df is large, the curve approaches the normal distribution
The reason for that is: when n is increased, the estimated
standard error will not fluctuate as much between samples
Trang 75/21/2019
Trang 85/21/2019
Trang 95/21/2019
Trang 105/21/2019
Trang 11Preliminary step: checking assumptions
Trang 121 Define null and alternative hypotheses
(two-sided) (lower, one-sided) ( greater, one-sided)
Research question:
Whether the mean level of Salmonella is greater than 0.3 ?
Null hypothesis Alter hypothesis
Trang 132 Set the criterion:
0.05
9 – 1 = 8
One sided test
Trang 153 Collect sample data
1 2 3 4 5 6 7 8 9 0.593 0.142 0.329 0.691 0.231 0.793 0.519 0.392 0.418
Trang 164 Calculate t-statistics
Trang 174 Calculate t-statistics
1 2 3 4 5 6 7 8 9 0.593 0.142 0.329 0.691 0.231 0.793 0.519 0.392 0.418
Trang 19Preliminary step: checking assumptions
Trang 20Assumptions
Trang 21Checking assumptions
Trang 22Checking assumptions
Trang 23Checking assumptions
Trang 24Checking assumptions
Trang 25Checking assumptions
Trang 265/21/2019
Trang 275/21/2019
Trang 28Electric solution Chemical solution
Research question
Do electric solution and chemical solution differ
in terms of their effect ?
Trang 292 Population frequency distribution
Sampling distribution of
Sampling distribution
of
Trang 30Preliminary step: checking assumptions
Trang 311 Define null and alternative hypotheses
Null hypothesis Alter hypothesis
Research question
Do electric solution and chemical solution differ in
terms of their effect ?
Trang 322 Set the criterion:
0.05 (12 – 1) + (12 - 1) = 22 Two-sided
Trang 34Exp Electric Chemical
Do electric solution and chemical
solution differ in terms of their effect ?
3 Collect sample data
Trang 354 Calculate t-statistic
̅ ̅
Trang 375 Interpret results
Trang 38Preliminary step: checking assumptions
Trang 39Assumptions
Trang 40Assumptions
Trang 41Checking assumptions
Trang 42Checking assumptions
Trang 435/21/2019
Trang 445/21/2019
Trang 455/21/2019
Trang 465/21/2019
Trang 474 Calculate t-statistic
̅ ̅
Trang 484 Calculate t-statistic
̅ ̅
Trang 49https://www.youtube.com/watch?v=kvmSAXhX9Hs&list=PLqzoL9-eJTNBDdKgJgJzaQcY6OXmsXAHU&index=29
Trang 505/21/2019
Trang 51Research question: Does alcohol affect a
person’s ability to drive ?
Trang 525/21/2019
Trang 53Preliminary step: checking assumptions
Trang 541 Define null and alternative hypotheses
Trang 552 Set the criterion
Trang 56df =
α =
Trang 573 Collect sample data
Trang 614 Calculate t-statistic
Trang 63Preliminary step: checking assumptions
Trang 64Assumptions
Trang 65Checking assumptions
Trang 665/21/2019
Trang 675/21/2019
Trang 685/21/2019
Trang 695/21/2019
Trang 705/21/2019
Trang 71• To test hypotheses about
when the population
standard deviation is known
• Condition: population
distribution is normal or
sample size is large
Z-test / Z-statistic
when the population standard
distribution is normal, but
Trang 72The z-test assumes that:
• The numerator varies from one
sample to another
• The denominator is constant
(from one sample to another)
The t-test assumes that:
• The numerator varies from one sample to another
• The denominator varies from one sample to another
The sampling distribution of z derives
from the sampling distribution of the
mean
The sampling distribution of t is broader than the sampling distribution
of the mean The sampling distribution of t changes with degree of freedom
Trang 735/21/2019
Trang 745/21/2019
Trang 755/21/2019
Trang 765/21/2019
Trang 775/21/2019
Trang 79• The population standard deviation: (unknown)
• The sample standard deviation: (known)
Trang 805/21/2019
Trang 81Assumptions
Trang 82Research question
Do smokers and non-smokers differ in terms of
their lung capacity ?
Trang 83Checking assumptions
Trang 845/21/2019
Trang 855/21/2019
Trang 865/21/2019