Documente Academic
Documente Profesional
Documente Cultură
Mean
(select)
Sample
(calculate)
(describes)
Parameter
p?
(estimate)
Statistic
p 63%
L. Wang, Department of Statistics
University of South Carolina; Slide 2
(select)
Sample
(calculate)
(describes)
Parameter
(estimate)
Statistic
y 2,200hrs
L. Wang, Department of Statistics
University of South Carolina; Slide 3
Statistic
Describes
sample.
Always known
Changes upon
repeated
sampling.
Examples:
2
y , s , s, p
Parameter
Describes
a
population.
Usually unknown
Is fixed
Examples:
, , , p
2
N(100,5)
80
85
90
95
100
105
110
115
N(100,1.58)
120
80
85
90
95
100
90
95
100
X(2)
115
120
N(100,3.54)
85
110
X(10)
80
105
105
110
115
N(100,1)
120
80
85
90
95
100
105
110
115
120
X(25)
L. Wang, Department
of Statistics
University of South Carolina; Slide 7
Light Bulbs
The life of a light bulb is normally
distributed with a mean of 2000 hours
and standard deviation of 300 hours.
What is the probability that a
randomly chosen light bulb will have a
life of less than 1700 hours?
What is the probability that the mean
life of three randomly chosen light
bulbs will be less than 1700 hours?
800
1300
= 300
= 2000
1800
2300
2800
Single Readings
Y < 1400 would signal shift
800
1300
= 173
= 2000
1800
2300
2800
Averages of n = 3
Y < 1650 would signal shift
= 2000
=
= 2000
2000
= 100
Averages of n = 9
Y < 1800 would signal shift
Probability
0.20
0.15
0.10
0.05
0.00
1
# of Dots
Let
Single measurements
Averages of 2 measurements
Averages of 4 measurements
Averages of 25
Source: Lawrence L.
Lapin, Statistics in
Modern Business
measurementsDecisions, 6th ed.,
1993, Dryden Press,
Ft. Worth, Texas.
n=1
n=2
n=4
As n increases, what
happens to the
variance?
A.Variance increases.
B.Variance decreases.
C.Variance remains
the same.
n=25
n=1
n=2
n=4
n=
25
L. Wang, Department of Statistics
University of South Carolina; Slide 17
If
If
If We Can Consider
y
Normal
to be
So if
is distributed normally
with
/ n
mean and standard deviation
,
Y
Z
then
/ n
L. Wang, Department of Statistics
University of South Carolina; Slide 20
s/ n
follows a t-distribution with n-1
degrees of freedom.
Note: we must be able to assume that we are
sampling from a normal population.
L. Wang, Department of Statistics
University of South Carolina; Slide 23
In Summary
When
we know :
y
Z
/ n
When
we estimate with s:
y
t df n 1
s/ n
We assume we are
sampling from a
normal population.
L. Wang, Department of Statistics
University of South Carolina; Slide 25
-4
-3
-2
-1
Mean
10
98.7
Std. Dev.
2.9
P ( y 98.7 | 100) P t df 9
98.7 100
P (t df 9 1.418)
2.9 / 10
0.0949
How to Calculate
Corresponding Z-Values
Order
data
Estimate percent of population below
each data point.i 0.5
Pi
10
Pi
yi
-1.15
.125
-0.32
.375
+0.32
.625
+1.15
.875
10
Normal QQ Plot
12
10
Data
8
6
4
2
0
-1.5
-1
-0.5
0.5
1.5
Z values
-2
-1
-2
-1
Estimation of the
Mean
Point Estimators
p estimates p
y estimates
s estimates s estimates
2
Unbiased Estimators
For normal populations, both the
sample mean and sample median
are unbiased estimators of .
Sampling Distributions for Mean and Median
mean
median
-8
-6
-4
-2
mean
median
-8
-6
-4
-2
/ n
Y
P(1.96
1.96) 0.95
/ n
P (Y z / 2
Y z / 2
) (1 )
n
n
Y 1.96
n
0.95
.025
-4
-3
-2
-1.96
-1
.025
1
1.96
z / 2 ) (1 )
/ n
Y z / 2
) (1 )
n
n
L. Wang, Department of Statistics
University of South Carolina; Slide 42
1-
/2
-4
-3
-Z/2
-2
-1
/2
+Z/22
n( , / n)
y
y
y
xy
y
y
(1-)100%
Confidence
Intervals
y 1.645
n
A.99%
B.95%
C.90%
D.85%
Z0.005 = 2.576
D. Z0.0005 = 3.291
C.
At
Max error d z / 2
z / 2
n
P (Y t / 2
t / 2 ) (1 )
s/ n
s
s
Y t / 2
) (1 )
n
n
1-
/2
-4
-3
df=n-1
-t/2
-2
-1
/2
+t/22
Hypothesis Testing
Statistical Hypothesis
A
statistical hypothesis is an
assertion or conjecture concerning one
or more population parameters.
Examples:
More than 7% of the landings for a certain
airline exceed the runway.
The defective rate on a manufacturing line
is less than 10%.
The mean lifetime of the bulbs is above
2200 hours.
L. Wang, Department of Statistics
University of South Carolina; Slide 57
Steps to a Hypothesis
Test
(1)
(2)
(3)
(4)
Combustion Engine
The nominal power produced by a student
designed combustion engine is assumed to
be at least 100 hp. We wish to test the
alternative that the power is less than 100
hp.
Let = nominal power of engine.
QQ plots shows it is reasonable to assume
data came from a normal distribution.
Sample Data:
n 10
y 98.7 s 2.8694
L. Wang, Department of Statistics
University of South Carolina; Slide 61
Combustion Engine
(1) State hypotheses, set alpha.
(2) Choose test statistic
(3,4) Designate critical value for test
( if using the rejection region
method) and draw
or conclusion
Calculate p-value and draw
conclusion.
L. Wang, Department of Statistics
University of South Carolina; Slide 62
0.05
100
-4
-3
-2
-1
Y=avg hp
+1
+2
+3
+4
tdf=9
-1.833
Draw conclusion:
t df 9
y 0
98.7 100
1.4327
s / n 2.8694 / 10
-1.4327
-1.833
tdf=9
L. Wang, Department of Statistics
University of South Carolina; Slide 64
p-value
The
0.0928
tdf=9
-1.4327
p-value
P(tdf=9
Note:
0.0928
0.05
1.432
-1.833
tdf=9
L. Wang, Department of Statistics
University of South Carolina; Slide 66
=
mean
life.
(1) Set Up Hypotheses
= 0.05
H0:
Ha:
y 2141
t df 14
s 216
n 15
y 0 2141 2000
2.5282
s/ n
216 / 15
0.05
0.0121
tdf=14
1.761 2.5282
L. Wang, Department
of Statistics
p-value = P(tdf=14 > 2.5282)
=
0.0121
University of South Carolina; Slide 68
= 0.05
statistic.
y 105
s 6 n 20
t df 19
p value 2 * P (t df 19 ....
(4) State conclusion.
L. Wang, Department of Statistics
University of South Carolina; Slide 71
Ha: = 0
/2
Ha
H0
Ha
Ha: > 0
H0
Ha
Ha: < 0
Ha
L.HWang,
Department of Statistics
0
University of South Carolina; Slide 72
2)
Assumes H0
is true.
= Probability
that we will reject
Ho when Ho is
L. Wang, Department of Statistics
true.
University of South Carolina; Slide 74
= Probability we will
fail to reject Ho when
Ha is true at = 2200
What if = 2200
= Probability
that we will reject
Ho when Ho is
L. Wang, Department of Statistics
true.
University of South Carolina; Slide 75
value of .
Location
Sample
size.
L. Wang, Department of Statistics
University of South Carolina; Slide 76
Calculating
If
P ( Z 1.645) 0.05
y 2000
1.645
y 2091
216 / 15
L. Wang, Department of Statistics
University of South Carolina; Slide 77
Calculating
H0: = 2000
Fail to Reject Ho
What if = 2200
2091
Reject Ho
P( y 2091 | 2200)
L. Wang, Department of Statistics
University of South Carolina; Slide 78
Calculating
P ( y 2091 | 2200)
2091 2200
P z
P ( z 1.9544) 0.0254
216 / 15
, and Power
We
Power
= 1
Power = P(Rej H0| is at some Ha level)
L. Wang, Department of Statistics
University of South Carolina; Slide 80
confidence interval on :
y t df 3, 0.025
s
n
8
101.4 3.182
101.4 12.728
4
(93.56,109.24)
L. Wang, Department of Statistics
University of South Carolina; Slide 82
= 0.05
Ha:
Test statistics is
p-value =
Conclusion:
L. Wang, Department of Statistics
University of South Carolina; Slide 83