Docsity

Statistical Methods Exam with Solutions | STT 201, Exams of Data Analysis & Statistical Methods

Toggle sidebar
bg1
STT 201, section 201~202
Some Formulas for exam2:
For a random sample of size n selected from the population with mean and standard deviation , E(
Y
) = and
SD(
Y
) = /
n
. If n is large or population is normal, then
n
Y
/
is approximately standard normal (Z).
For a sample proportion p, E(p)=, SD(p)=
n
)1(
, where is the population proportion and n is the sample
size. If n is large and is not close to either 0 or 1, then
n
p
)1(
is approximately standard normal (Z).
For 2 independent samples of sizes
1
n
and
2
n
taken from populations with means
1
and
2
and standard
deviations
and
respectively,
2121
)(
YYE
,
2
2
21
2
121
//)( nnYYSD
. If both sample sizes are
large, then
2
2
21
2
1
2121
//
)()(
nn
YY
is approximately standard normal (Z).
For 2 independent samples of sizes
1
n
and
2
n
taken from populations with proportions
1
and
2
,
2121
)(
ppE
,
22211121
/)1(/)1()( nnppSD
. If both sample sizes are large, and both
1
and
2
are not close to either 0 or 1, then
222111
2121
/)1(/)1(
)()(
nn
pp
is approximately standard normal (Z).
------------------------------------------------------------------------------------------------------------------------------------------
Estimators:
y
for
; s for
; p for
CI’s Sample Size Formulas
Observed value of Test Statistics
------------------------------------------------------------------------------------------------------------------------------------------
METHODS BASED ON MATCHED SAMPLES:
For matched pairs, treat the n differences as the sample. In this case,
y
is denoted by
d
, s is denoted by
d
s
, and
is denoted by
d
.
CI for
d
:
n
s
td d
*
, where
*
t
is based on n-1 degrees of freedom.
1
n
pp
zp )1(
*
2
*
)1(
pp
B
z
n
n
zy
*
2
*
B
z
n
freedom. of degrees 1 -n on based is *t where
*
n
s
ty
n
p
z
obs
/)1(
00
0
n
y
z
obs
/
0
freedom of degrees 1 with ,
/
0
n
ns
y
t
obs
pf2

Partial preview of the text

Download Statistical Methods Exam with Solutions | STT 201 and more Exams Data Analysis & Statistical Methods in PDF only on Docsity!

STT 201, section 201~

Some Formulas for exam2:

For a random sample of size n selected from the population with mean  and standard deviation , E( Y ) =  and SD( (^) Y ) =  / n. If n is large or population is normal, then n Y  /   is approximately standard normal (Z). For a sample proportion p, E(p)=, SD(p)= n ( 1  ) , where  is the population proportion and n is the sample size. If n is large and  is not close to either 0 or 1, then n p ( 1  )

  is approximately standard normal (Z). For 2 independent samples of sizes n 1^ and n^ 2 taken from populations with means ^1 and ^2 and standard deviations ^1 and ^2 respectively, E ( Y 1  Y 2 )  1   2 , SD ( Y 1  Y 2 )  12 / n 1   22 / n 2. If both sample sizes are large, then 2 2 1 2 2 1 1 2 1 2 / /

n n

Y Y

    

is approximately standard normal (Z). For 2 independent samples of sizes n 1^ and n^ 2 taken from populations with proportions ^1 and ^2 , E ( p 1  p 2 )  1   2 , SD ( p 1  p 2 )  1 ( 1   1 )/ n 1   2 ( 1   2 )/ n 2. If both sample sizes are large, and both  1 and ^2 are not close to either 0 or 1, then 1 1 1 2 2 2 1 2 1 2 ( 1 )/ ( 1 ) /

n n p p    

is approximately standard normal (Z).

Estimators: y^ for ; s for  ; p for  CI’s Sample Size Formulas Observed value of Test Statistics


METHODS BASED ON MATCHED SAMPLES: For matched pairs, treat the n differences as the sample. In this case, y^ is denoted by d^ , s is denoted by sd^ , and  is denoted by ^ d. CI for ^ d : n s d t d

 (^) , where t *is based on n-1 degrees of freedom. 1 n p p p z

  • (^1  )  *^2 ( 1 )       pp B z n n y z *^   *^2        B z n
  • wheret*isbasedonn- 1 degreesof freedom. n s yt n p zobs 0 (^1 0 )^ / 0       n y zobs / 0 

 ,with 1 degreesoffreedom /  ^0 ns n y tobs

Test statistic: n s d t d obs ^ , where t^ obs is based on n-1 degrees of freedom. METHODS BASED ON TWO INDEPENDENT SAMPLES Estimators: y 1 ^ y 2 for^  1 ^  2 , s 1 for^  1 , s 2 for^  2 ; p 1 - p 2 for^  1 ^  2 CI's (for1 -2 or1 -2 ) 2 2 2 1

  • 1 1 1 2

n p p n p p p p z

where *isbasedon thesmallerof 1 1 and 2 1 (conservativeapproach to d.f.). 2 2 2 1 2

  • 1 1 ^2   t nnn s n s y y t Test Statistics ( for1 -2 or1 -2 ) where ,thepooledestimateofthecommonproportionunderH. 1 1 ( 1 ) 0 1 2 1 2 1 2 1 2 n n x x p n n p p p p zobs

where, with theconservativeapproach, isbasedonsmallerofn 1 - 1 andn 2 - 1 degreesof freedom. 2 2 2 1 2 1 1 2 obs t obs n s n s y y t

CHI-SQUARE TESTS:

1. Goodness of Fit Test Ho:  1 = 1o, …, k = ko v. Ha: Not so , where 1o, …, ko are the hypothesized

values. For large n, use the test statistic ^2 obs = (Oj - Ej)^2 / Ej where the summation is over all k cells and Ej=njo , j=1,…k. If Ho is true, then the test statistic has approximately a ^2 distribution with k-1 df.

2. Test of Independence Ho: The two classifications are independent v. Ha: Not so

One classification variable has r levels and the other has c levels. The observed frequencies Oj are in a contingency table with r rows and c columns. For large n, use the test statistic ^2 obs = (Oj - Ej)^2 / Ej where the expected cell frequencies are Ej = (row total)(column total)/(grand total) and the summation is over all rc cells of the contingency table. If Ho is true, then the test statistic has approximately a ^2 distribution with (r – 1)(c – 1) df.

3. Test of Homogeneity Ho: The populations are homogeneous with respect to the variable of interest

v. Ha: Not so. There are r populations and c levels for the classification variable. The observed frequencies Oj are in a contingency table with r rows and c columns. For large n, use the test statistic ^2 obs = (Oj - Ej)^2 / Ej where the expected cell frequencies are Ej = (row total)(column total)/(grand total) and the summation is over all rc cells of the contingency table. If Ho is true, then the test statistic has approximately a ^2 distribution with (r – 1)(c – 1) df. 2 2 2 2 1

  • 1 1 1 2

n p p n p p p p z