Documente Academic
Documente Profesional
Documente Cultură
x
x
n
x
o
o =
*Point estimate of a population mean
*Interval Estimator of population mean:
We have (1- ) 100% confidence that the
interval contains the population mean:
Where, is the z value corresponding to an area in the
upper tail of a standard normal distribution.
n=sample size
= standard deviation of the sampled population
x =
o
n
z x
o
o 2 /
2 / o
z
2 / o
o
*But how can we get the population standard
deviation?
Usually, is unknown. It can be approximated by the
sample standard deviation s when the sample size is
large.
*How large is large?
n>=30
o
Example: a sample with n=50, =8.1and s=0.24
1) Point estimate of population mean
2) Interval estimate of population mean with a 95%
confidence level
3) Interval estimate of population mean with a 90%
confidence level.
x
The interval estimate so far is two-sided interval
estimate. Some times we need one-side interval
estimate:
*Lower one-sided confidence interval (LCL)
LCL= (point estimate)- *(standard error of estimator)
*Upper one-sided confidence interval(UCL)
UCL= (point estimate)+ *(standard error of estimator)
Where standard error of estimator =
o
z
o
z
n
o
Example: a sample with n=50, =8.1 and s=0.24
4) LCL estimate of population mean
5) UCL estimate of population mean
x
When sample is large (n is large), we can use
sample standard deviation s as reliable
estimator of population standard deviation
And no matter what distribution the population has,
sampling distribution of sample mean is
normally distributed
But, what if sample is small?
Consequences of small sample size:
1) if population does not possess normal
distribution, sampling distribution of small
sample mean is not normal distribution.
2) is much more variable than
(It has thicker tails)
What should we do to deal with those problems?
n s /
n
o
Assumption: 1) population is normally distributed
2) sample is small and is unknown
If we use sample standard deviation s to replace
The statistic t follows one mound-shaped distribution,
which is called t-distribution.
Where s is sample standard deviation
o
o
n s
x
t
/
=
1
) (
2
=
n
x x
s
i
x
i
Property of t-distribution
1) t-distribution is mound-shaped
2) t-distribution is perfectly symmetric about t=0
3) t-distribution is more variable than z (normal distribution
is also called z-distribution)
4) t-distribution is affected by the sample size n
Because when n changes, s changes, t-distribution
is affected by sample size n. Therefore,
different sample sizes have different t-
distributions, even if sample is picked form
the same population.
We call number n-1 the number of degree of
freedom (d.f.) associated with s
2
and thus
the t-statistic.
Example: when n=10, d.f.=10-1=9
So, before we check the t-distribution, we need to
first determine degree of freedom.
How to check the t-distribution table
t records the value of t such that an area lies
to its right. (Appendix II, Table 4, pp611)
Determine the degree of freedom
Determine what value is (usually a is given in
the question)
Find the t
Problems:
1) n=10, find t
0.05
and t
0.025
2) n 30, find t
0.05
and t
0.025
3)
Repeat 1 with n=9
Do you remember we said when n>30, we may
think it is a large sample? After doing these
problems, did you get the intuition about why
we set 30 as the dividing line?
>
Remember the t-distribution based on the assumption that
the sampled population possesses a normal probability
distribution.
This is very restricted assumption.
Fortunately, it can be shown that distribution of the t
statistic possesses nearly the same shape as the theoretical t-
distribution for population that are nonnormal but possesses
a mound-shaped probability distribution. So even
population is not normal but mount-shaped, we can use t-
distribution.
In our class, except for when specifically stated, we will
suppose using t-distribution is proper.
Small-sample (1- )100% confidence interval
estimator of the mean is
Where, s is sample standard deviation and t has
(n-1) d.f.
is the estimated standard deviation
of
o
n
s
t x
2 / o
n
s
x
Problem: here is a sample of diamonds weights:
{0.46, 0.61, 0.52, 0.48, 0.57, 0.54}
Find the 95% confidence interval estimate for population
mean.
Estimating the difference between two means
Properties of the sampling distribution of ( ), the
difference two sample means:
When independent random samples of n1 and n2
observations have been selected from population with
means and and variances and
respectively, the sampling distribution of the difference
will have the following properties:
1) The mean and standard deviation of ( ) will be
and
2 1
x x
1
2
1
o
2
2
o
2 1
x x
2 1
) (
2 1
=
x x
2
2
2
1
2
1
) (
2 1
n n
x x
o o
o + =
n
pq
p
=
^
o
Estimating a Binomial proportion
Point estimator:
The sample proportion is an unbiased estimator of
population proportion, so
*Point estimator of p:
*Interval estimator depend on what sampling
distribution of sample proportion is
n x p =
^
So, If
1) we use sample proportion as reliable
estimate of population proportion p, and
2) n* and n*(1- ) both greater than 5, then
A (1- )100% confidence interval for p is
^
p
^
p
^
p
n
q p
z p
2 / o
o
Example: n=100, x=59
1) What is the point estimate of p?
2) What is 95% confidence interval of the
estimate for p?
Estimating the Difference Between Two
Binomial Proportions
Point estimate
Confidence interval for the difference
)
( ) (
2 1 2 1
p p p p =
2
2 2
1
1 1
2 / 2 1
( )
(
n
q p
n
q p
z p p +
o
Example
A recent survey of girls between 9 and 14 years old
showed that 44% of the white girls surveyed and 28% of
the African-American girls reported that they had tried to
lose weight. Assume 100 girls of each ethnicity were
surveyed.
What is the estimated difference in population
proportions.
Construct a 99% confidence interval of the difference
in proportions.
Choosing sample size
Questions to ask before determining optimal n:
1) What level of confidence do you want to have
(i.e., the value of 100(1- )?
2) What is the maximum difference (D) you want
to permit between the estimate of the population
parameter and the true population parameter.
o
Procedure
Once you have chosen D and alpha solve
the following equation for sample size n:
So this can be used for any of the estimators that we have
talked about thus far, you just need the proper standard
error
D estimator) the of error (standard
2 /
=
o
z
2
2 2
1
1 1
) (
2
2
2
1
2
1
s proportion of difference of estimation
proportion a of estimation
means of difference of estimation
mean the of estimation
2 1
2 1
n
q p
n
q p
n
q p
n n
n
p p
p
x x
x
+ =
=
+ =
=
o
o
o o
o
Additional info
When you are using two different samples
calculate just one n and use it for both
Choosing the proper standard deviation and
proportion can be hard, use any information
from past experiments you may have
When using proportions choosing a p of .5
will give you the largest possible n value
you may want to use it to be safe
Additional info continued
If you are concerned with the n to choose
when using means and you have some idea
of what the range (R ) is you can estimate
the standard deviation as
R = o 4
Example: we know the population standard
deviation is 0.24 and we want the error of
the estimation to be less than 0.06 with
95% confidence.
At least how many observations do we need in
the sample?