


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth comparison between the two-sample t-test and the paired t-test, focusing on their applications when analyzing differences in means for dependent data. The assumptions, calculations, and practical examples of both tests, highlighting the importance of considering the relationship between observations within a subject and the resulting impact on statistical analysis.
Typology: Study notes
1 / 26
This page cannot be seen from the preview
Don't miss anything!



















Two Sample Methods
BTRY 6010 & ILRST 6100
BTRY 6010 & ILRST 6100
Two Sample Methods
Two^ sample
t^ test shows no Two-sample
t^ test shows no difference, whether or notwe assume equal variances:( p^ = 0 2183
p^ = 0 2156) ( p^ 0.2183,
p^ 0.2156). Right?? What other assumptions
BTRY 6010 & ILRST 6100
Two Sample Methods
p have we made???
BTRY 6010 & ILRST 6100
Two Sample Methods
1 2
1
2 1
1 1
n^
n i^
i i^
i
y^ y^
y^
y n^
n ^
BTRY 6010 & ILRST 6100
Two Sample Methods
1
1 i^
i n^
n ^
^
^
1
n^
n
y^ y^
d y^ y^
d
^
2 1 2
1
1 (^1) i i^ i
i i^ d
i
y^ y^
n^
d n y^ y^
d ^
^
BTRY 6010 & ILRST 6100
Two Sample Methods
y^ y ^
d
y^ y^^1
d
d^ d^
d^ ; so
Note: one-sample t-test is performed using
d, d, …, d^1
;^ so n (^) 2 1
=^ , whe
1 r^
( 1 e^
n ) d
d^
i i
Std Err Me
s^
s^
d^ dn
a^ n^ n
^
(^1) n^1 i n^
BTRY 6010 & ILRST 6100
Two Sample Methods
Aside:
Var( X
-^ Y )^
for dependent
X & Y
Aside:
Var(^ X
Y )^
for^ dependent
X^ & Y
- Y),^ is
Two Sample Methods
Result: Exact Sampling Distribution of
p^ g
Normally Distributed DifferencesL t^ b^
th^
l^
diff^
f t
n^ independent
pairs. Assume the differences follow a
distribution. Then: n^ d ~ D^ t
If^30
Dn^ d n^
. (^1) n t sd n
If
d n^
s n The result above forms the basis for CIs andhypothesis tests in a paired data setting. Two Sample Methods
BTRY 6010 & ILRST 6100 hypothesis tests in a paired data setting.
Testing:
paired data,
^ unknown
Testing:
paired
data,
^ unknown *^
0
Test Statistic:
d^ dt sd n As usual, we have three possible sets of hypotheses:
n
(i)^ H :^ ^0
≤^ vs Hd d^
:^ >^ a d^ d
^ RR is
*^ t > t^ n-1,^ ^
& p = P (^
t^ > t*^ ) n-^
(ii) H :^ ^0
≥^ vs Hd d^
:^ <^ a d^ d
^ RR is
*^ t < - t^ n-1,
& p = P (^ t^ < t*^ ) n-^
0 d^ d
a^ d^ d^
n 1,^ ^
n 1
(iii) H^ :^ ^0
=^ vs Hd d^
:^ ^ add^
^ RR is^
* t | > t^ n-1,^
& p = 2P (^ t^ > |t*|n-^
)
Usual comments apply: If
n^ ≥^ 30, we
can use normal critical points in
place of^ t.
If the sample size is very small and normality of differences is suspect, use the t-test with skepticism or use nonparametricTwo Sample Methods
14
BTRY 6010 & ILRST 6100 p^ ,^
p^
p
methods (Wilcoxon signed-rank).
Obligatory check: no “obvious” deviations from normality
BTRY 6010 & ILRST 6100 Obligatory check: noTwo Sample Methods
obvious
deviations from normality.
BTRY 6010 & ILRST 6100
Two Sample Methods
Comments:Comments: ^ Pairing
( matching
) can be useful in observational studies as a way to control for
confounding
: the impact of
as a way to control for
confounding
: the impact of
measured (and unmeasured) variables that may beassociated with both “response” and “group” variable. Itt
d^
t^ ll d^
f^ i bilit
serves to reduce uncontrolled sources of variability. Pairing^
is an example of
blocking
, a term originating from
experimental design
Blocking serves to reduce impact experimental design. Blocking serves to reduce impactof uncontrolled sources of variability on a comparison oftreatments (e.g., new vs. existing fertilizer; post- vs. pre-i^
) b^ fi^ t
ti^
bl^ k^ (i
f^ i^ il
exercise) by first creating
blocks^ (i.e., groups of similar,
or relatively homogeneous, units, such as tomato plants,plots, or subjects) and then assessing treatment effects
j^ )^
g
by using “within-block” differences.
BTRY 6010 & ILRST 6100
Two Sample Methods
^ Settings involving pairs of measurements represent a^ Settings
involving pairs of measurements represent a special case of the more general problem of
repeated
measurements
(two or more measurements per it/bl^ k)
S^ h d t
i^ i^
lti l
unit/block). Such data can arise in multiple ways, e.g.,multiple treatments per block, longitudinal data on eachsubject, and so on. As in the paired setting, one expects the measurementson one unit/block to be more correlated with each otherth^ ith
t^ diff
t^
it /bl^ k
than with measurements on different units/blocks. Methods of analysis must deal with the various levels ofcorrelation that may exist; otherwise one can easilycorrelation that may exist; otherwise, one can easilyobtain incorrect assessments of sampling variability,leading to impaired statements of statistical significanced/^
fid^
l^ l^ (^
th^
bl^ )
and/or confidence levels (among other problems).
BTRY 6010 & ILRST 6100
Two Sample Methods