20
Interval Estimation for Means Notes of STAT6205 by Dr. Fan

Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Interval Estimationfor MeansNotes of STAT6205 by Dr. Fan

Page 2: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Overview• Sections 6.2 and 6.3

• Introduction to interval estimation

• Confidence Intervals for One mean

• General construction of a confidence interval

• Confidence Intervals for difference of two means

• Pair Samples

6205-ch6 2

Page 3: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Interval Estimation

6205-ch6 3

Page 4: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Confidence vs. Probability

6205-ch6 4

The selection of sample is random.

But nothing is random after

we take the sample!

Page 5: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

(Symmetric) Confidence

Interval• A k% confidence interval (C.I.) for a parameter is an

interval of values computed from sample data that includes the parameter k% of time:

Point estimate + multiplier x standard error

• K% of time = k% of all possible samples

6205-ch6 5

Page 6: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Estimation of One Mean µWhen the population distribution is normal

Case 1: the SD σ is known � Z interval

Case 2: the SD is σ unknown � t interval

6205-ch6 6

nzX

σ*±

n

stX *±

Page 7: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Estimation of One Mean µWhen the population distribution is not normal but

sample size is larger (n> = 30)

Case 1: the SD σ is known

Z interval

Case 2: the SD is σ unknown

Z interval, replacing σ by s.

6205-ch6 7

Page 8: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

6205-ch6 8

Page 9: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Examples/Problems

6205-ch6 9

Page 10: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Examples/Problems• Example 1:

We would like to construct a 95% CI for the true mean weight of a newborn baby. Suppose the weight of a newborn baby follows a normal distribution. Given a random sample of 20 babies, with the sample mean of 8.5 lbs and sample s.d. of 3 lbs, construct such a interval estimate.

6205-ch6 10

Page 11: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Can CI be Asymmetric?• Endpoints can be unequal distance from the

estimate

• Can be one-sided interval

Example: Repeat Example 1 but find its one-sided interval (lower tailed).

• Why symmetric intervals are the best when dealing with the normal or t distribution unless otherwise stated?

6205-ch6 11

Page 12: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

How to Construct Good CIs• Wish to get a short interval with high degree of

confidence

Tradeoff:

• The wider the interval, the less precise it is

• The wider the interval, the more confidence that it contains the true parameter value.

Best CI:

For any given confidence level, it has the shortest interval.

6205-ch6 12

Page 13: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Difference of Two MeansWhen: Two independent random samples from two normal populations

Case 1: variances are known

Z interval

Case 2: variances are unknownwithout equal variance assumption

Approximate t intervalwith equal variance assumption

Pooled t interval

6205-ch6 13

Page 14: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Difference of Two MeansWhen: 2 independent random samples from two non-normal populations but large samples (n1, n2 >= 30)

Case 1: variances are known

Z interval

Case 2: variances are unknown

Z interval, replacing σi by Si.

6205-ch6 14

Page 15: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

6205-ch6 15

Page 16: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Examples/Problems• Example 2: Do basketball players have bigger feet

than football players?

• Example 3: To compare the performance of two sections, a test was given to both sections.

• From an estimation point of view (for variances), why is the pooled method preferred?

• How to check the assumption of equal variance?

6205-ch6 16

Page 17: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Example

6205-ch6 17

Page 18: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Example

6205-ch6 18

Page 19: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

Paired Samples

6205-ch6 19

Page 20: Interval Estimation for Means - CSU East Baysfan/SubPages/CSUteach...• Wish to get a short interval with high degree of confidence Tradeoff: • The wider the interval, the less

6205-ch6 20