@@ -0,0 +1,320 @@
+%22%22%22Example: minimal OLS%0A%0A%22%22%22%0A%0Aimport numpy as np%0Aimport scikits.statsmodels as sm%0A%0Ansample = 100%0Ax = np.linspace(0,10, 100)%0AX = sm.tools.add_constant(np.column_stack((x, x**2)))%0Abeta = np.array(%5B1, 0.1, 10%5D)%0Ay = np.dot(X, beta) + np.random.normal(size=nsample)%0A%0Aresults = sm.OLS(y, X).fit()%0Aprint results.summary()%0A%0A%0A%0A%0A%0A

add ols minimal example statsmodels_docs