Sei sulla pagina 1di 18

Chapter 7

Inferences Regarding Population


Variances

(
Y

V
(Y
)

[s2
E
(
)in1n
Y

]yi

N
2
1
N
2
i1
22i
Introduction

Population Variance: Measure of average squared


deviation of individual measurements around the mean

Sample Variance: Measure of average squared


deviation of a sample of measurements around their
sample mean. Unbiased estimator of 2

Sampling Distribution of s2 (Normal Data)


Population variance (2) is a fixed (unknown) parameter
based on the population of measurements
Sample variance (s2) varies from sample to sample (just
as sample mean does)
When Y~N(,), the distribution of (a multiple of) s2 is
Chi-Square with n-1 degrees of freedom.
(n1)s2/2 ~ 2 with df=n-1
Chi-Square distributions
Positively skewed with positive density over (0,)
Indexed by its degrees of freedom (df)
Mean=df, Variance=2(df)
Critical Values given in Table 7, pp. 1095-1096

Chi-Square Distributions

Chi-Square Distribution Critical Values

0.995
0.990
0.975
0.950
0.900
0.100
0.050
0.025
0.010
0.005

2( ) df=10
2.156
2.558
3.247
3.940
4.865
15.987
18.307
20.483
23.209
25.188

Chi-Square Critical Values (2-Sided Tests/CIs)

2L

2U

2
2
(1

(
n

1
)
s
(
n

1
)
s
2
L

)0%
C
Ifor
:
,U

(1-)100% Confidence Interval for 2 (or )


Step 1: Obtain a random sample of n items from the
population, and compute s2

Step 2: Choose confidence level (1- )


Step 3: Obtain 2L and 2U from the table of critical
values for the chi-square distribution with n-1 df
Step 4: Compute the confidence interval for 2 based on
the formula below
Step 5: Obtain confidence interval for standard
deviation by taking square roots of bounds for 2

(
)o2bs
n

1
s02

Statistical Test for 2


Null and alternative hypotheses

1-sided (upper tail): H0: 2 02 Ha: 2 > 02


1-sided (lower tail): H0: 2 02 Ha: 2 < 02
2-sided: H0: 2 = 02 Ha: 2 02

Test Statistic

Decision Rule based on chi-square distribution w/ df=n-1:


1-sided (upper tail): Reject H0 if obs2 > U2 = 2
1-sided (lower tail): Reject H0 if obs2 < L2 = 1-2
2-sided: Reject H0 if obs2 < L2 = 1-/22 (Conclude 2 < 02)
or if obs2 > U2 = /22 (Conclude 2 > 02 )

1
2
s
1
21
s12
s12
F
w
ithdf1n1
1andf2n2
1
2~

Inferences Regarding 2 Population Variances


Goal: Compare variances between 2 populations
Parameter:
(Ratio is 1 when variances are equal)
Estimator:

(Ratio of sample variances)

Distribution of (multiple) of estimator (Normal Data):

F-distribution with parameters df1 = n1-1 and df2 = n2-1

f
d
2
d
f

d
f

2
2
2
2
1
2)(24)df24

(2df22)
1(
Properties of F-Distributions

Take on positive density over the range (0 , )


Cannot take on negative values
Non-symmetric (skewed right)
Indexed by two degrees of freedom (df1 (numerator df)
and df2 (denominator df))

Critical values given in Table 8, pp 1097-1108


Parameters of F-distribution:

Critical Values of F-Distributions


Notation: Fa, df1, df2 is the value with upper tail area of a
above it for the F-distribution with degrees of freedom
df1 and df2, respectively
F1-a, df1, df2 = 1/ Fa, df2, df1 (Lower tail critical values can be
obtained from upper tail critical values with reversed
degrees of freedom)
Values given for various values of a, df1, and df2 in
Table 8, pp 1097-1108

Critical Values of F (df1=5,df2=5)


0.7

upper area middle area lower area


0.25
0.5
0.25
0.1
0.8
0.1
0.05
0.9
0.05
0.025
0.95
0.025
0.01
0.98
0.01
0.005
0.99
0.005
0.001
0.998
0.001

0.6

.05

Density Function of F

0.5

0.4

upper cv
1.8947
3.4530
5.0503
7.1464
10.9671
14.9394
29.7514

lower cv
0.5278
0.2896
0.1980
0.1399
0.0912
0.0669
0.0336

.90

0.3

0.2

.05

0.1

0
0

F(.95,5,5)=1/F(.05,5,5)=1/5.05=.198

5
F

6
F(.05,5,5)=5.05

10

2
2
2
2
1T
-T
t2P
iR
:e-
S
d
e
T
s
H

H
:

0
1
a
1
s
sR
tsjjS
itviccdlu
a
c
F

o
b
s
2
o
n
R
e
g
o
n

F
o
b
s

,
n

1
1
2
:oP
P
(

)
2
2
2
2
tr
T
s
H
:

H
:

0
1
a
1
s
avalu
ion:R
c2em
F
o
b
s
2
2
2
gio(nP

F
(

)
obs
/ob1s

,)
2
n

1
1
1
2

,,P
n

(F
obs)

Test Comparing Two Population Variances

Assumption: the 2 populations are normally distributed

sF

s,F

2
2
1L1U

(1-)100% Confidence Interval for 12/22


Obtain ratio of sample variances s12/s22 = (s1/s2)2
Choose , and obtain:
FL = F, n2-1, n1-1 = 1/ F, n1-1, n2-1
FU = F, n2-1, n1-1

Compute Confidence Interval:

Conclude population variances unequal if interval does not contain 1

Tests Among t > 2 Population Variances


Hartleys Fmax Test

Very simple to compute Test Statistic


Must have equal sample sizes (n1 = = nt)
Test based on assumption of normally distributed data
Uses special table for critical values

Levenes Test

More difficult to compute by hand


No assumptions regarding sample sizes/distributions
Uses F-distribution for the test
Computed automatically by software packages
(SAS,SPSS, Minitab)

Hartleys Fmax Test


H0: 12 = = t2 (homogeneous variances)
Ha: Population Variances are not all equal
Data: smax2 is largest sample variance, smin2 is smallest
Test Statistic: Fmax = smax2/smin2
Rejection Region: Fmax F* (Values from class website,
indexed by (.05, .01), t (number of populations) and df2
(n-1, where n is the individual sample sizes)

yz~iiij.j

ts
ejaniin1j
h
jzpiljty~him
ea(dzsi.u
r1,m
e.
toitt1ngN
n
fjnij
rzuio
i.ipj1
m
g
u
p
(

1
,
.
t
j

1
,
.
n
)
i
i
(

1
,
.
t
)
,
.
n
)
i2N

.
n
1
t
(
t

1
)
.
io

1
T
eR
sjtcS
aonistR
ceg:L

n
i
z
N
i
i
j
jn

,t
1N
t
Levenes Test

H0: 12 = = t2 (homogeneous variances)


Ha: Population Variances are not all equal
Data: For each group, obtain the following quantities:

Potrebbero piacerti anche