简单效应SPSS编程

被试内、被试间、混合实验设计简单效应分析

简单效应(simple effect)分析

简单效应(simple effect)分析通常是在作方差分析时存在交互效应的情况下的进一步分析。你需要在SPSS中编写syntax实现。

一、完全随机因素实验中简单效应得分析程序

假如一个两因素随机实验中,A因素有两个水平、B因素有三个水平,因变量是Y,检验B因素在A因素的两个水平上的简单效应分析。

TWO-FACTOR RANDOMIZED EXPERIMENT SIMPLE EFFECTS.

DATA LIST FREE /A B Y. BEGIN DATA 1 3 4

1 1 2 1 1 3 2 2 5 2 1 6 1 2 8 2 1 9 1 2 8 2 3 10 2 3 11 2 3 9

2 3 8 END DATA.

MANOVA y BY A(1,2) B(1,3) /DESIGN

/DESIGN=A WITHIN B(1) A WITHIN B(2) A WITHIN B(3).

若A与B存在交互作用而进行的进一步分析(即简单效应分析)。同时你可以再加一个design: /DESIGN=B WITHIN A(1)

B WITHIN A(2).

自编数据试试

y A B 4.00 1.00 3.00 2.00 1.00 1.00 3.00 1.00 1.00 5.00 2.00 2.00 6.00 2.00 1.00 8.00 1.00 2.00 9.00 2.00 1.00 8.00 1.00 2.00 10.00 2.00 3.00 11.00 2.00 3.00

9.00 2.00 3.00 8.00 1.00 2.00

当然,你可也直接贴下述语句至syntax编辑框: 应会输出下述结果:

The default error term in MANOVA has been changed from WITHIN CELLS to WITHIN+RESIDUAL. Note that these are the same for all full factorial designs.

* * * * * * A n a l y s i s o f V a r i a n c e * * * * * * 12 cases accepted.

0 cases rejected because of out-of-range factor values. 0 cases rejected because of missing data. 6 non-empty cells.

3 designs will be processed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

* * * * * * A n a l y s i s o f V a r i a n c e -- design 1 * * * * * *

Tests of Significance for Y using UNIQUE sums of squares Source of Variation SS DF MS F Sig of F

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4