我是R-Beginner,目前正在使用ez软件包进行重复测量方差分析。
newmodel<-ezANOVA(data=ambiguity_aversion_data_1, dv=.(ambiguity_aversion), wid=.(X__1), within=.(Cases), detailed=TRUE, type=3)
不幸的是,我继续遇到以下错误,不知道出了什么问题
Warning: Collapsing data to cell means. *IF* the requested effects are a subset of the full design, you must use the "within_full" argument, else results may be inaccurate.
Error in parse_formula(formula, names(data), value.var) :
cannot allocate memory block of size 3.0 Gb
In addition: Warning message:
In parse_formula(formula, names(data), value.var) :
restarting interrupted promise evaluation
如果有任何提示,我将非常感谢:)
> summary(ambiguity_aversion_data_1)
X__1 Cases ambiguity_aversion
Min. : 1.0 G_A_26% :75 Min. :-23.000
1st Qu.: 7.0 L_A_26% :75 1st Qu.:-11.000
Median :13.0 G_A_50% :75 Median : -7.000
Mean :13.4 L_A_50% :75 Mean : -3.051
3rd Qu.:20.0 G_A_100%:75 3rd Qu.: 7.000
Max. :26.0 L_A_100%:75 Max. : 34.000
这是我数据框的前37行。对于25个主题(X__1)中的每一个,都有18个观测值,因此总共有25 * 18 = 450行。
> ambiguity_aversion_data_1
X__1 Cases ambiguity_aversion
1 1 L_A_100% 0
2 1 L_A_50% 15
3 1 L_A_26% 9
4 1 L_A_26% 9
5 1 L_A_50% 5
6 1 L_A_50% 5
7 1 L_A_26% 13
8 1 L_A_100% 0
9 1 L_A_100% 2
10 1 G_A_26% -14
11 1 G_A_50% -14
12 1 G_A_100% -11
13 1 G_A_26% -9
14 1 G_A_100% -11
15 1 G_A_26% -14
16 1 G_A_100% -11
17 1 G_A_50% -12
18 1 G_A_50% -8
19 2 L_A_50% 10
20 2 L_A_50% 12
21 2 L_A_100% 5
22 2 L_A_100% 5
23 2 L_A_100% 5
24 2 L_A_26% 7
25 2 L_A_26% 7
26 2 L_A_50% 10
27 2 L_A_26% 10
28 2 G_A_100% -10
29 2 G_A_26% -14
30 2 G_A_26% -14
31 2 G_A_50% -14
32 2 G_A_50% -14
33 2 G_A_26% -14
34 2 G_A_100% -10
35 2 G_A_50% -14
36 2 G_A_100% -10
37 3 G_A_100% -18