質問編集履歴

1

モジュール名を記載

2019/07/11 04:53

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,16 @@
5
5
 
6
6
 
7
7
  ```python
8
+
9
+ import statsmodels.api as sm
10
+
11
+
12
+
13
+ model = sm.OLS(df_y, sm.add_constant(df))
14
+
15
+ result = model.fit()
16
+
17
+
8
18
 
9
19
  # 重回帰分析の結果を表示する
10
20