r - For a stats class assignment I have to show that the anova will pick up significance in cases where the t-test does not? -
how can run holm-sidak test on repeated measures anova in r?
meansep voltag potential result of paper have recreate statistical testing in class. looking significant difference between conditions; baseline, abcd, dcba, , 300.
here far i've gotten:
control1 = data.frame( c("m1","m2","m3","m4"), c(129.43,152.48,118.79,156.02), c(180.85,228.72,257.09,278.37), c(198.58,230.5,235.82,304.96), c(134.75,159.57,223.4,255.32)) colnames(control1) = c("subject","control","abcd","dcba","300") control=stack(control1) subject = rep(control1$subject,4) # create "subject" variable control[3] = subject # add new data frame rm(subject) # clean workspace colnames(control) = c("meansep", "condition", "subject") testc= aov(meansep ~ condition + error(subject/condition), data=control) summary(testc)
Comments
Post a Comment