Highlights

Construct a random number generator for the predictive distribution.

What does SM MEAN IN OLS stand for?

OLS non-linear curve but linear in parameters # We simulate artificial data with a non-linear relationship between x and y:.

I divided my data to train and test (half each), and then I.

This stands for the standard error of the predicted mean.

We have demonstrated basic OLS and 2SLS regression in statsmodels and linearmodels.