import pandas as pd
import numpy as np
from sklearn import datasets,
linear_model
from
sklearn.linear_model import LinearRegression
import
statsmodels.api as sm
from scipy import stats
diabetes =
datasets.load_diabetes()
X =
diabetes.data
y =
diabetes.target
X2 =
sm.add_constant(X)
est =
sm.OLS(y, X2)
est2 =
est.fit()
print(est2.summary())
I want to express some appreciation to the writer just for rescuing me from this type of predicament. Because of checking throughout the online world and getting ideas which were not pleasant, I figured my entire life was gone. Being alive devoid of the answers to the difficulties you have sorted out as a result of your entire guideline is a critical case, as well as the ones which might have in a wrong way affected my career if I had not encountered your website. That knowledge and kindness in maneuvering all areas was precious. I don't know what I would've done if I had not discovered such a subject like this. It's possible to at this moment look ahead to my future. Thank you so much for your specialized and result oriented help. I won't hesitate to suggest your web blog to any person who would need recommendations on this topic.
ReplyDeletecloud services perth