141
beamer-tu-log Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem Lecture 15: Central Limit Theorem Kateˇ rina Sta ˇ nková Statistics (MAT1003) May 15, 2012

Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Lecture 15: Central Limit Theorem

Katerina Stanková

Statistics (MAT1003)

May 15, 2012

Page 2: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Outline

1 Chi-squared distribution (from last lecture)BasicsApplicationsExamples

2 Revision: Estimation Problems

3 Central Limit TheoremConfidence interval (CI)Estimation of µ and σ from the same dataTheorem

book: Sections 6.2-6.4,6.6

Page 3: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

And now . . .

1 Chi-squared distribution (from last lecture)BasicsApplicationsExamples

2 Revision: Estimation Problems

3 Central Limit TheoremConfidence interval (CI)Estimation of µ and σ from the same dataTheorem

Page 4: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Basics

Formulation

If X1, X2, . . . , Xn are IID, Xi ∼ N (0, 1), then χ2 def= X 2

1 + X 22 + . . .+ X 2

n

has a Gamma-distribution (Γ-distribution) with parameters α = n2 and

λ = 12 (book: β = 2)

This distribution is also called a Chi-squared distribution with n degreesof freedom

Notation χ2 ∼ χ2n

book: Table A5 - X such that P(χ2 ≥ x) = α for several values of degree offreedom n (book: n denoted by v ) and α

Page 5: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Basics

Formulation

If X1, X2, . . . , Xn are IID, Xi ∼ N (0, 1), then χ2 def= X 2

1 + X 22 + . . .+ X 2

n

has a Gamma-distribution (Γ-distribution) with parameters α = n2 and

λ = 12 (book: β = 2)

This distribution is also called a Chi-squared distribution with n degreesof freedom

Notation χ2 ∼ χ2n

book: Table A5 - X such that P(χ2 ≥ x) = α for several values of degree offreedom n (book: n denoted by v ) and α

Page 6: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Basics

Formulation

If X1, X2, . . . , Xn are IID, Xi ∼ N (0, 1), then χ2 def= X 2

1 + X 22 + . . .+ X 2

n

has a Gamma-distribution (Γ-distribution) with parameters α = n2 and

λ = 12 (book: β = 2)

This distribution is also called a Chi-squared distribution with n degreesof freedom

Notation χ2 ∼ χ2n

book: Table A5 - X such that P(χ2 ≥ x) = α for several values of degree offreedom n (book: n denoted by v ) and α

Page 7: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Basics

Formulation

If X1, X2, . . . , Xn are IID, Xi ∼ N (0, 1), then χ2 def= X 2

1 + X 22 + . . .+ X 2

n

has a Gamma-distribution (Γ-distribution) with parameters α = n2 and

λ = 12 (book: β = 2)

This distribution is also called a Chi-squared distribution with n degreesof freedom

Notation χ2 ∼ χ2n

book: Table A5 - X such that P(χ2 ≥ x) = α for several values of degree offreedom n (book: n denoted by v ) and α

Page 8: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Basics

Formulation

If X1, X2, . . . , Xn are IID, Xi ∼ N (0, 1), then χ2 def= X 2

1 + X 22 + . . .+ X 2

n

has a Gamma-distribution (Γ-distribution) with parameters α = n2 and

λ = 12 (book: β = 2)

This distribution is also called a Chi-squared distribution with n degreesof freedom

Notation χ2 ∼ χ2n

book: Table A5 - X such that P(χ2 ≥ x) = α for several values of degree offreedom n (book: n denoted by v ) and α

Page 9: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Basics

Formulation

If X1, X2, . . . , Xn are IID, Xi ∼ N (0, 1), then χ2 def= X 2

1 + X 22 + . . .+ X 2

n

has a Gamma-distribution (Γ-distribution) with parameters α = n2 and

λ = 12 (book: β = 2)

This distribution is also called a Chi-squared distribution with n degreesof freedom

Notation χ2 ∼ χ2n

book: Table A5 - X such that P(χ2 ≥ x) = α for several values of degree offreedom n (book: n denoted by v ) and α

Page 10: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Applications

Estimation of σ

Let X1, X2, . . . , X5 ∼ N (µ, σ) IDD with known µ and unknown σ

Then Zi = Xi−µσ∼ N (0, 1)

⇒ Z 2i = (Xi−µ)2

σ2 ∼ χ21

⇒ χ2 def=∑n

i=1 Z 2i = 1

σ2

∑ni=1(Xi − µ)2 ∼ χ2

n

Page 11: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Applications

Estimation of σ

Let X1, X2, . . . , X5 ∼ N (µ, σ) IDD with known µ and unknown σ

Then Zi = Xi−µσ∼ N (0, 1)

⇒ Z 2i = (Xi−µ)2

σ2 ∼ χ21

⇒ χ2 def=∑n

i=1 Z 2i = 1

σ2

∑ni=1(Xi − µ)2 ∼ χ2

n

Page 12: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Applications

Estimation of σ

Let X1, X2, . . . , X5 ∼ N (µ, σ) IDD with known µ and unknown σThen Zi = Xi−µ

σ∼ N (0, 1)

⇒ Z 2i = (Xi−µ)2

σ2 ∼ χ21

⇒ χ2 def=∑n

i=1 Z 2i = 1

σ2

∑ni=1(Xi − µ)2 ∼ χ2

n

Page 13: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Applications

Estimation of σ

Let X1, X2, . . . , X5 ∼ N (µ, σ) IDD with known µ and unknown σThen Zi = Xi−µ

σ∼ N (0, 1)

⇒ Z 2i = (Xi−µ)2

σ2 ∼ χ21

⇒ χ2 def=∑n

i=1 Z 2i = 1

σ2

∑ni=1(Xi − µ)2 ∼ χ2

n

Page 14: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Applications

Estimation of σ

Let X1, X2, . . . , X5 ∼ N (µ, σ) IDD with known µ and unknown σThen Zi = Xi−µ

σ∼ N (0, 1)

⇒ Z 2i = (Xi−µ)2

σ2 ∼ χ21

⇒ χ2 def=∑n

i=1 Z 2i = 1

σ2

∑ni=1(Xi − µ)2 ∼ χ2

n

Page 15: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?

Let χ2 def= 1

σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 16: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?

Let χ2 def= 1

σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 17: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 18: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 19: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 20: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95

⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 21: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 22: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σ

Similarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 23: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. Therealizations for X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σare reasonable?Let χ2 def

= 1σ2

∑5i=1(Xi − µ)2

= 1σ2 ((−1.5)2 + (0.7)2 + (−3.8)2 + (1.8)2 + (2.1)2) = 24.83

σ2

Table A5: P(χ2 ≥ 12.832) = 0.025 and P(χ2 ≥ 0.831) = 0.975

So (fill in the realization for χ2): P(0.831 ≤ 24.83σ2 ≤ 12.832) =

0.975− 0.025 = 0.95⇔ P(σ2 ∈ [1.935, 29.88]) = 0.95⇔ P(σ ∈ [1.391, 5.466]) = 0.95

Apparently reasonable values for σ are between 1.391 and 5.466. We call[1.391, 5.466] a 95 % confidence interval for σSimilarly, [1.935, 29.88] is a 95 % confidence interval for σ2

Page 24: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2

=n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 25: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.

Some calculations show:n∑

i=1

(xi − µ)2

=n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 26: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2

=n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 27: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2 =n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 28: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2 =n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 29: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2 =n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 30: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2 =n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 31: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Data: X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ, σ unknown.Some calculations show:

n∑i=1

(xi − µ)2 =n∑

i=1

((xi − x) + (x − µ))2

=n∑

i=1

(xi − x)2 + 2n∑

i=1

(xi − x)︸ ︷︷ ︸=0 for N (µ,σ)

(x − µ) +n∑

i=1

(x − µ)2

=n∑

i=1

(xi − x)2 + n · (x − µ)2

Now, since s2 = 1n−1

∑ni=1(xi − x)2, we have

1σ2

n∑i=1

(xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (x−µ)2

σ2/n

Page 32: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Now, since s2 = 1n−1

∑ni=1(Xi − X )2, we have

1σ2

n∑i=1

(Xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (X−µ)2

σ2/n

⇒ X = 1n

∑ni=1 Xi ∼ N (µ, σ√

n )

⇒ Z = X−µσ/√

n ∼ N (0, 1)

⇒ (X−µ)2

σ2/n =(

X−µσ/√

n

)2∼ χ2

1

⇒ The statistics χ2 def= (n−1) s2

σ2 =∑n

i=1(Xi−X)2

σ2 ∼ χ2n−1

Page 33: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Now, since s2 = 1n−1

∑ni=1(Xi − X )2, we have

1σ2

n∑i=1

(Xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (X−µ)2

σ2/n

⇒ X = 1n

∑ni=1 Xi ∼ N (µ, σ√

n )

⇒ Z = X−µσ/√

n ∼ N (0, 1)

⇒ (X−µ)2

σ2/n =(

X−µσ/√

n

)2∼ χ2

1

⇒ The statistics χ2 def= (n−1) s2

σ2 =∑n

i=1(Xi−X)2

σ2 ∼ χ2n−1

Page 34: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Now, since s2 = 1n−1

∑ni=1(Xi − X )2, we have

1σ2

n∑i=1

(Xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (X−µ)2

σ2/n

⇒ X = 1n

∑ni=1 Xi ∼ N (µ, σ√

n )

⇒ Z = X−µσ/√

n ∼ N (0, 1)

⇒ (X−µ)2

σ2/n =(

X−µσ/√

n

)2∼ χ2

1

⇒ The statistics χ2 def= (n−1) s2

σ2 =∑n

i=1(Xi−X)2

σ2 ∼ χ2n−1

Page 35: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Now, since s2 = 1n−1

∑ni=1(Xi − X )2, we have

1σ2

n∑i=1

(Xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (X−µ)2

σ2/n

⇒ X = 1n

∑ni=1 Xi ∼ N (µ, σ√

n )

⇒ Z = X−µσ/√

n ∼ N (0, 1)

⇒ (X−µ)2

σ2/n =(

X−µσ/√

n

)2∼ χ2

1

⇒ The statistics χ2 def= (n−1) s2

σ2 =∑n

i=1(Xi−X)2

σ2 ∼ χ2n−1

Page 36: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Now, since s2 = 1n−1

∑ni=1(Xi − X )2, we have

1σ2

n∑i=1

(Xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (X−µ)2

σ2/n

⇒ X = 1n

∑ni=1 Xi ∼ N (µ, σ√

n )

⇒ Z = X−µσ/√

n ∼ N (0, 1)

⇒ (X−µ)2

σ2/n =(

X−µσ/√

n

)2∼ χ2

1

⇒ The statistics χ2 def= (n−1) s2

σ2 =∑n

i=1(Xi−X)2

σ2 ∼ χ2n−1

Page 37: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example 8: What if µ is unknown as well?

Now, since s2 = 1n−1

∑ni=1(Xi − X )2, we have

1σ2

n∑i=1

(Xi − µ)2

︸ ︷︷ ︸∼χ2

n

= (n−1)·s2

σ2 + (X−µ)2

σ2/n

⇒ X = 1n

∑ni=1 Xi ∼ N (µ, σ√

n )

⇒ Z = X−µσ/√

n ∼ N (0, 1)

⇒ (X−µ)2

σ2/n =(

X−µσ/√

n

)2∼ χ2

1

⇒ The statistics χ2 def= (n−1) s2

σ2 =∑n

i=1(Xi−X)2

σ2 ∼ χ2n−1

Page 38: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonable

Let χ2 def= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]

Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 39: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonable

Let χ2 def= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 40: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 41: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 42: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732

⇒ χ2 = 24.732σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 43: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 44: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 45: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975

⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 46: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95

⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 47: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 48: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]

95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 49: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]

Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 50: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Examples

Example

Let X1, X2, . . . , Xn ∼ N (µ, σ) IDD with µ = 5 and unknown σ. The realizationsfor X1, . . . , X5 are 3.5, 5.7, 1.2, 6.8, and 7.1. What values of σ are reasonableLet χ2 def

= (n−1)s2

σ2 ∼ χ2n−1 = χ2

4

x = 15 (3.5 + 5.7 + 1.2 + 6.8 + 7.1) = 4.86

(n − 1)s2 =∑n

i=1(xi − x)2 = 24.732⇒ χ2 = 24.732

σ2

Construct a 95% confidence interval for σ :

Table A5: P(χ2 ≥ 11.143) = 0.025 and P(χ2 ≥ 0.484) = 0.975⇒ P(0.484 ≤ 24.732/σ2 ≤ 11.143) = 0.95⇒ P(24.732/11.143 ≤ σ2 ≤ 24.732/0.484) = 0.95

95% CI for σ2: [24.732/11.143, 24.732/0.484] = [0.220, 51.0999]95% CI for σ: [1.490, 7.148]Important!: These calculations use the fact that Xi ’s are normally distributed.If it is not the case, we cannot use χ2-distributions!

Page 51: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

And now . . .

1 Chi-squared distribution (from last lecture)BasicsApplicationsExamples

2 Revision: Estimation Problems

3 Central Limit TheoremConfidence interval (CI)Estimation of µ and σ from the same dataTheorem

Page 52: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 53: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ)

(we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 54: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 55: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 56: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 57: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 58: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 59: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:

Sample variance S2 = 1n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 60: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 61: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)

Previous lecture – estimation of σ2 or σµ known: χ2 def

=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 62: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 63: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 64: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

X1, X2, . . . , Xn, IID N (µ, σ) (we sometimes talk about realization (“points”)x1,. . . , xn of X1,. . . , Xn; it will be clear from context which of the two notionswe mean)Sample mean:

Sample mean has realization x = 1n

∑ni=1 xi

E(X ) = µ (unbiased)

V (X ) = σ2

n (σX = σ√n )

⇒ X ∼ N (µ, σ√n )

Sample variance:Sample variance S2 = 1

n−1

∑ni=1(Xi − X )2 (realization

s2 = 1n−1

∑ni=1(xi − x)2)

E(S2) = σ2 (unbiased)Previous lecture – estimation of σ2 or σ

µ known: χ2 def=∑n

i=1(Xi−µ)

σ2 ∼ χ2n (chi-squared distribution with n

degrees of freedom)⇒ calculate confidence interval (CI) for σ2

µ unknown: χ2 def=∑n

i=1(Xi−X)

σ2 = (n−1)S2

σ2 ∼ χ2n−1 (chi-squared

distribution with n degrees of freedom)⇒ calculate confidence interval(CI) for σ2 and σ2 (book: Section 9.12)

Page 65: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

And now . . .

1 Chi-squared distribution (from last lecture)BasicsApplicationsExamples

2 Revision: Estimation Problems

3 Central Limit TheoremConfidence interval (CI)Estimation of µ and σ from the same dataTheorem

Page 66: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− αFill in the realization x for X and make a few calculations:P(x − z·σ√

n ≤ µ ≤ x + z·σ√n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 67: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− αFill in the realization x for X and make a few calculations:P(x − z·σ√

n ≤ µ ≤ x + z·σ√n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 68: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− αFill in the realization x for X and make a few calculations:P(x − z·σ√

n ≤ µ ≤ x + z·σ√n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 69: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− α

Fill in the realization x for X and make a few calculations:P(x − z·σ√

n ≤ µ ≤ x + z·σ√n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 70: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− αFill in the realization x for X and make a few calculations:

P(x − z·σ√n ≤ µ ≤ x + z·σ√

n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 71: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− αFill in the realization x for X and make a few calculations:P(x − z·σ√

n ≤ µ ≤ x + z·σ√n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 72: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Estimation of µ

X1, X2, . . . , Xn ∼ N (µ, σ) IDD, with σ known. Define Z def= X−µ

σ/√

n ∼ N (0, 1)

P(−z ≤ Z = X−µσ/√

n ≤ z) = 1− αFill in the realization x for X and make a few calculations:P(x − z·σ√

n ≤ µ ≤ x + z·σ√n ) = 1− α

Hence

(1− α)CIor (1− α) · 100% CI

}for µ ∈

[x − z · σ√

n, x +

z · σ√n

]

Page 73: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1};

µ unknown, σ = 2Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 74: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}; µ unknown, σ = 2

Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 75: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}; µ unknown, σ = 2Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 76: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}; µ unknown, σ = 2Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 77: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}; µ unknown, σ = 2Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 78: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}; µ unknown, σ = 2Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 79: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 1

X1, . . . ,X5 ∼ N (µ, σ) IID{x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}; µ unknown, σ = 2Calculate a 92 % CI for µ

x = 4.86

Determine z such that P(Z ≤ z) = 0.04⇒ z = −1.75

P(−1.75 ≤ 4.86−µ2/√

5≤ 1.75) = 0.92⇔

P(4.86− 1.75·2√5≤ µ ≤ 4.86 + 1.75·2√

5) = 0.92

⇔ 92 % CI for µ :[4.86− 1.75·2√

5, 4.86 + 1.75·2√

5

]= [3.295, 6.425]

Page 80: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 2(from before)

X1, . . . ,X75 ∼ N (µ, σ) IID, σ = 0.0015, x = 0.310 (realization of X )

Determine z such that P(Z ≤ z) = 0.025⇒ z = −1.96

P(−1.96 ≤ 0.310−µ0.0015/

√75≤ 1.96) = 0.05

⇔ P(0.310− 1.96·0.0015√75

≤ µ ≤ 0.310 + 1.96·0.0015√75

) = 0.95

⇒ 95 % CI for µ : [0.3097, 0.3103]

Page 81: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 2(from before)

X1, . . . ,X75 ∼ N (µ, σ) IID, σ = 0.0015, x = 0.310 (realization of X )

Determine z such that P(Z ≤ z) = 0.025⇒ z = −1.96

P(−1.96 ≤ 0.310−µ0.0015/

√75≤ 1.96) = 0.05

⇔ P(0.310− 1.96·0.0015√75

≤ µ ≤ 0.310 + 1.96·0.0015√75

) = 0.95

⇒ 95 % CI for µ : [0.3097, 0.3103]

Page 82: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 2(from before)

X1, . . . ,X75 ∼ N (µ, σ) IID, σ = 0.0015, x = 0.310 (realization of X )

Determine z such that P(Z ≤ z) = 0.025⇒ z = −1.96

P(−1.96 ≤ 0.310−µ0.0015/

√75≤ 1.96) = 0.05

⇔ P(0.310− 1.96·0.0015√75

≤ µ ≤ 0.310 + 1.96·0.0015√75

) = 0.95

⇒ 95 % CI for µ : [0.3097, 0.3103]

Page 83: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 2(from before)

X1, . . . ,X75 ∼ N (µ, σ) IID, σ = 0.0015, x = 0.310 (realization of X )

Determine z such that P(Z ≤ z) = 0.025⇒ z = −1.96

P(−1.96 ≤ 0.310−µ0.0015/

√75≤ 1.96) = 0.05

⇔ P(0.310− 1.96·0.0015√75

≤ µ ≤ 0.310 + 1.96·0.0015√75

) = 0.95

⇒ 95 % CI for µ : [0.3097, 0.3103]

Page 84: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Confidence interval (CI)

Example 2(from before)

X1, . . . ,X75 ∼ N (µ, σ) IID, σ = 0.0015, x = 0.310 (realization of X )

Determine z such that P(Z ≤ z) = 0.025⇒ z = −1.96

P(−1.96 ≤ 0.310−µ0.0015/

√75≤ 1.96) = 0.05

⇔ P(0.310− 1.96·0.0015√75

≤ µ ≤ 0.310 + 1.96·0.0015√75

) = 0.95

⇒ 95 % CI for µ : [0.3097, 0.3103]

Page 85: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 86: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 87: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 88: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 89: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 90: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 91: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 92: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α

orsimilarly: P(T ≤ −t) = 1− α

Page 93: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Estimation of µ if σ is unknown

Natural statistics for µ : X1, . . . ,Xn ∼ N (µ, σ) IID

T = X−µS√

n(use sample standard deviation instead of σ)

T = X−µS/√

n = X−µσ/√

n ·σS

Let Z def= X−µ

σ/√

n ∼ N (0, 1), χ2 def= (n−1)s2

σ2 ∼ χ2n−1

Then: T = Z√χ2/(n−1)

and is distributed according to the t-distribution

with n − 1 degrees of freedom

How to find P(T ≥ t)?

book – table A4: Values of t such that P(T ≥ t) = α - for severalα < 0.5 and v = ] degrees of freedom

Due to symmetry around t = 0 we have P(T ≤ −t) = P(T ≥ t) = α orsimilarly: P(T ≤ −t) = 1− α

Page 94: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 95: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 96: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 97: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 98: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 99: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 100: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 101: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 1 (from before)

Let {x1, . . . , x5} = {3.5, 5.7, 1.2, 6.8, 7.1}. Suppose that σ is unknown,Xi ∼ N (µ, σ). Calculate a 98.5% CI for µ.From before:

x = 4.86

(n − 1) · s2 = 24.732⇒ s =√

24.7324 = 2.487

T = X−µS/√

n ∼ tn−1 = t4

Realization for T : 4.86−µ2.487/

√5

Then: P(T ≥ 1) = 0.0075⇒ t = 4.088 (table A4)

Hence: P(−4.088 ≤ 4.86−µ2.487/

√5≤ 4.088) = 0.985

⇔ P(0.313 ≤ µ ≤ 9.407) = 0.985

Therefore: 98% CI for µ : [0.313, 9.407]

Page 102: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 103: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 104: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 105: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 106: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 107: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 108: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

General formula

If σ is unknown:

1− α CI for µ(1− α) · 100% CI for µ

}:

[x − t · s√

n, x +

t · s√n

],

where t can be found in table A4.

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310, lets = 0.0028. Calculate a 90% CI for µ

T = x−µS/√

n ∼ tn−1 ⇒ 0.310−µ0.0028/

√95∼ t74 - not in the table, we approximate

by t60 (“pretty close”)

P(−1.671 ≤ 0.310−µ0.0028/

√75≤ 1.671) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.9

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 109: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n⇒ E(χ2) = n, V (χ2) = 2 n

Page 110: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n⇒ E(χ2) = n, V (χ2) = 2 n

Page 111: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n⇒ E(χ2) = n, V (χ2) = 2 n

Page 112: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n⇒ E(χ2) = n, V (χ2) = 2 n

Page 113: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n⇒ E(χ2) = n, V (χ2) = 2 n

Page 114: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74

Note (from before): χ2 ∼ χ2n⇒ E(χ2) = n, V (χ2) = 2 n

Page 115: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n

⇒ E(χ2) = n, V (χ2) = 2 n

Page 116: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Estimation of µ and σ from the same data

Example 2 (from before)

Given: X1, . . . ,X75 IID, Xi ∼ N (µ, σ), µ and σ unknown, x = 0.310,s = 0.0028. Calculate a 96% CI for σ

T = (n−1) S2

σ2 ∼ χ2n−1

⇒ 74 (0.0028)2

σ2 ∼ χ274

No approximation in any table, χ230 is not even close to χ2

74Note (from before): χ2 ∼ χ2

n⇒ E(χ2) = n, V (χ2) = 2 n

Page 117: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 118: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 119: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 120: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 121: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 122: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 123: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 124: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

What if the random sample does not have a normal distribution?

Small sample size (book: n ≤ 30): We have a problem

Large sample size (book: n > 30): We have a very surprising solution

Central limit theorem

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Book: Sections 8.4 (σ known), 9.4 (σ unknown)

Page 125: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 126: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 127: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 128: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 129: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 130: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 131: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 132: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 133: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 134: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

napprox∼ N (0, 1)

Example 2 (from before)

Let X1, . . . ,X75 IID, suppose we do not know normality, µ, σ unknown

We know: x = 0.310, s = 0.0028, n = 75

⇒ X−µσ/√

napprox∼ N (0, 1) according to CLT

⇒ Realization: 0.310−µ0.0028/

√75

⇒ 90 % CI for µ : P(−1.645 ≤ 0.310−µ0.0028/

√75≤ 1.645) = 0.90

⇒ P(0.3095 ≤ µ ≤ 0.3105) = 0.90

⇒ 90 % CI for µ : [0.3095, 0.3105]

Page 135: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1 ⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.

Page 136: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1 ⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.

Page 137: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1 ⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.

Page 138: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1 ⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.

Page 139: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1

⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.

Page 140: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1 ⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.

Page 141: Lecture 15: Central Limit Theorem - StankovaLecture 15: Central Limit Theorem Kateˇrina Sta nkovᡠStatistics (MAT1003) May 15, 2012 beamer-tu-logo Chi-squared distribution (from

beamer-tu-logo

Chi-squared distribution (from last lecture) Revision: Estimation Problems Central Limit Theorem

Theorem

Central limit theorem (CLT)

Let X1, . . . ,Xn be IID with unknown µ and σ.

Then E(X ) = µ, V (X ) = σ2

n , and, if n is big enough,

Z def=

X − µσ/√

n≈∼ N (0, 1)

Remarks

Use T-distribution if you have enough information: i.e. normaldistribution and a not too large sample

χ2 def= (n−1) s2

σ2 ∼ χ2n−1 ⇒ V (χ2) = 2(n − 1)

⇒ V ( s2

σ2 ) = 1(n−1)2 · V (χ2) = 2

n−1n→∞→ 0, whereas E( s2

σ2 ) = n−1n−1 = 1⇒

That is why we may replace σ by S.