解説:ANOVA3Wx3W.ppt
ワークシート:RAW_BIO.xlsx
HRSCPV.sas
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | data HRSCPV; infile './HRSCPV.csv' dlm=','; input subject $ cond $ period $ HR SC PV; /* 課題、期間ごとに平均値を求める */ proc sort; by cond period; proc means data=HRSCPV; by cond period; /* 2要因とも対応がある場合の分散分析:HR */ proc glm data=HRSCPV; class cond period subject; model HR= subject cond cond*subject period period*subject cond*period cond*period*subject /ss3; test h= cond e=cond*subject; test h= period e=period*subject; test h= cond*period e=cond*period*subject; /* 多重比較 */ means cond / tukey e = period*subject alpha=0.05; means period / tukey e = period*subject alpha=0.05; /* 2要因とも対応がある場合の分散分析:SC */ proc glm data=HRSCPV; class cond period subject; model SC= subject cond cond*subject period period*subject cond*period cond*period*subject /ss3; test h= cond e=cond*subject; test h= period e=period*subject; test h= cond*period e=cond*period*subject; /* 多重比較 */ means cond / tukey e = period*subject alpha=0.05; means period / tukey e = period*subject alpha=0.05; /* 2要因とも対応がある場合の分散分析:PV */ proc glm data=HRSCPV; class cond period subject; model PV= subject cond cond*subject period period*subject cond*period cond*period*subject /ss3; test h= cond e=cond*subject; test h= period e=period*subject; test h= cond*period e=cond*period*subject; /* 多重比較 */ means cond / tukey e = period*subject alpha=0.05; means period / tukey e = period*subject alpha=0.05; |
処理データ:HRSCPV.csv