Statistical Intervals For A Single Sample
Statistical Intervals For A Single Sample
Single Sample
Learning Objectives
How to compute I, u
from sample data?
Random sample
Population
unknown
parameter
l u,
where P(l u ) = 1 -
l: lower-confidence limits (bounds)
u: upper-confidence limits (bounds)
1 − α: confidence coefficient
Confidence Interval On The Mean Of A
Normal Distribution, 2 Known
• Problem. Suppose that X1, X2, … , Xn is a random
sample from a normal distribution with unknown mean
and known variance 2.
• A confidence interval estimate for is an interval of the
form l u
• If P(L U) = 1 - , (0 1), then
• [l, u] is called confidence interval
• 1 - is called the confidence coefficient
100(1 - )% CI of A standard normal
distribution
This area
This area This area
equals /2
equals /2 equals 1 -
Random sample
Population
unknown mean
L U,
where P(L U ) = 1 -
CLT ➔
𝑋ത is normally
distributed with mean
and variance 2/n
Confidence Interval on the Mean,
Variance Known
If xത is the sample mean of a random sample of size n
from a normal population with known variance 2, a
100(1 - )% CI on is given by
Practical Interpretation: Based on the sample data, a range of highly plausible values for
mean impact energy for A238 steel at 60°C is 63.84J 65.08J.
Interpreting a Confidence Interval
𝜎
• We have E = error = | xത - | z/2
n
𝜎
➔ Choose n such that E = z/2
n
➔
Choice of sample size - Example
Suppose that we wanted to determine how many specimens
must be tested to ensure that the 95% CI on for A238 steel cut
at 60°C has a length of at most 1.0J.
-----------------------
Since the bound on error in estimation E is one-half of the length of
z
the CI, that is, E ½, to determine n we use n = ( /2 )2 with E = ½,
𝐸
z/2 = 1.96.
𝜎 𝜎
xത − z - xത + z
n n
Confidence Interval on the Mean
Unknown 2 Large sample size
• What if σ is unknown? We instead use the interval
s s
𝑠 𝑠
xത − t/2,n-1 xത + t/2,n-1
n n
Remark. One-sided confidence bounds on the mean are found by replacing t/2,n-1 with t,n-1.
t Confidence Interval on - Example
An article in the journal Materials Engineering (1989, Vol. II, No. 4, pp. 275–281)
describes the results of tensile adhesion tests on 22 U-700 alloy specimens.
The load at specimen failure is as follows (in megapascals):
The sample mean is xത = 13.71, and the sample standard deviation is s = 3.55.
We want to find a 95% CI on . Since n = 22, we have n - 1 = 21 degrees of
freedom for t, so t0.025,21 = 2.080.
𝑠 𝑠
xത − t/2,n-1 xത + t/2,n-1 ➔ 12.14 15.28
n n
t Confidence Interval on - Example
12.14 15.28
• Practical Interpretation: The CI is fairly wide because
there is a lot of variability in the tensile adhesion test
measurements. A larger sample size would have led to
a shorter interval.
Confidence Interval for 2 of a Normal
Distribution
2 Distribution. Let X1, X2, … , Xn be a random sample
from a normal distribution with mean and variance 2,
and let S2 be the sample variance. Then the random
variable
(𝑛−1)𝑆 2
X2 =
𝜎2
has a chi-square (2) distribution with n - 1 degrees of
freedom.
2 distributions
mean = k
Pdf of several 2 variance = 2k
distributions.
➔ skewed to
the right
Percentage point of the 2 distribution.