










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Sample Distributions
Confidence Intervals
Hypothesis Testing
Reading:
G. R. Cooper & C. D. McGillem 4.4 - 4.
EE/STAT 322, #
1
A sample mean
n 1
∑
i is unbiased and have a variance of
σ x 2 /n
We still want to know the distribution of
, and how good it is.
Define a new RV
Xˆ
− X
σ/
√
n .
We can verify that
has zero mean and unit variance (
σ z 2
= 1
If
n
is large (
n >
), we can approximate
and
as Gaussian RVs.
Z
( z ) = Φ(
z ) = 1
z )
is a Gaussian distribution function.
EE/STAT 322, #
2
certain interval of the true meanConfidence interval studies the chance that an estimate falls within aSample mean gives a point estimation;
q -percent confidence interval is the interval within which the estimate
lies in with a probability of
q/
. The limits are called confidence limits
and
q
is the confidence level.
EE/STAT 322, #
4
Consider
a
symmetric
interval
around
kσ/
n
kσ/
n
.
q/
k
σ
√
n
X ≤ X + k σ
√
n )
X
kσ/
√
n
X
−
kσ/
√
n
f
ˆ X
(^) ( x ) dx
)
( (^) x
f X^
)
( t
f T^
Gaussian
student's
X
n
k
X
/
σ
n
k
X
/
σ
−
PDF of un-normalized
RV X
A simpler approach: Let
Xˆ
−
X
σ/
√
n .
Z
has zero mean and unit variance.
The interval above corresponds to
− k ≤ Z ≤ k
. Thus,
q/
− k ≤ Z ≤ k
k −
k
f Z (^) ( z ) dz
= F Z ( k ) − F Z ( − k ).
Note that
Z
( −
k ) +
Z
( k ) = 1
EE/STAT 322, #
5
Example:
A sample mean
is taken given
σ
2
= 9
, and
n
Solution: samples. Find the 95% confidence interval.
We can denote the interval as
kσ/
n,
kσ/
n ] .
Given
kσ/
n
kσ/
n
) = 95%
, we need to determine
k
next.
Define
ˆ X
−
X
σ/
√
n , we get
1 − 2 Q ( k
k ) = 0
k
So the interval for
is given by
If we want to find the 90% confidence interval, we solve
1 − 2 Q ( k
k ) = 0
k
EE/STAT 322, #
7
Example:
(Ex 4-4.1) Calculate PDF for the Student’s
t
density for
t
= 1
and
v
Solution:
f T (^) ( t ) =
v 2 +
πv
v/
t 2 /v
−
v 2 +
2 5 )
π
4Γ(2)
−
52
EE/STAT 322, #
8
(b).
n
is small, we use Student’s
t
PDF for
T (^) ( k ) −
T (^) ( k ) = 0
k
In Table 4-2 of textbook, for
v
n
−
, it shows that for
T (^) ( t ) = 0
t
= 2
Thus, the limits are
k
˜
n,
k S/˜
n
]
If we use Gaussian assumption on
, we get
k ) −
k
So
k S/˜
n,
k S/˜
n
] = [
EE/STAT 322, #
10
Problem Statement:
Given an estimate (e.g., sample mean), we want
If true, the hypothesis is accepted; otherwise, the hypothesis is rejected.interval.to know whether or not this estimate is within the given confidence
One-sided and two-sided tests.
1000 Example: A provider claims the bulbs he produced have a mean life of
hours. If we test two bulbs, with a sample mean of 900 hours, can
true?If the sample mean is 1000 hours, can we say the provider’s claim iswe say the provider’s claim is false?
EE/STAT 322, #
11
Example:
A provider claims that his capacitors have mean values of 300 V
or greater. We test 100 samples and find the sample mean
, and
unbiased sample STD is
. Use a 99% confidence interval, check whether
Solution:the claim is true.
This is one-sided test. We know that
n
Let us find the confidence lower-limit
c , then compare
with
c .
Define
Xˆ
−
X
S/ ˜
√
n .
Since
n
is large,
we know
Equivalently, we compare
with
Z c = X c − X
S/ ˜
√
n
.
z
=
290
−
300
40
/ 10
, and
∞ z c f Z ( z )
dz
z c ) = 0
, ⇒ z c = − 2.
z
6 ∈
z c , (^) ∞
, so the claim is false.
EE/STAT 322, #
13
Example:
Given the same setting as the previous, if we change
q
to
Solution:how would the result change?
∞ z c
f Z (^) ( z ) dz
z c ) = 0
, ⇒ z c = − 2.
Now
z ∈ [ z c , ∞ )
, so the claim is true.
Define: level of significance + level of confidence = 100%Large confidence interval leads to less-strict tests. EE/STAT 322, #
14
A random number generator produces the following random numbers:
(b) If the generator produces three digit random numbers that are uniformly(a) Find the sample mean;0.76, 0.23, 0.17.
distributed between 0.00 and 0.99, find the variance of the sample mean.
(c) How large should the sample size be in order to obtain a sample mean
whose standard deviation is no greater than 0.01?
EE/STAT 322, #
16
It is desired to estimate the variance of a random phase angle that is
uniformly distributed over
, π
. Find the number of independent samples
1% of the true variance if an unbiased estimate is used.that are required to estimate this variance with a standard deviation that is EE/STAT 322, #
17