Professional Documents
Culture Documents
Estimation #3
Class 13 Tuesday 3/12/2013
Summary on Intervals
Three kinds: confidence estimating the population mean prediction confidence that one future measurement is within the limits tolerance confidence that a given majority of values is within the limits
Z=
( X 1 X 2 ) ( 1 2 ) ( / n1 ) + ( / n2 )
2 1 2 2
P(-z/2 <
( X1 X 2 ) ( 1 2 ) < z ) = 1 -
/2 2 2 ( 1 / n1 ) + (
2 / n2 )
( x1 x2 ) z / 2
12
n1
2 2
n2
< 1 2 < ( x1 x2 ) + z / 2
12
n1
2 2
n2
T' =
( X 1 X 2 ) ( 1 2 )
2 ( s12 / n1 ) + ( s2 / n2 )
v=
( (
2 s12 / n1 + s2 / n2
2 2
s12 / n1
n1 1
) +(
2 s2 / n2
n2 1
( x1 x2 ) t / 2
x1 = 36 ,300 s1 = 5, 000
B:
x2 = 38,100 s2 = 6,100
v=
(s (s
2 1
2 1
/ n1 + s / n2
2 2
2 2
( x1 x2 ) t / 2
find v
v=
/ n1
n1 1
2
) + (s
2 2
/ n2
n2 1
2
( (
50002 / 12 + 61002 / 12 12 1
2 2
50002 / 12
) +(
2
61002 / 12 12 1
( 2.08E 6 + 3.10E 6 ) =
2.08E 62 3.10 E 62 + 11 11
(5.18E 6 )
50002 61002 ( 36,300 38,100 ) 2.08 + < 1 2 < 1800 + 2.08 5.18 E 6 12 12
1800 2.08* 2277 < 1 2 < 1800 + 4736 6536 < 1 2 < 2936
This interval, in which the low is negative and the high positive, so that the interval spans zero, tells you that the mean difference could be zero. In other words, that there is no significant statistical difference between them.
Paired Observations
Paired Observations
The experiment is designed to look at differences between paired observations. before/after studies on same individuals two kinds of tire on one car studies using twins This reduces the variance due to random experimental error. This approach gives you better results if there is a correlation between the members of the pair.
D = X1 X2
Var(D) = Var(X1
X2 ) =
2 1
2 2
2Cov(X1 , X2 )
Paired Observations
D D Sd / n
X S/ n
n-1 d.o.f.
T=
T=
Only differences go into the equation looks a lot like the original equation comparing sample and population means.
d t / 2
where
sd s < D < d + t / 2 d n n
2
1 n sd = ( di d ) n 1 i =1
Paired Observations
Example 9.12 (Edition 8) / 9.13 (Edition 9) Dioxin levels in plasma and fat tissue in veterans exposed to Agent Orange. Find a 95% confidence interval for 1 2.
equations
d t / 2
values
sd s < D < d + t / 2 d n n
1 n sd = di d ) ( n 1 i =1
We need the average difference first. Start by calculating the individual differences, then average those. Then calculate sd.
ENME392 Statistics, Spring 2013
13
Paired Observations
Example 9.12 (Edition 8) / 9.13 (Edition 9) Dioxin levels in plasma and fat tissue in veterans exposed to Agent Orange. Find a 95% confidence interval for 1 2. values
sd s < D < d + t / 2 d n n 2.9773 -0.87 2.093 < D < -0.87 + 2.093* 0.6657 20 -0.87 1.3934 < D < -0.87 + 1.3934 2.263 < D < 0.523 d t / 2
There is no significant difference in the mean levels in plasma and fat.
Estimating Proportions
Example
Binomial experiment where we are trying to estimate the probability p. Know about binomial distribution that
= np
2
= np(1
p)
Take as estimator of p
=X P n
where X is the number of success. Think of X as the sum of n numbers yi, which are 0 or 1 for failure and success, respectively. Pn n Therefore, X
=X = P n
i=1
yi
1 n
yi = y
i=1
Estimating Proportions
p p P P Z= = P pq / n
P
=
X/n
This arises from the fact that a proportion can be considered a success in a binomial experiment, where the proportion is equal to the success probability p. 2 2 2 2 2 Since 2 = npq, then P = X / n = X / n = npq / n = pq / n
pq pq P p z / 2 n < p < p + z / 2 n 1
Estimating Variances
( n 1 )s 2
If 2 is the variance of a random sample of size n from a normal population, a 100(1-)% confidence interval for 2 is
v = n - 1 d.o.f.
( n 1 )s 2
/ 2
< <
( n 1 )s 2
12 / 2
Since the chi squared distribution is asymmetric, we must look up both numbers.
365 364 366 N 365! ... = 365 365 365 (365 N )! 365N