You are on page 1of 2

TWO SAMPLE E TEST ICI (proportions)

POPULATION INFORMATION SAMPLE INFORMATION

p ,
-_
true
proportion in population I sample proportions p : .
, Bz
true
R proportion in population 2 Sample sizes : nz
-
-
n.
,

Interested in difference in
proportions e.g ,
.
§ .
-

Fz (or 152 fi) -

pi
-

Pz ( or pa p )
-

SAMPLING DISTRIBUTION

Standard error :
self ph) .
-

a.
+
thump

Conditions :

Independence ( within both samples)


107 condition 104 of


population
<
.

.
:
n
,
. I size

has 104 of .

population 2 size

Successes ) failures : n 10 ,
n . (l -
E.) '
- 10

nzpnz I 10 nzll D2) > - 10

1)
,
Z N
N (O,
standard Normal
If conditions are met, then (under Ho for hypothesis tests) distr -
n

we assume 2- ~
NCO t) use
bootstrapping
µ
or
may ,
.

III
Hypothesis Test
Ho : pi pz - = So
Hypotheses :

Ha :
p .
-

Pz ¥ Do

(f .
-
Ph) -
so
Test statistic z=

-tF¥a-
:

Confidence Interval : Cp .
-

past .

z*fEfiI
TWO SAMPLE or PAIRED TEST ICI (means)
POPULATION INFORMATION SAMPLE INFORMATION

Paired : MD =
average difference between D= sample average difference
measurement 2
measurement I and
(observe d- with standard deviation sa )

Two -

sample :
µ ,
-_
mean for population 1 Variables capturing sample means Ii Iz :
,

Mz =
mean for
population 2 (observe I ,
and Iz with standard

deviations si , Sz in samples of size n , ,


nz )
SAMPLING DISTRIBUTIONS

standard error (paired) : Standard error ( two sample) -

SE (5) = SE ( I Iz ,
-

)=÷t÷
Conditions ( paired) : Conditions ( two sample) -

Paired data Independence ( within both samples)


-
'

Independence Normal
of outcomes between pairs Nearly
- .

Normal both
-

Nearly -

population distr'ns symmetric


-

population distr '


n of differences and unimodal

symmetric and unimodal


0¥ n, > 30 and nz > 30

Oth n > 30

If conditions are met then we


may
standard
,

If conditions are met then distr


-

n
assume Tutt Satterthwaite)
, we
may +

N
from R
assume Tn Hn D -
or use
bootstrapping or use
bootstrapping
HAT
0

Paired test : Two -

sample test :

Ho " do Ho " M -92=10


"

Mid '

Hypotheses :
Hypotheses :

Ha :M I do
'

Ha Mis Mz
#
' -

: .
o

Test statistic: t-d-o.fr Test statistic :

t=⇐g -n .
t
si
Nz

Paired CI Two -

sample CI

)±t*f÷F÷
'

d- ± t
't
) tx .
-
Iz

Idf -
-
n -
I Pdf from computer

You might also like