CH 7
CH 7
Pilani Campus
P X - z 2 X z 2 1 -
n n
Hence, the confidence interval for population mean having confidence
level 100 1 - % is given as x - z 2 , x z 2 .
n n
The endpoints of the confidence interval is called confidence limits.
Hence, 95% CI for is given as x - 1.96 , x 1.96 .
n n
That is, P X - 1.96 X 1.96 0.95
n n
Sol. (b) First check the two assumptions : (i) normality (ii) known
Step 1: Here n 50, x 15.68, =3.27, and 0.05. We need CI for .
Step 2: As 0.05, we need to find z 2 such that P Z z 2 =0.975.
From cumulative normal distribution table, we see z 2 1.96.
Step 3: The CI for known is x - z0.025 , x z0.025 14.77,16.59
n n
One hundred 95% CIs (asterisks identify intervals that do not include ).
13
BITS Pilani, Pilani Campus
Impracticality of Assumptions in CI
14
BITS Pilani, Pilani Campus
7.2: Large Sample CI for µ
15
BITS Pilani, Pilani Campus
7.2: Large Sample CI for µ
16
BITS Pilani, Pilani Campus
HW 2
17
BITS Pilani, Pilani Campus
One Sided CI for µ
18
BITS Pilani, Pilani Campus
Enjoy
https://www.youtube.com/watch?v=sv5-9wiXjVk
19
BITS Pilani, Pilani Campus
BITS Pilani
Pilani Campus
21
BITS Pilani, Pilani Campus
Example 7.5
(https://en.wikipedia.org/wiki/Relationships_among_probability_distributions)
22
BITS Pilani, Pilani Campus
Example 7.5
23
BITS Pilani, Pilani Campus
Example 7.5
24
BITS Pilani, Pilani Campus
Sample/Population Proportion
X X i
Note that pˆ 1 X,
n n
where, each X i is an independent point binomial (Bernoulli RV),
that is, P X i 1 p and P X i 0 1 - p
xi 1 0
f(xi) p 1-p
E[Xi] = 1(p)+0(1-p)=p
Var (Xi) = E[Xi2]-(E[Xi])2 = p(1-p)
BITS Pilani, Pilani Campus
Form of Sampling Distribution of
Sample Proportion
If np 10 and n 1 - p 10, sampling distribution of pˆ can be approximated
p 1 - p
by a normal distribution with mean p and s.d. .
n
Knowing, E pˆ 0.60 and pˆ 0.0894, can we find
(i) P 0.55 pˆ 0.65 ?
(ii) P 0.50 pˆ 0.65 ?
1
It can be shown that the value of pˆ obs (1 - pˆ obs ) .
4
Thus, sample size for estimating p, when
z2 2
prior estimate is not available is n 2
.
4d
Note :
Let Z N 0,1 and 2 be an independent chi-squared RV with degrees
Z
of freedom, then T follows a T -distribution with dof.
2
Theorem :
Let X 1 , X 2 , , X n be a random sample of size n from a normal distribution
X -
with mean and variance . Then,2
Tn -1
S n
The T -distribution is symmetric, and becomes approx. std. normal for large n.
Taking two points t 2 symmetrically about the origin, we get
X -
P -t 2,n -1 t 2,n -1 1 -
S
n
Here 1 - is known as confidence level, and is the level of significance. So,
S S
P X - t 2,n -1 X t 2,n -1 1 -
n n
Hence, the CI for unknown having confidence level 100 1 - %
S S
is given as x - t 2,n -1 , x t 2,n -1 .
n n
55 BITS Pilani, Pilani Campus
Interval estimation for µ: σ unknown
(small sample)
degree of freedom, such that P T t 2 =0.975.
From t-distribution table, we see t0.025,6 2.447.
s s
Step 3: The CI for unknown is x - t0.025 , x t0.025
n n
973.09, 981.93
57 BITS Pilani, Pilani Campus
https://en.wikipedia.org/wiki/Student
%27s_t-distribution
Cumulative Probability
Similar to
the table
A.5
67
BITS Pilani, Pilani Campus
Interval estimation of Variability
Theorem: Let X1, …, Xn be the random sample of size n
from a normal population with mean and s.d. . Then,
100(1-)% confidence interval estimate for 2 is given by
(n - 1) s 2 (n - 1) s 2
2
2 / 2, n -1 12- / 2, n -1
Proof:
(n - 1) S 2
P( df2 ,1- df2 , ) 1 -
2 2 2
(n - 1) S 2 (n - 1) S 2
2
df2 , df2 ,1-
2 2
BITS Pilani, Pilani Campus
Interval estimation for σ2
Thus 100 1 - % CI for is 2
n - 1 s 2
n - 1 s 2
2,n -1 12- 2,n -1
2
, .
Recall that 100 1 - % CI for is 2
n - 1 s 2
n - 1 s 2
2,n -1 12- 2,n -1
2
, .
n - 1 s 2
n - 1 s 2
the 90% CI for is 0.1238, 0.7025 .The length
2
,
2 2 1- 2
2
of the CI for 2 is 0.7025 - 0.1238 =0.5787. The 90% CI for is (?,?).
Cumulative Probability
Even this is
fine
xi 882.2;
i 1
i
x 2
i 1
55591.34; s 2
0.0105
(n - 1) s 13 0.0105
2
Lobs 2 0.023
1- ,13 5.89