Just a note
t-test of differences due to period effect.
d1=g1t1-g1t2 # differences due to period effect
n1=length(d1) # assume no missing points
# EQ var t-test of mean diff due to period effect
# estimate standard error of period effect
t=(mean(d1)-mean(d2))/se # observed t-statistic
p=pt(t,df1+df2) # test t
p=.5-abs(p-.5) # when p > 0.5 then p = 1-p
p*2 # 2-tailed P-value
Except where otherwise specified, all text and images on this page are copyright InfluentialPoints, all rights reserved. Images not copyright InfluentialPoints credit their source on web-pages attached via hypertext links from those images.