Displaying 1 result from an estimated 1 matches for "jacktann".
Did you mean:
jacktang
2009 Jul 24
2
suggestion for paired t-tests
There's a funny inconsistency in how t.test handles paired=T or paired=F. If x
and y parameters are lists, paired=F works, but paired=T doesn't.
> lg=read.csv("my.csv")
> a = subset(lg, condition=="a")["score"]
> b = subset(lg, condition=="b")["score"]
> t.test(a,b)
> t.test(a,b, paired=TRUE)
Error in `[.data.frame`(y, yok)