SlideShare a Scribd company logo
1 of 21
Chi-square and F Distributions
Children of the Normal
Questions
• What is the chi-square distribution?
How is it related to the Normal?
• How is the chi-square distribution
related to the sampling distribution of
the variance?
• Test a population value of the variance;
put confidence intervals around a
population value.
Questions
• How is the F distribution related the
Normal? To Chi-square?
Distributions
• There are many theoretical
distributions, both continuous and
discrete. Howell calls these test
statistics
• We use 4 test statistics a lot: z (unit
normal), t, chi-square ( ), and F.
• Z and t are closely related to the
sampling distribution of means; chi-
square and F are closely related to the
sampling distribution of variances.
2

Chi-square Distribution (1)

)
(
;
)
( 



X
z
SD
X
X
z
2
2
2 )
(




X
z
z score
z score squared
2
)
1
(
2


z Make it Greek
What would its sampling distribution look like?
Minimum value is zero.
Maximum value is infinite.
Most values are between zero and 1;
most around zero.
Chi-square (2)
What if we took 2 values of z2 at random and added them?
2
2
2
2
2
2
2
1
2
1
)
(
;
)
(



 



X
z
X
z 2
2
2
1
2
2
2
2
2
1
2
)
2
(
)
(
)
(
z
z
X
X











Chi-square is the distribution of a sum of squares.
Each squared deviation is taken from the unit normal:
N(0,1). The shape of the chi-square distribution
depends on the number of squared deviates that are
added together.
Same minimum and maximum as before, but now average
should be a bit bigger.
Chi-square 3
The distribution of chi-square depends on
1 parameter, its degrees of freedom (df or
v). As df gets large, curve is less skewed,
more normal.
Chi-square (4)
• The expected value of chi-square is df.
– The mean of the chi-square distribution is its
degrees of freedom.
• The expected variance of the distribution is
2df.
– If the variance is 2df, the standard deviation must
be sqrt(2df).
• There are tables of chi-square so you can find
5 or 1 percent of the distribution.
• Chi-square is additive. 2
)
(
2
)
(
2
)
( 2
1
2
1 v
v
v
v 

 


Distribution of Sample
Variance
1
)
( 2
2




N
y
y
s
Sample estimate of population variance
(unbiased).
2
2
2
)
1
(
)
1
(


s
N
N



Multiply variance estimate by N-1 to
get sum of squares. Divide by
population variance to stadnardize.
Result is a random variable distributed
as chi-square with (N-1) df.
We can use info about the sampling distribution of the
variance estimate to find confidence intervals and
conduct statistical tests.
Testing Exact Hypotheses
about a Variance
2
0
2
0 : 
 
H Test the null that the population
variance has some specific value. Pick
alpha and rejection region. Then:
2
0
2
2
)
1
(
)
1
(


s
N
N



Plug hypothesized population
variance and sample variance into
equation along with sample size we
used to estimate variance. Compare
to chi-square distribution.
Example of Exact Test
Test about variance of height of people in inches. Grab 30
people at random and measure height.
55
.
4
;
30
.
25
.
6
:
;
25
.
6
:
2
2
1
2
0




s
N
H
H 
 Note: 1 tailed test on
small side. Set alpha=.01.
11
.
21
25
.
6
)
55
.
4
)(
29
(
2
29 


Mean is 29, so it’s on the small
side. But for Q=.99, the value
of chi-square is 14.257.
Cannot reject null.
55
.
4
;
30
.
25
.
6
:
;
25
.
6
:
2
2
1
2
0




s
N
H
H 

Now chi-square with v=29 and Q=.995 is 13.121 and
also with Q=.005 the result is 52.336. N. S. either way.
Note: 2 tailed with alpha=.01.
Confidence Intervals for the
Variance
We use to estimate . It can be shown that:
2
s
2

95
.
)
1
(
)
1
(
2
)
975
;.
1
(
2
2
2
)
025
;.
1
(
2








 




 N
N
s
N
s
N
p



Suppose N=15 and is 10. Then df=14 and for Q=.025
the value is 26.12. For Q=.975 the value is 5.63.
95
.
63
.
5
)
10
)(
14
(
12
.
26
)
10
)(
14
( 2








 
p
  95
.
87
.
24
36
.
5 2


 
p
2
s
Normality Assumption
• We assume normal distributions to figure
sampling distributions and thus p levels.
• Violations of normality have minor
implications for testing means, especially as
N gets large.
• Violations of normality are more serious for
testing variances. Look at your data before
conducting this test. Can test for normality.
Review
• You have sample 25 children from an
elementary school 5th grade class and
measured the height of each. You
wonder whether these children are more
variable in height than typical children.
Their variance in height is 4. Compute
a confidence interval for this variance.
If the variance of height in children in
5th grade nationally is 2, do you
consider this sample ordinary?
The F Distribution (1)
• The F distribution is the ratio of two
variance estimates:
• Also the ratio of two chi-squares, each
divided by its degrees of freedom:
2
2
2
1
2
2
2
1
.
.


est
est
s
s
F 

2
2
(
1
2
)
(
/
)
/
2
1
v
v
F
v
v



In our applications, v2 will be larger
than v1 and v2 will be larger than 2.
In such a case, the mean of the F
distribution (expected value) is
v2 /(v2 -2).
F Distribution (2)
• F depends on two parameters: v1 and
v2 (df1 and df2). The shape of F
changes with these. Range is 0 to
infinity. Shaped a bit like chi-square.
• F tables show critical values for df in
the numerator and df in the
denominator.
• F tables are 1-tailed; can figure 2-tailed
if you need to (but you usually don’t).
F table – critical values
Numerator df: dfB
dfW 1 2 3 4 5
5 5%
1%
6.61
16.3
5.79
13.3
5.41
12.1
5.19
11.4
5.05
11.0
10 5%
1%
4.96
10.0
4.10
7.56
3.71
6.55
3.48
5.99
3.33
5.64
12 5%
1%
4.75
9.33
3.89
6.94
3.49
5.95
3.26
5.41
3.11
5.06
14 5%
1%
4.60
8.86
3.74
6.51
3.34
5.56
3.11
5.04
2.96
4.70
e.g. critical value of F at alpha=.05 with 3 & 12 df =3.49
Testing Hypotheses about 2
Variances
• Suppose
– Note 1-tailed.
• We find
• Then df1=df2 = 15, and
2
2
2
1
1
2
2
2
1
0 :
;
: 


 
 H
H
7
.
1
;
16
;
8
.
5
;
16 2
2
2
2
1
1 


 s
N
s
N
41
.
3
7
.
1
8
.
5
2
2
2
1



s
s
F Going to the F table with 15
and 15 df, we find that for alpha
= .05 (1-tailed), the critical
value is 2.40. Therefore the
result is significant.
A Look Ahead
• The F distribution is used in many
statistical tests
– Test for equality of variances.
– Tests for differences in means in ANOVA.
– Tests for regression models (slopes
relating one continuous variable to another
like SAT and GPA).
Relations among Distributions
– the Children of the Normal
• Chi-square is drawn from the normal.
N(0,1) deviates squared and summed.
• F is the ratio of two chi-squares, each
divided by its df. A chi-square divided
by its df is a variance estimate, that is,
a sum of squares divided by degrees of
freedom.
• F = t2. If you square t, you get an F
with 1 df in the numerator.
)
,
1
(
2
)
( v
v F
t 
Review
• How is F related to the Normal? To
chi-square?
• Suppose we have 2 samples and we
want to know whether they were drawn
from populations where the variances
are equal. Sample1: N=50, s2=25;
Sample 2: N=60, s2=30. How can we
test? What is the best conclusion for
these data?

More Related Content

Similar to 7 Chi-square and F (1).ppt

Measures of Variability.pptx
Measures of Variability.pptxMeasures of Variability.pptx
Measures of Variability.pptxNehaMishra52555
 
Chapter 7 Powerpoint
Chapter 7 PowerpointChapter 7 Powerpoint
Chapter 7 PowerpointZIADALRIFAI
 
Chi square distribution and analysis of frequencies.pptx
Chi square distribution and analysis of frequencies.pptxChi square distribution and analysis of frequencies.pptx
Chi square distribution and analysis of frequencies.pptxZayYa9
 
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and IndependenceThe Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and Independencejasondroesch
 
Chapter 3 Standard scores.pptx
Chapter 3 Standard scores.pptxChapter 3 Standard scores.pptx
Chapter 3 Standard scores.pptxNELVINNOOL1
 
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdfDr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdfHassanMohyUdDin2
 
Unit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdf
Unit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdfUnit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdf
Unit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdfRavinandan A P
 
descriptive statistics.pptx
descriptive statistics.pptxdescriptive statistics.pptx
descriptive statistics.pptxTeddyteddy53
 
Chapter 2 Standard scores.pptx
Chapter 2 Standard scores.pptxChapter 2 Standard scores.pptx
Chapter 2 Standard scores.pptxNELVINNOOL1
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1iamkim
 
State presentation2
State presentation2State presentation2
State presentation2Lata Bhatta
 
Measures of Variability
Measures of VariabilityMeasures of Variability
Measures of Variabilityjasondroesch
 
Chapter 3 Ken Black 2.ppt
Chapter 3 Ken Black 2.pptChapter 3 Ken Black 2.ppt
Chapter 3 Ken Black 2.pptNurinaSWGotami
 
Z-scores: Location of Scores and Standardized Distributions
Z-scores: Location of Scores and Standardized DistributionsZ-scores: Location of Scores and Standardized Distributions
Z-scores: Location of Scores and Standardized Distributionsjasondroesch
 
NON-PARAMETRIC TESTS.pptx
NON-PARAMETRIC TESTS.pptxNON-PARAMETRIC TESTS.pptx
NON-PARAMETRIC TESTS.pptxDrLasya
 

Similar to 7 Chi-square and F (1).ppt (20)

Measures of Variability.pptx
Measures of Variability.pptxMeasures of Variability.pptx
Measures of Variability.pptx
 
F-Distribution
F-DistributionF-Distribution
F-Distribution
 
Chapter 7 Powerpoint
Chapter 7 PowerpointChapter 7 Powerpoint
Chapter 7 Powerpoint
 
Chi square distribution and analysis of frequencies.pptx
Chi square distribution and analysis of frequencies.pptxChi square distribution and analysis of frequencies.pptx
Chi square distribution and analysis of frequencies.pptx
 
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and IndependenceThe Chi-Square Statistic: Tests for Goodness of Fit and Independence
The Chi-Square Statistic: Tests for Goodness of Fit and Independence
 
Chapter 3 Standard scores.pptx
Chapter 3 Standard scores.pptxChapter 3 Standard scores.pptx
Chapter 3 Standard scores.pptx
 
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdfDr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
 
Unit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdf
Unit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdfUnit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdf
Unit-I Measures of Dispersion- Biostatistics - Ravinandan A P.pdf
 
descriptive statistics.pptx
descriptive statistics.pptxdescriptive statistics.pptx
descriptive statistics.pptx
 
The T-test
The T-testThe T-test
The T-test
 
Chapter 2 Standard scores.pptx
Chapter 2 Standard scores.pptxChapter 2 Standard scores.pptx
Chapter 2 Standard scores.pptx
 
Stat1008 Tutorial
Stat1008 TutorialStat1008 Tutorial
Stat1008 Tutorial
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1
 
Location Scores
Location  ScoresLocation  Scores
Location Scores
 
State presentation2
State presentation2State presentation2
State presentation2
 
Measures of Variability
Measures of VariabilityMeasures of Variability
Measures of Variability
 
Chapter 3 Ken Black 2.ppt
Chapter 3 Ken Black 2.pptChapter 3 Ken Black 2.ppt
Chapter 3 Ken Black 2.ppt
 
Location scores
Location scoresLocation scores
Location scores
 
Z-scores: Location of Scores and Standardized Distributions
Z-scores: Location of Scores and Standardized DistributionsZ-scores: Location of Scores and Standardized Distributions
Z-scores: Location of Scores and Standardized Distributions
 
NON-PARAMETRIC TESTS.pptx
NON-PARAMETRIC TESTS.pptxNON-PARAMETRIC TESTS.pptx
NON-PARAMETRIC TESTS.pptx
 

More from Abebe334138

Advanced Biostatistics presentation pptx
Advanced Biostatistics presentation  pptxAdvanced Biostatistics presentation  pptx
Advanced Biostatistics presentation pptxAbebe334138
 
Regression Analysis.ppt
Regression Analysis.pptRegression Analysis.ppt
Regression Analysis.pptAbebe334138
 
Lecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptxLecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptxAbebe334138
 
3. Statistical inference_anesthesia.pptx
3.  Statistical inference_anesthesia.pptx3.  Statistical inference_anesthesia.pptx
3. Statistical inference_anesthesia.pptxAbebe334138
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxAbebe334138
 
1. intro_biostatistics.pptx
1. intro_biostatistics.pptx1. intro_biostatistics.pptx
1. intro_biostatistics.pptxAbebe334138
 
ppt1221[1][1].pptx
ppt1221[1][1].pptxppt1221[1][1].pptx
ppt1221[1][1].pptxAbebe334138
 
dokumen.tips_biostatistics-basics-biostatistics.ppt
dokumen.tips_biostatistics-basics-biostatistics.pptdokumen.tips_biostatistics-basics-biostatistics.ppt
dokumen.tips_biostatistics-basics-biostatistics.pptAbebe334138
 

More from Abebe334138 (12)

Advanced Biostatistics presentation pptx
Advanced Biostatistics presentation  pptxAdvanced Biostatistics presentation  pptx
Advanced Biostatistics presentation pptx
 
Regression Analysis.ppt
Regression Analysis.pptRegression Analysis.ppt
Regression Analysis.ppt
 
Lecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptxLecture_5Conditional_Probability_Bayes_T.pptx
Lecture_5Conditional_Probability_Bayes_T.pptx
 
3. Statistical inference_anesthesia.pptx
3.  Statistical inference_anesthesia.pptx3.  Statistical inference_anesthesia.pptx
3. Statistical inference_anesthesia.pptx
 
chapter-7b.pptx
chapter-7b.pptxchapter-7b.pptx
chapter-7b.pptx
 
chapter -7.pptx
chapter -7.pptxchapter -7.pptx
chapter -7.pptx
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
RCT CH0.ppt
RCT CH0.pptRCT CH0.ppt
RCT CH0.ppt
 
1. intro_biostatistics.pptx
1. intro_biostatistics.pptx1. intro_biostatistics.pptx
1. intro_biostatistics.pptx
 
Lecture_R.ppt
Lecture_R.pptLecture_R.ppt
Lecture_R.ppt
 
ppt1221[1][1].pptx
ppt1221[1][1].pptxppt1221[1][1].pptx
ppt1221[1][1].pptx
 
dokumen.tips_biostatistics-basics-biostatistics.ppt
dokumen.tips_biostatistics-basics-biostatistics.pptdokumen.tips_biostatistics-basics-biostatistics.ppt
dokumen.tips_biostatistics-basics-biostatistics.ppt
 

Recently uploaded

Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetHubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...
Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...
Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...Sheetaleventcompany
 
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591adityaroy0215
 
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In RaipurCall Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipurgragmanisha42
 
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetTirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★
Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★
Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★indiancallgirl4rent
 
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhChandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhSheetaleventcompany
 
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...chandigarhentertainm
 
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Ernakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Ernakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetErnakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Ernakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Chandigarh
 
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetnagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetbhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171Call Girls Service Gurgaon
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...Gfnyt.com
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...russian goa call girl and escorts service
 
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅gragmanisha42
 
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetCall Girls Service
 
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅gragmanisha42
 
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012adityaroy0215
 

Recently uploaded (20)

Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetHubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Hubli Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Mangalore Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...
Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...
Punjab❤️Call girls in Mohali ☎️7435815124☎️ Call Girl service in Mohali☎️ Moh...
 
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
VIP Call Girl Sector 88 Gurgaon Delhi Just Call Me 9899900591
 
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In RaipurCall Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
 
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetTirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Tirupati Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★
Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★
Enjoyment ★ 8854095900 Indian Call Girls In Dehradun 🍆🍌 By Dehradun Call Girl ★
 
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhChandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
 
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
❤️Call girls in Jalandhar ☎️9876848877☎️ Call Girl service in Jalandhar☎️ Jal...
 
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Thane Just Call 9907093804 Top Class Call Girl Service Available
 
Ernakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Ernakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetErnakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Ernakulam Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetnagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetbhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
bhubaneswar Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171VIP Call Girl Sector 10 Noida Call Me: 9711199171
VIP Call Girl Sector 10 Noida Call Me: 9711199171
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF  ...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Jaispreet Call Girl Services in Jaipur QRYPCF ...
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
 
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
Russian Call Girls Kota * 8250192130 Service starts from just ₹9999 ✅
 
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
ooty Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
 
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
 

7 Chi-square and F (1).ppt

  • 1. Chi-square and F Distributions Children of the Normal
  • 2. Questions • What is the chi-square distribution? How is it related to the Normal? • How is the chi-square distribution related to the sampling distribution of the variance? • Test a population value of the variance; put confidence intervals around a population value.
  • 3. Questions • How is the F distribution related the Normal? To Chi-square?
  • 4. Distributions • There are many theoretical distributions, both continuous and discrete. Howell calls these test statistics • We use 4 test statistics a lot: z (unit normal), t, chi-square ( ), and F. • Z and t are closely related to the sampling distribution of means; chi- square and F are closely related to the sampling distribution of variances. 2 
  • 5. Chi-square Distribution (1)  ) ( ; ) (     X z SD X X z 2 2 2 ) (     X z z score z score squared 2 ) 1 ( 2   z Make it Greek What would its sampling distribution look like? Minimum value is zero. Maximum value is infinite. Most values are between zero and 1; most around zero.
  • 6. Chi-square (2) What if we took 2 values of z2 at random and added them? 2 2 2 2 2 2 2 1 2 1 ) ( ; ) (         X z X z 2 2 2 1 2 2 2 2 2 1 2 ) 2 ( ) ( ) ( z z X X            Chi-square is the distribution of a sum of squares. Each squared deviation is taken from the unit normal: N(0,1). The shape of the chi-square distribution depends on the number of squared deviates that are added together. Same minimum and maximum as before, but now average should be a bit bigger.
  • 7. Chi-square 3 The distribution of chi-square depends on 1 parameter, its degrees of freedom (df or v). As df gets large, curve is less skewed, more normal.
  • 8. Chi-square (4) • The expected value of chi-square is df. – The mean of the chi-square distribution is its degrees of freedom. • The expected variance of the distribution is 2df. – If the variance is 2df, the standard deviation must be sqrt(2df). • There are tables of chi-square so you can find 5 or 1 percent of the distribution. • Chi-square is additive. 2 ) ( 2 ) ( 2 ) ( 2 1 2 1 v v v v      
  • 9. Distribution of Sample Variance 1 ) ( 2 2     N y y s Sample estimate of population variance (unbiased). 2 2 2 ) 1 ( ) 1 (   s N N    Multiply variance estimate by N-1 to get sum of squares. Divide by population variance to stadnardize. Result is a random variable distributed as chi-square with (N-1) df. We can use info about the sampling distribution of the variance estimate to find confidence intervals and conduct statistical tests.
  • 10. Testing Exact Hypotheses about a Variance 2 0 2 0 :    H Test the null that the population variance has some specific value. Pick alpha and rejection region. Then: 2 0 2 2 ) 1 ( ) 1 (   s N N    Plug hypothesized population variance and sample variance into equation along with sample size we used to estimate variance. Compare to chi-square distribution.
  • 11. Example of Exact Test Test about variance of height of people in inches. Grab 30 people at random and measure height. 55 . 4 ; 30 . 25 . 6 : ; 25 . 6 : 2 2 1 2 0     s N H H   Note: 1 tailed test on small side. Set alpha=.01. 11 . 21 25 . 6 ) 55 . 4 )( 29 ( 2 29    Mean is 29, so it’s on the small side. But for Q=.99, the value of chi-square is 14.257. Cannot reject null. 55 . 4 ; 30 . 25 . 6 : ; 25 . 6 : 2 2 1 2 0     s N H H   Now chi-square with v=29 and Q=.995 is 13.121 and also with Q=.005 the result is 52.336. N. S. either way. Note: 2 tailed with alpha=.01.
  • 12. Confidence Intervals for the Variance We use to estimate . It can be shown that: 2 s 2  95 . ) 1 ( ) 1 ( 2 ) 975 ;. 1 ( 2 2 2 ) 025 ;. 1 ( 2                N N s N s N p    Suppose N=15 and is 10. Then df=14 and for Q=.025 the value is 26.12. For Q=.975 the value is 5.63. 95 . 63 . 5 ) 10 )( 14 ( 12 . 26 ) 10 )( 14 ( 2           p   95 . 87 . 24 36 . 5 2     p 2 s
  • 13. Normality Assumption • We assume normal distributions to figure sampling distributions and thus p levels. • Violations of normality have minor implications for testing means, especially as N gets large. • Violations of normality are more serious for testing variances. Look at your data before conducting this test. Can test for normality.
  • 14. Review • You have sample 25 children from an elementary school 5th grade class and measured the height of each. You wonder whether these children are more variable in height than typical children. Their variance in height is 4. Compute a confidence interval for this variance. If the variance of height in children in 5th grade nationally is 2, do you consider this sample ordinary?
  • 15. The F Distribution (1) • The F distribution is the ratio of two variance estimates: • Also the ratio of two chi-squares, each divided by its degrees of freedom: 2 2 2 1 2 2 2 1 . .   est est s s F   2 2 ( 1 2 ) ( / ) / 2 1 v v F v v    In our applications, v2 will be larger than v1 and v2 will be larger than 2. In such a case, the mean of the F distribution (expected value) is v2 /(v2 -2).
  • 16. F Distribution (2) • F depends on two parameters: v1 and v2 (df1 and df2). The shape of F changes with these. Range is 0 to infinity. Shaped a bit like chi-square. • F tables show critical values for df in the numerator and df in the denominator. • F tables are 1-tailed; can figure 2-tailed if you need to (but you usually don’t).
  • 17. F table – critical values Numerator df: dfB dfW 1 2 3 4 5 5 5% 1% 6.61 16.3 5.79 13.3 5.41 12.1 5.19 11.4 5.05 11.0 10 5% 1% 4.96 10.0 4.10 7.56 3.71 6.55 3.48 5.99 3.33 5.64 12 5% 1% 4.75 9.33 3.89 6.94 3.49 5.95 3.26 5.41 3.11 5.06 14 5% 1% 4.60 8.86 3.74 6.51 3.34 5.56 3.11 5.04 2.96 4.70 e.g. critical value of F at alpha=.05 with 3 & 12 df =3.49
  • 18. Testing Hypotheses about 2 Variances • Suppose – Note 1-tailed. • We find • Then df1=df2 = 15, and 2 2 2 1 1 2 2 2 1 0 : ; :       H H 7 . 1 ; 16 ; 8 . 5 ; 16 2 2 2 2 1 1     s N s N 41 . 3 7 . 1 8 . 5 2 2 2 1    s s F Going to the F table with 15 and 15 df, we find that for alpha = .05 (1-tailed), the critical value is 2.40. Therefore the result is significant.
  • 19. A Look Ahead • The F distribution is used in many statistical tests – Test for equality of variances. – Tests for differences in means in ANOVA. – Tests for regression models (slopes relating one continuous variable to another like SAT and GPA).
  • 20. Relations among Distributions – the Children of the Normal • Chi-square is drawn from the normal. N(0,1) deviates squared and summed. • F is the ratio of two chi-squares, each divided by its df. A chi-square divided by its df is a variance estimate, that is, a sum of squares divided by degrees of freedom. • F = t2. If you square t, you get an F with 1 df in the numerator. ) , 1 ( 2 ) ( v v F t 
  • 21. Review • How is F related to the Normal? To chi-square? • Suppose we have 2 samples and we want to know whether they were drawn from populations where the variances are equal. Sample1: N=50, s2=25; Sample 2: N=60, s2=30. How can we test? What is the best conclusion for these data?