# 不等分散下での母平均の対比較に対する多重性調整法

## MIXED Procedure の lsmeans statement


/* Unequal sample sizes and variances */
data x;
call streaminit(161013);
do group = 1 to 3;
do n = 1 to 5*group;
y = rand("Normal", 1, group*2);
output;
end; end;
run;

/* Tamhane's T2 (comparisons with control) */
proc mixed data = x;
class group;
model y = group / ddfm = satterth;
repeated /group = group;
lsmeans group / adjust = sidak adjdfe = row diff = control('1') cl;
run;

/* Dunnett's T3 (comparisons with control) */
proc mixed data = x;
class group;
model y = group / ddfm = satterth;
repeated / group = group;
lsmeans group / adjust = smm adjdfe = row diff = control('1') cl;
run;

/* Games-Howell (comparisons with all pairs) */
proc mixed data = x;
class group;
model y = group / ddfm = satterth;
repeated / group = group;
lsmeans group / adjust = tukey adjdfe = row cl;
run;

/* Tamhane's T2 (comparisons with all pairs) */
proc mixed data = x;
class group;
model y = group / ddfm = satterth;
repeated / group = group;
lsmeans group / adjust = sidak adjdfe = row cl;
run;

/* Dunnett's T3 (comparisons with all pairs) */
proc mixed data = x;
class group;
model y = group / ddfm = satterth;
repeated / group = group;
lsmeans group / adjust = smm adjdfe = row cl;
run;


また、adjdfe = row を用いないと多重性の調整に用いる自由度が Type 3 の分母自由度の値に固定されてしまうので、必ず指定が必要。

## 参考文献

1. Hochberg Y, Tamhane AC. Multiple Comparison Procedures. New York: Wiley, 1987.

## 履歴

• 2016/10/13 公開