- 博客(1)
- 收藏
- 关注
原创 How to calculate the 99% confidence interval for the slope in a linear regression model in python?
import numpy as np, statsmodels.api as sm nsample = 100 x = np.linspace(0, 10, nsample) X = np.column_stack((x, x**2)) beta = np.array([1, 0.1, 10]) e = np.random.normal(size=nsample) X = sm.add_co...
2020-03-04 11:59:54 858 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人