質問編集履歴
3
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,11 +44,11 @@
|
|
44
44
|
|
45
45
|
new_df = df.copy()
|
46
46
|
|
47
|
-
imp =
|
47
|
+
imp = MICEData(new_df)
|
48
48
|
|
49
49
|
fml = 'y ~ x1 + x2 + x3 + x4'
|
50
50
|
|
51
|
-
mice =
|
51
|
+
mice = MICE(fml, sm.OLS, imp)
|
52
52
|
|
53
53
|
```
|
54
54
|
|
2
質問のお題の編集
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
MICEモデルを使っ
|
1
|
+
Pythonで、MICEモデルを使った欠損値補完をしたい
|
test
CHANGED
File without changes
|
1
文章の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Rで欠損値処理をしている方には有名らしい、MICEという欠損値補完手法を、Pythonで試そうとしています。メソッドは、statsmodels.imputation.mice
|
1
|
+
Rで欠損値処理をしている方には有名らしい、MICEという欠損値補完手法を、Pythonで試そうとしています。メソッドは、statsmodels.imputation.miceの中にあるものを使用します。
|
2
2
|
|
3
3
|
|
4
4
|
|