悪い経時データ解析例の解説
浜田知久馬
9/25(金)
EUA研究会
発表構成
2
・
Journal of Pharmacological Scienceの
経時データ解析例の紹介
・輪切りの解析を行った場合のαエラー
・不適切な経時型分散分析
個体差を無視した解析
要約
非臨床の薬理データでは,しばしば経時測定
データについての解析が行われる.この解析
方法として様々な方法が提案されているが,
薬理学研究では不適切な方法が用いられる
ことも多い.
本発表ではJournal of Pharmacological Science
の文献調査の結果から不適切な経時データ
の統計解析と記載例について,不適切な理
由を解説する.具体的には,時点の輪切りの
解析で多重性が考慮されてない,個体間の
対応が無視されている,分散分析表が記載さ
れてない等の問題がみられた.
薬理学研究での統計手法の実態
典型的な誤用とその解決方法
浜田知久馬
西沢友恵
日本薬理学雑誌,133‐6,2‐9(2009)
EUAでは分散分析のみ報告
6
分散分析
ANOVA:
AN
alyisis
O
f
VA
riance
分散(variance):ばらつきを表す統計用語
分散分析:データのばらつきを構成する要因が複数
存在するときに個々の要素に分解
二元配置(two-way)分散分析
要因の
例)
薬剤(A,B,C)
用量(6,7,8)
7
A
B
C
薬剤
薬剤
用量
用量
8
用語
分散分析と共分散分析
ANOVA:
ANalyisis
Of VAriance
分散分析(群間比較)
ANCOVA:
AN
alyisis
of
COVA
riance
共分散分析
反応変数に相関のある変数COを考慮し
た分散分析ANOVA(群間比較)
CO:
covarite (共変量)
9
調査対象文献
•
JPHS : Journal of Pharmacological
Science 2007年の論文133報.
•
JJP : The Japanese Journal of
Pharmacology(現在のJournal of
Pharmacological Science)
2002年の論文149報.
1996年の論文134報.
10
統計手法
(分散分析)
1996年 (n=134) 2002年 (n=149) 2007年 (n=133) n % n % n % 1 way ANOVA 46 34.3 75 50.3 74 55.6 2 way ANOVA 6 4.5 11 7.4 11 8.3 Kruskal-Wallis test 8 6.0 3 2.0 5 3.8 Freidman test 0 0.0 0 0.0 1 0.8Repeated measures 1 way ANOVA
3 2.2
10 6.7 4 3.0
Repeated measures 2 way
ANOVA 2 1.3 8 6.0
Repeated measures MANOVA 0 0.0 1 0.7 0 0.0
結果
経時データの特徴
1)
同一対象者内の測定値は他の対象者の
測定値よりも似ている
(独立性が成り立たない)
2)同一対象者内でも近い時点で測定された
値は離れたものに似ている
(系列相関)
3)投与前値の存在
4)多時点で検定(多重性)
11連続型反応変数の
分散共分散行列
121
2
3
4
対象者
X
2
4
6
8
Y
10
7
12
11
2
σ
2
σ
2
σ
2
σ
0
0
経時データ
131
2
3
4
対象者
X
2
4
6
8
Y
t=110
7
12
11
Y
t=26
5
9
14
Y
t=36
3
8
16
経時データにおける
分散共分散行列
14 1 2 3 1 2 3 1 2 3 1 2 3 1 1 1 2 2 2 3 3 3 4 4 4 対象者 時点 4 4 4 2 2 2 6 6 6 8 8 8 10 6 6 7 5 3 12 9 8 11 14 16 X Y 1V
2V
3V
4V
0
0
15
経時データの解析例
経時データの解析例
7.J Pharmacol Sci 105, 66
7.J Pharmacol Sci 105, 66
–
–
73 (2007)
73 (2007)
Impact of Systemic Histamine Deficiency on the Impact of Systemic Histamine Deficiency on the
Crosstalk Between Mammary Adenocarcinoma
Crosstalk Between Mammary Adenocarcinoma
and T Cells
and T Cells
Immunofluorescence labeling and flow cytometryImmunofluorescence labeling and flow cytometry
Lymphocytes were isolated from the spleen and were
Lymphocytes were isolated from the spleen and were
used for two
used for two- - and threeand three--color cell surface labeling using color cell surface labeling using Abs against CD3, CD8, CD4, and CD25. All Abs were
Abs against CD3, CD8, CD4, and CD25. All Abs were
purchased from BD PharMingen (BD Biosciences,
purchased from BD PharMingen (BD Biosciences,
Franklin Lakes, NJ, USA). Labeled cells were analyzed by
Franklin Lakes, NJ, USA). Labeled cells were analyzed by
using FACSCalibur flow cytometer and CellQuest
using FACSCalibur flow cytometer and CellQuest
software (BD Biosciences). For each sample, an
software (BD Biosciences). For each sample, an
isotypecontrol was used to determine the positive and
isotypecontrol was used to determine the positive and
negative cell populations. The P values were determined
negative cell populations. The P values were determined
by
16 16 経時的データに 輪切りのt検定の 繰り返し
(時点
10 群2)
後値
17
52.
52.
J Pharmacol Sci 104, 130
J Pharmacol Sci 104, 130
–
–
136 (2007)
136 (2007)
Statistical analysesStatistical analyses
Temperature response was assessed as changes from
Temperature response was assessed as changes from
pre
pre--injection values (injection values (Δ°Δ°C) or the fever index (FI), the C) or the fever index (FI), the area under the curve produced in the 5
area under the curve produced in the 5--h period after h period after the injection of LPS, in term of degrees centigrade per 5
the injection of LPS, in term of degrees centigrade per 5
h was calculated (8). The 2,3
h was calculated (8). The 2,3--DHBA level of samples was DHBA level of samples was expressed as a percent of the mean baseline. In addition,
expressed as a percent of the mean baseline. In addition,
results about body temperatures, the fever index, and
results about body temperatures, the fever index, and
levels of PGE2 are expressed as the mean
levels of PGE2 are expressed as the mean ±± S.E.M. for S.E.M. for n experiments.
n experiments. Two way analysis of variance (ANOVA) Two way analysis of variance (ANOVA) for repeated measurements
for repeated measurements (in the same animals) was (in the same animals) was used for the factorial experiment, whereas
used for the factorial experiment, whereas DuncanDuncan’s’s test test was used for post hoc multiple comparisons among
was used for post hoc multiple comparisons among
means. A P value less than 0.05 was considered to
means. A P value less than 0.05 was considered to
indicate a statistically significant difference.
18
18
経時データの輪切りの検定にDuncan
(時点
15 群5)
19
118.
118.
J Pharmacol Sci 103, 293
J Pharmacol Sci 103, 293
–
–
298 (2007)
298 (2007)
Statistical analysisStatistical analysis
Temperature response was assessed as changes from
Temperature response was assessed as changes from
pre
pre--injection values (injection values (Δ°Δ°C) and the fever index (FI), C) and the fever index (FI), which was the area under the curve produced in the 5
which was the area under the curve produced in the 5--h h period after the injection of LPS in term of degrees
period after the injection of LPS in term of degrees
centigrade per 5 h, were calculated (1, 2). The
centigrade per 5 h, were calculated (1, 2). The
glutamate and 2,3
glutamate and 2,3--DHBA levels of samples were DHBA levels of samples were
expressed as a percentage of three consecutive mean
expressed as a percentage of three consecutive mean
baseline values. Results were expressed as the mean
baseline values. Results were expressed as the mean ±± S.E.M. for n experiments.
S.E.M. for n experiments. Two way analysis of variance Two way analysis of variance (ANOVA) for repeated measurements
(ANOVA) for repeated measurements (in the same (in the same
animals) was used for the factorial experiment, whereas
animals) was used for the factorial experiment, whereas
Dunnett
Dunnett’’s test was used for post hoc multiple s test was used for post hoc multiple comparisons
comparisons among means. A P value less than 0.05 among means. A P value less than 0.05 was considered to indicate a statistically significant
was considered to indicate a statistically significant
difference.
20
20
経時データの輪切り検定にDunnett
21
54.
54.
J Pharmacol Sci 104, 146
J Pharmacol Sci 104, 146
–
–
152 (2007)
152 (2007)
Statistical analysesStatistical analyses
Experimental data were presented as the mean
Experimental data were presented as the mean ±±S.E.M. S.E.M. The effects of CLE on the body weight and the weights
The effects of CLE on the body weight and the weights
of visceral organs were tested by a
of visceral organs were tested by a oneone--way analysis of way analysis of variance (ANOVA).
variance (ANOVA). The effects of CLE on the number of The effects of CLE on the number of RBCs, hemoglobin concentration, hematocrit, MCV, MCH,
RBCs, hemoglobin concentration, hematocrit, MCV, MCH,
MCHC, and the number of WBCs were evaluated by a
MCHC, and the number of WBCs were evaluated by a
two
two--way ANOVA for repeated measuresway ANOVA for repeated measures. Subsequent . Subsequent post hoc analyses to determine significant differences
post hoc analyses to determine significant differences
between two groups and from day 0 in each group were
between two groups and from day 0 in each group were
performed by
performed by FisherFisher’’s protected least significant s protected least significant difference (PLSD) test and Dunnett
difference (PLSD) test and Dunnett’’s test, s test, respectively. respectively. The differences were considered significant when P was
The differences were considered significant when P was
<0.05.
22 22 経時データの輪切りの解析にt検定 時点0との比較にDunnett検定
(時点4
群2)
後値
23
63.
63.
J Pharmacol Sci 104, 212
J Pharmacol Sci 104, 212
–
–
217 (2007)
217 (2007)
NG
NG
--NitroNitro--L
L
--arginine Methyl Ester, but Not arginine Methyl Ester, but NotMethylene Blue, Attenuates Anaphylactic
Methylene Blue, Attenuates Anaphylactic
Hypotension in Anesthetized Mice
Hypotension in Anesthetized Mice
StatisticsStatistics
All results are expressed as the means
All results are expressed as the means ±± S.D. Statistical S.D. Statistical analysis was performed by
analysis was performed by repeated measures analysis repeated measures analysis of variance.
of variance. Comparison of individual points within Comparison of individual points within groups was made by
groups was made by analysis of variance followed by the analysis of variance followed by the Bonferroni post
Bonferroni post--test correction method. test correction method. Comparison of Comparison of individual points between two groups and among four
individual points between two groups and among four
groups was made by
groups was made by StudentStudent’’s ts t--test and analysis of test and analysis of variance followed by the Bonferroni post
variance followed by the Bonferroni post--test correction test correction method
method, respectively. Differences were considered , respectively. Differences were considered statistically
statistically significant at P<0.05.significant at P<0.05.
経時データの輪切りの検定
24 24 経時データの輪切りの検定にBonferroni *:投与前との比較 #:controlとの比較
(時点
20 群4)
差
25
4.J Pharmacol Sci 105, 41
4.J Pharmacol Sci 105, 41
–
–
47 (2007)
47 (2007)
Possible Involvement of 5
Possible Involvement of 5
-
-
Lipoxygenase
Lipoxygenase
Metabolite in Itch
Metabolite in Itch
-
-
Associated Response of
Associated Response of
Mosquito Allergy in Mice
Mosquito Allergy in Mice
Statistical analysisStatistical analysis
Values given are means and S.E.M. Statistical
Values given are means and S.E.M. Statistical
significance was analyzed using
significance was analyzed using StudentStudent’’s ts t--test, test, Dunnett
Dunnett’’s multiple comparisons, or twos multiple comparisons, or two--way repeated way repeated measures analysis of variance
measures analysis of variance; P<0.05 was considered ; P<0.05 was considered significant.
26
26
経時型分散分析の結果を表示
(時点
20 群3)
27
64.
64.
J Pharmacol Sci 104, 218
J Pharmacol Sci 104, 218
–
–
224 (2007)
224 (2007)
Effects of Loperamide on Mechanical Allodynia Induced by Effects of Loperamide on Mechanical Allodynia Induced by
Herpes Simplex Virus Type
Herpes Simplex Virus Type--1 in Mice1 in Mice
Data analysesData analyses
The means of data are presented together with S.E.M.
The means of data are presented together with S.E.M.
Data on the time course of anti
Data on the time course of anti--allodynic effects were allodynic effects were analyzed with
analyzed with Friedman repeated measures analysis of Friedman repeated measures analysis of variance
variance on ranks and then with Dunnetton ranks and then with Dunnett’’s test. s test. Other Other data were analyzed with
data were analyzed with the the Mann-Mann-Whitney rank sum Whitney rank sum test or Wilcoxon signed rank test.
test or Wilcoxon signed rank test. P<0.05 was P<0.05 was considered significant.
considered significant.
ノンパラメトリックな経時データの解析
28
28
経時データを順位に変換してDunnett
(時点3
群3)
29
111.
111.
J Pharmacol Sci 103, 234
J Pharmacol Sci 103, 234
–
–
240 (2007)
240 (2007)
Effect of a Dihydrobenzofuran Derivative
Effect of a Dihydrobenzofuran Derivative
on Lipid Hydroperoxide
on Lipid Hydroperoxide
-
-
Induced Rabbit
Induced Rabbit
Corneal Neovascularization
Corneal Neovascularization
Statistical analysis
Statistical analysis
Data were compared between groups by
Data were compared between groups by
multiple comparisons (
multiple comparisons (
William
William
’
’
s
s
) and these were
) and these were
expressed as a mean
expressed as a mean
±
±
S.E.M. The differences
S.E.M. The differences
were considered significant when P<0.05.
30
30
経時データの輪切り検定にWilliams
(時点5
群3)
31
58.
58.
J Pharmacol Sci 104, 176
J Pharmacol Sci 104, 176
–
–
182 (2007)
182 (2007)
Effects of Combined Oleoyl
Effects of Combined Oleoyl--Estrone and Rimonabant Estrone and Rimonabant on Overweight Rats
on Overweight Rats
Statistical comparisons between groups were
Statistical comparisons between groups were
established by
established by
two
two
-
-
way ANOVAs
way ANOVAs
.
.
The data are the mean
The data are the mean
±
±
S.E.M.
S.E.M.
Significance of the differences between groups
Significance of the differences between groups
(ANOVA): P values for the overall effects of OE
(ANOVA): P values for the overall effects of OE
(P OE) and rimonabant (P RI).
32 32 三元配置経時デー タで最終時点で 二元配置で解析 交互作用を検討す べき
(時点
10 群4)
比
33
Common Mistakes
Common Mistakes
1)
1)
分散分析のモデル,結果が示されてない.
分散分析のモデル,結果が示されてない.
2)
2)
経時データの多重性
経時データの多重性
多群
多群
×
×
多時点
多時点
通常の
通常の
1
1
-
-
way
way
用の多重比較法では多重性の
用の多重比較法では多重性の
調整はできない
調整はできない
3)投与前値の扱いについて明示的な記載がな
3)投与前値の扱いについて明示的な記載がな
いことが多く,また投与前値が適切に利用さ
いことが多く,また投与前値が適切に利用さ
れてない.
れてない.
経時データの多重性の対処
経時データの多重性の対処
解析時点の限定
解析時点の限定
複数時点の要約統計量の算出
複数時点の要約統計量の算出
経時型分散分析で有意なときのみ群間比較
経時型分散分析で有意なときのみ群間比較
時点間比較(閉手順)
時点間比較(閉手順)
1
1
-
-
way
way
:時間が有意比較
:時間が有意比較
2
2
-
-
way
way
:群有意,群
:群有意,群
×
×
時点ns→群間比較
時点ns→群間比較
群
群
×
×
時点有意→時点の輪切り検定
時点有意→時点の輪切り検定
多重比較(
多重比較(
Bonferroni
Bonferroni
法等)
法等)
34 34経時データの分類
経時データの分類
一元配置
一元配置
(1
(1
-
-
way)
way)
経時データ
経時データ
要因:時点
要因:時点
誤差:個体間,個体内
誤差:個体間,個体内
二元配置
二元配置
(2
(2
-
-
way)
way)
経時データ
経時データ
要因:群,時点
要因:群,時点
誤差:個体間,個体内
誤差:個体間,個体内
三元配置
三元配置
(3
(3
-
-
way)
way)
経時データ
経時データ
要因:群,用量,時点
要因:群,用量,時点
誤差:個体間,個体内
誤差:個体間,個体内
35経時解析のαエラー
1)完全帰無仮説の下で,ある基準群に対して,他
の3群とDunnett型の平均値の比較を両側5%の
t検定で行うときの,αエラーの確率を求めよ.
2)1)の解析を,5時点について輪切りで検定を行
うときの完全帰無仮説を示せ.
3)
5時点について輪切りでt検定を,計5×3=
15回を行うときのαエラーの確率を求めよ.
4)群の数を2~8,時点の数を2‐20に変化させて
αエラーの確率を求めよ.
36完全帰無仮説
5時点4群のDunnett型比較
54 53 52 51 44 43 42 41 34 33 32 31 24 23 22 21 14 13 12 11,
:
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
μ
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
mean
population
j
group
i
time
ijdata data;
cvalue=probit(1‐0.05/2);
array y(4) y1‐y4;
array t(5) t1‐t5;
do j=1 to 100000;
do k=1 to 5;
do i=1 to 4;y(i)=rannor(4989);end;
t12=abs(y2‐y1)/sqrt(2);t13=abs(y3‐y1)/sqrt(2);
t14=abs(y4‐y1)/sqrt(2);
t(k)=max(t12,t13,t14);s='ns';
maxt=max(of t1‐t5);end;
if maxt ge cvalue then s='* ';
output;
end;
proc freq;tables s;run;
38αエラーの確率は48.8%
(時点5
群4)
data data;
z=probit(1‐0.025);
p=1‐probmc('dunnett2',z,.,.,3);
alpha=1‐(1‐p)**5;
proc print;run;
時点1~20
群2~8
data data;
do g=2 to 8;
do t=1 to 20;
z=probit(1‐0.025);
p=1‐probmc('dunnett2',z,.,.,g‐1);
alpha=1‐(1‐p)**t;
output;
end;end;
proc transpose;var alpha;id t;by g;
proc print;run;
40αエラーの確率(時点1~7
群2~8)
時点数
群数
1
2
3
4
5
6
7
2 0.050 0.098 0.143
0.185
0.226 0.265 0.302
3 0.091 0.173
0.248
0.317 0.379 0.435 0.486
4 0.125 0.235 0.331 0.415 0.488 0.553 0.609
5 0.156 0.287
0.398
0.492
0.571
0.638 0.694
6 0.183 0.332 0.454 0.554 0.636 0.702 0.757
7 0.207 0.372 0.502 0.605 0.687 0.752 0.803
8 0.230 0.406 0.543 0.648 0.729 0.791 0.839
αエラーの確率(時点8~14
群2~8)
時点数
群数
8
9
10
11
12
13
14
2
0.337 0.370
0.401
0.431 0.460 0.487 0.512
3
0.533 0.575 0.614 0.649 0.681 0.710 0.736
4
0.658 0.701
0.738
0.771 0.800 0.825 0.847
5
0.742 0.782 0.816 0.845 0.869 0.889 0.907
6
0.801 0.838 0.867 0.892 0.911 0.928 0.941
7
0.844 0.876 0.902 0.922 0.938 0.951 0.961
8
0.876 0.904 0.926 0.943 0.956 0.966 0.974
42αエラーの確率(時点15~20
群2~
8)
時点数
群数
15
16
17
18
19
20
2 0.537 0.560 0.582 0.603
0.623
0.642
3 0.760 0.782 0.802 0.820
0.836
0.851
4 0.866 0.883 0.898 0.910
0.922
0.931
5
0.921
0.933 0.944 0.953
0.960
0.966
6 0.952 0.960 0.968 0.974
0.978
0.982
7 0.969 0.976 0.981 0.985
0.988
0.990
8 0.980 0.985 0.988 0.991
0.993
0.995
多時点のDunnett検定のαエラー
時点数
1
2
3
4
5
6
7
0.05
0.098
0.143 0.185 0.226
0.265 0.302
8
9
10
11
12
13
14
0.337 0.370
0.401
0.431 0.460 0.487 0.512
15
16
17
18
19
20
0.537
0.560 0.582 0.603 0.623
0.642
44時点数5,10,20は2研究
例題
コレステロールデータ
対照群 個体番号 時点(週) 1 2 3 4 5 6 7 8 9 10 11 0 232 367 253 230 190 290 337 283 325 266 338 1 205 354 256 218 188 263 337 279 257 258 343 2 244 358 247 245 212 291 383 277 288 253 307 3 197 333 228 215 201 312 318 264 326 284 274 4 218 338 237 230 169 299 361 269 293 245 262 5 233 355 235 207 179 279 341 271 275 263 309 薬剤群 個体番号 時点(週) 21 22 23 24 25 26 27 28 29 30 31 32 0 317 186 377 229 276 272 219 260 284 365 298 274 1 260 166 375 208 290 230 190 225 236 284 281 225 2 255 170 348 242 286 230 216 244 221 274 276 242 3 250 115 314 202 289 235 219 248 222 267 280 243 4 254 177 318 194 280 208 222 227 223 291 260 215 5 246 185 314 205 244 230 201 234 221 282 270 22646
48
p=0.075 p=0.021 p=0.058 p=0.047 p=0.005
(時点
5 群2)
2‐way経時型分散分析のモデル
データの構造:群,人,時点
要因:群,時点,群×時点
誤差:個体間誤差
個体内誤差
i:群
j:個体
k:時点
y
ijk=μ+α
i+ε
1ij+β
k+αβ
ik+ε
2ijkμ:母平均
α
i:群効果
β
k:時点効果
αβ
ik:群×時点交互作用
50
2‐way経時型分散分析のモデル
対照群 個体番号 時点(週) 1 2 3 4 5 6 7 8 9 10 11 0 232 367 253 230 190 290 337 283 325 266 338 1 205 354 256 218 188 263 337 279 257 258 343 2 244 358 247 245 212 291 383 277 288 253 307 3 197 333 228 215 201 312 318 264 326 284 274 4 218 338 237 230 169 299 361 269 293 245 262 5 233 355 235 207 179 279 341 271 275 263 309 薬剤群 個体番号 時点(週) 21 22 23 24 25 26 27 28 29 30 31 32 0 317 186 377 229 276 272 219 260 284 365 298 274 1 260 166 375 208 290 230 190 225 236 284 281 225 2 255 170 348 242 286 230 216 244 221 274 276 242 3 250 115 314 202 289 235 219 248 222 267 280 243 4 254 177 318 194 280 208 222 227 223 291 260 215 5 246 185 314 205 244 230 201 234 221 282 270 226 群効果α時点効果β
個体間誤差ε1α×
β
個体間誤差ε2繰り返しのある
2元配置分散分析のモデル
B1 y
111y
112y
113・・・
A1 B2 y
121y
122y
123・・・
独立な繰り返し
B3 y
131y
132y
133・・・
要因:A,B,A×B
誤差:繰り返し誤差
i:Aの水準
j:Bの水準
k:繰り返し
y
ijk=μ+α
i+β
j+αβ
ij+ε
ijk誤差は1種類ε
1とε
2を一緒に評価
52
薬剤×時点の交互作用
薬剤 ns 時点 ns 薬剤×時点 ns 薬剤 * 時点 ns 薬剤×時点 ns 薬剤 ns 時点 * 薬剤×時点 ns 薬剤 * 時点 * 薬剤×時点 ns53
薬剤×時点の交互作用
薬剤 * 時点 * 薬剤×時点 * 薬剤 *(ns) 時点 * 薬剤×時点 *量的交互作用
質的交互作用
薬剤 * 時点 * 薬剤×時点 *投与前値含む
54
0)個体差を無視した解析
proc mixed;class id time group;
model y=group time group*time;
Tests of Fixed Effects
Source
NDF DDF
TypeIIIF
Pr>F
GROUP
1
126
7.36
0.0076
TIME
5
126
1.13
0.3504
TIME*GROUP
5
126
0.25
0.9389
1)投与前値を含み、
CSを仮定した解析
proc mixed;class id time group;
model y=group time group*time;
repeated /sub=id type=cs;run;
Tests of Fixed Effects
Source
NDF DDF
TypeIIIF
Pr>F
GROUP
1
21
1.36
0.2563
TIME
5
105
9.42
0.0001
56
各群の平均値
0時点 対照群 薬剤群 平均値の差
0
282.8
279.8
-3
1
268.9
247.5
-21.4
2
282.3
250.3
-32
3
268.4
240.3
-28.1
4
265.5
239.1
-26.4
5
267.9
238.2
-29.7
2)投与前値を除き、
CSを仮定した解析
proc mixed;class id time group;
model y=group time group*time;
repeated/sub=id type=cs;where time ne 0; run;
Source
NDF DDF
TypeIIIF
Pr>F
GROUP
1
21
1.94
0.1784
TIME
4
84
2.59
0.0424
TIME*GROUP
4
84
0.31
0.8714
58
群平均と時点平均の推定
lsmeans group time/tdiff pdiff cl;
Effect TIME GROUP LSMEAN Std Error DF t Pr > |t| GROUP 1 270.6 14.3 21 18.96 0.0001 GROUP 2 243.1 13.7 21 17.79 0.0001 TIME 1 258.2 10.4 84 24.86 0.0001 TIME 2 266.3 10.4 84 25.64 0.0001 TIME 3 254.3 10.4 84 24.49 0.0001 TIME 4 252.3 10.4 84 24.29 0.0001 TIME 5 253.0 10.4 84 24.36 0.0001
Effect Difference Std Error DF t Pr > |t| Alpha Lower Upper
GROUP 27.5 19.8 21 1.39 0.1784 0.05 -13.6 68.6
3)投与前値との差に、
CSを仮定した解析
proc mixed;class id time group;
model dif=group time group*time;
repeated/sub=id type=cs;where time ne 0; run;
Source
NDF DDF
TypeIIIF
Pr>F
GROUP
1
21
7.92
0.0104
TIME
4
84
2.59
0.0424
TIME*GROUP
4
84
0.31
0.8714
60 Result of 2‐way repeated measurement ANOVA(Post‐Pre) time: F=2.59,P=0.042 group: F=7.92,P=0.010 time× group: F=0.31,P=0.871 Means and SE bars are plotted. P‐value at each time point calculated by Student’s t test (no multiplicity adjustment) p=0.075 p=0.021 p=0.058 p=0.047 p=0.005
経時型分散分析のCommon Mistakes
1)薬剤効果を個体内変動を誤差として検定
薬剤効果:
個体を単位に割り付けるので
個体間変動を誤差にする
時点効果:
個体内で時点間比較を行うので
個体内変動を誤差にする
2)投与前値をそのままモデルに含めて解析
交互作用が有意となって解釈しにくい
3)投与前値が解析において考慮されてない.
4)分散構造の誤特定
62
経時データの共分散分析
投与前値Y
1の扱い
1)投与後の値(post:Y
2)と同様に単純に
モデルに含めて解析.
2)投与後の値だけで解析.
3)投与前値の差をとって解析.
4)投与前値との比をとって解析.
5)独立変数(共変量)としてモデルに含めて
解析.ANCOVA).
i
i
Y
Y
Y
Y
2
=
μ
+
β
1
⇒
2
−
β
1
=
μ
Y
2- Y
1Y
2投与後値,差,共分散分析の比較
統計量
分散
post(Y
2)
σ
2差(Y
2- Y
1)
σ
2+σ
2-2
ρσ
2 ANCOVA(Y
2-βY
1)
σ
2-ρ
2σ
2 母相関係数 ρρ=0
ρ=0.5
ρ=1.0
post(Y
2)
σ
2σ
2σ
2差
(Y2- Y1)2σ
2σ
20
ANCOVA
σ
20.75σ
20
[ ] [ ]
相関係数
の
2 1 2 2 1,
:
Y
Y
Y
V
Y
V
ρ
σ
=
=
64
投与後差,共分散分析の比較
母相関係数ρ分散
差
(Y2- Y1)post(Y
2)
ANCOVA
共分散分析の利点
ANCOVA(Y
2-βY
1)
1)ρ=0→ β=0
post(Y
2)と等価
2)ρ≒1→ β=1
差(Y
2- Y
1)と等価
3)0<ρ<1
精度が高い
(Y
2- Y
1)はρ>0.5以上ないと
post(Y
2)より精度が悪い
66
時点間のデータの相関構造
• 個体差が大きいため、時点間の測定値には
相関が生じる→通常はCSを仮定
• 複数の相関構造をあてはめ、結果に影響を
及ぼすか確認
•
GEEを適用
• 効果の推定、交互作用についての検討に重
点をおき、検定は参考とする.
分散構造
•
CS(compound symmetry)
ある程度測定間隔が開いていて、直前の状
態が次に影響を与えず、個体間差が大きいと
きに用いる.
•
empiricalオプション(GEE)
仮定した分散構造に依存しないで、妥当な結
果が得られる.
68 t0 186 377 t1 166 375 t2 170 383 t3 115 333 t4 169 361 t5 179 355
ピンク:対照
赤:薬剤
時点間の相関行列
対照群 0 1 2 3 4 5 0 1.0000 0.9285 0.9025 0.8834 0.8916 0.9610 1 0.9285 1.0000 0.8964 0.7476 0.8185 0.9464 2 0.9025 0.8964 1.0000 0.8027 0.9512 0.9509 3 0.8834 0.7476 0.8027 1.0000 0.8874 0.8498 4 0.8916 0.8185 0.9512 0.8874 1.0000 0.9200 5 0.9610 0.9464 0.9509 0.8498 0.9200 1.0000 薬剤群 0 1 2 3 4 5 0 1.0000 0.8937 0.8305 0.8108 0.8793 0.9432 1 0.8937 1.0000 0.9610 0.8733 0.9379 0.9548 2 0.8305 0.9610 1.0000 0.9137 0.9056 0.9175 3 0.8108 0.8733 0.9137 1.0000 0.8694 0.8565 4 0.8793 0.9379 0.9056 0.8694 1.0000 0.9259 5 0.9432 0.9548 0.9175 0.8565 0.9259 1.000070
多次元空間の切断
CS(Compound
Symmetry)
複合対称性
6次元空間からどの2
次元空間を切断して
も同じ顔(相関係数)
になる.
どの時点でも
相関係数は等しい.
72