You are on page 1of 6

6:Howtocalculateattestforindependentsamples

AlthoughitistemptingtomakeanExcelfileincludingalltheauxiliarytablesyouneedtocalculatethevariancesofthetwo
samples(seeMakingandauxiliarytableforcalculatingthestandarddeviation),wewilllimitourselvestoamuchsimplerversion
makinguseofbuiltinExcelfunction.(However,nothingshouldpreventyoufrommakingthemoreextendedversion!)
Startbyenteringthedata
fromTable6.1(p.134)

Firstwecalculatethe
meanandvarianceofthe
youngadults(seeHowto
calculaterangeand
standarddeviation).
Thesehavetobe
calculatedonthevalues
incellsB1:B10.

MarcBrysbaert
www.palgrave.com/psychology/brysbaert
BasicStatisticsforPsychologists5:Howtocalculateattestfromindependentsamples
Palgrave,2011

MarcBrysbaert
www.palgrave.com/psychology/brysbaert
BasicStatisticsforPsychologists5:Howtocalculateattestfromindependentsamples
Palgrave,2011

Nowwecalculatethet
statistic.Recallthat

t=

M1 M 2
.
SD 1 SD 2
+
N1
N2

TranslatedtoExcelthis
gives=(H3
H6)/SQRT(H4/10+H7/10).

MarcBrysbaert
www.palgrave.com/psychology/brysbaert
BasicStatisticsforPsychologists5:Howtocalculateattestfromindependentsamples
Palgrave,2011

Next,wedefinedf.Thisis
N11+N21=18.(Youcan
alsocalculatethis
automatically,ofcourse).

MarcBrysbaert
www.palgrave.com/psychology/brysbaert
BasicStatisticsforPsychologists5:Howtocalculateattestfromindependentsamples
Palgrave,2011

Finally,toknowwhether
thedifferenceis
significant,weneedthe
pvalue,toknowwhether
itissmallerthan.05.This
isgivenbythefunction
TDIST(whichyoucanfind
underStatistical).

Becausethefunction
TDISTdoesnotworkfor
negativetvalues,itis
bettertoalwayscalculate
thepvalueonthe
absolutetstatistic(i.e.,
usethefunctionABSin
Excel).

MarcBrysbaert
www.palgrave.com/psychology/brysbaert
BasicStatisticsforPsychologists5:Howtocalculateattestfromindependentsamples
Palgrave,2011

Nowyouhaveallyouneedforyourttest!

Asacalculationcheck,
youcancomparethep
valueyouobtainedwith
thevaluereturnedbythe
builtinTTESTfunction
(availableinStatistical):

MarcBrysbaert
www.palgrave.com/psychology/brysbaert
BasicStatisticsforPsychologists5:Howtocalculateattestfromindependentsamples
Palgrave,2011

You might also like