python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
how to calculate error part in of fitted line of polyfit to data?
I am confused about the error part of polyfit. I have the following code:
def polyfit(df,columns, degree):
coef=[]
error=[]
x = np.array(list(range(0,df.shape[0])))
for skill in column...
user15649753
Votes: 0
Answers: 1
Linear Regression Stochastic Gradient Descent
I am trying to fit a sinusoidal wave (sin(2 pi x)) with some gaussian noise added to it. I am using the stochastic gradient descent algorithm, and the model I am trying to fit is linear in the paramet...
Karthik Prakash
Votes: 0
Answers: 1
Create linear predictions with Stata
I want to run a regression of profits against time and see whether there is a change in the last 6 months. To do so, I want to have the regression before July and then get estimates for the whole year...

Data_Science_110
Votes: 0
Answers: 0
Visualize linear Regression in Plotly
I'm trying to create an interactive plot for my linear regression analysis, as it can be seen on: https://plotly.com/r/ml-regression/#linear-regression-with-r
Below my model, I hope this is the correc...
Tamara Traub
Votes: 0
Answers: 1