Confidence intervals - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Confidence intervals

Description:

A confidence interval (CI) is a range of possible guesses for a parameter. ... Either t or z. t-based. Normal population. Large. Small. Sample. size. 11/5/09 ... – PowerPoint PPT presentation

Number of Views:170
Avg rating:3.0/5.0
Slides: 18
Provided by: werners6
Category:

less

Transcript and Presenter's Notes

Title: Confidence intervals


1
Lecture 20
Outline
  • Confidence intervals
  • CIs for the mean based on CLT
  • Small sample CIs
  • the t-distribution
  • Other CIs

Next Example and bootstrap confidence intervals
2
Confidence intervals
  • When estimating a mean, what is
  • A confidence interval (CI) is a range of possible
    guesses for a parameter.
  • decide on a confidence level, usually 95,then
    the CI is the statistics LL and UL s.t.

3
Example CI for the mean
Pivotal quantity
4
CI for the mean
  • Now solve for parameter,

5
(No Transcript)
6
Example confidence interval
  • Consider the aiconditioner example from lecture
    19. Recall these are times between successive
    failures in a Boeing 720 aircraft
  • We decided these followed an exponential
    distribution with s59.6

aircraft6_c(23,261,87,7,120,14,62,47, 225,71,246,2
1,42,20,5,12,120,11,3,14,71,11, 14,11,16,90,1,16,5
2,95)
use CLT CI for s
7
Example confidence intervals
  • Confidence interval based on CLT

gt xbar lt- mean(aircraft6) gt s2 lt-
var(aircraft6) gt n lt- length(aircraft6) gt xbar
1.96 sqrt(s2/n) 1 85.32364 gt xbar - 1.96
sqrt(s2/n) 1 33.87636
Or in the menus statistics
one sample
compare samples
T-test
8
Notes about confidence intervals
See figure 7.5 on page 280 of the textbook.
9
Notes about confidence intervals
  • One sided confidence intervals are used if we
    want to make a one sided statement about a
    parameter. Same procedure, see page 230.
  • These confidence intervals are approximate for
    two reasons

10
Small sample confidence intervals
  • With small samples, we cannot rely on the CLT,
    however if we have normally distributed data we
    can still produce confidence intervals based on
    the t distribution
  • If the data is normally distributed, then
  • Where is a t distribution with n-1
    degrees of freedom

t-based intervals
Where t is the appropriate T-critical value
from t-tables (page 540).
11
(No Transcript)
12
Notes about the t-distribution
  • Symmetric
  • Quickly approaches the normal distribution in
    shape as n-1 increases
  • Probabilities can be found in the t-tables (page
    540)
  • Although often used in practice, if the data are
    not normally distributed
    and we do not know what to do. However in
    either case the t has longer tails than normal so
    supplies conservative inference.

13
Summary of CI for the mean
  • -- depends on CLT

14
Other confidence intervals
  • In general confidence intervals have the form
  • Examples are CI for
  • a proportion
  • the difference between two means

15
z from the normal- tables.
16
(No Transcript)
17
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com