def test2(self): ## Between-Subjects test df=DataFrame() fname='words~ageXcondition.csv' df.read_tbl(fname) aov=Anova() aov.run(df,'WORDS',bfactors=['AGE','CONDITION'])
def test3(self): ## Mixed Between/Within test df=DataFrame() fname='suppression~subjectXgroupXcycleXphase.csv' df.read_tbl(fname) df['SUPPRESSION']=[.01*x for x in df['SUPPRESSION']] aov=Anova() aov.run(df,'SUPPRESSION',wfactors=['CYCLE','PHASE'],bfactors=['GROUP'])#,transform='win
def test0(self): ## Within test df=DataFrame() fname='error~subjectXtimeofdayXcourseXmodel.csv' df.read_tbl(fname) aov=Anova() aov.run(df,'ERROR',wfactors=['TIMEOFDAY','COURSE','MODEL'])#,transform='windsor05') aov.output2html(fname[:-4]+'RESULTS.htm')
def main(args): Anova(args[1:]).global_()
import sys from anova import Anova def main(args): Anova(args[1:]).global_() if __name__ == "__main__": Anova(sys.argv[1:]).global_()
def main(args): Anova(args[1:]).local_()
import sys from anova import Anova def main(args): Anova(args[1:]).local_() if __name__ == "__main__": Anova(sys.argv[1:]).local_()
from anova import Anova from datascience import * data = Table().read_table('dataMain2.csv') alpha = 0.01 av = Anova() av.anova_test(data, alpha)