Ordinary Least Squares, P Value, Regression, Statsmodels.
different concepts that will be used to estimate the parameters of the model. Let’s assume we have one independent variable X and we want to predict y: The function of the green line is our regression model: The parameters of this model, the intercept w0 and the slope w1 will be used to predict yi