Update Linear.py
Browse files
Linear.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
#x, yをpandas DataFrameで入力、self.olsは(coef, SE, t値, p値)のDataFrame
|
| 4 |
from scipy.stats import t
|
| 5 |
import numpy as np
|
|
|
|
| 6 |
|
| 7 |
class linear_regression():
|
| 8 |
def __init__(self, fit_intercept = True):
|
|
|
|
| 3 |
#x, yをpandas DataFrameで入力、self.olsは(coef, SE, t値, p値)のDataFrame
|
| 4 |
from scipy.stats import t
|
| 5 |
import numpy as np
|
| 6 |
+
import pandas as pd
|
| 7 |
|
| 8 |
class linear_regression():
|
| 9 |
def __init__(self, fit_intercept = True):
|