Skip to content
Permalink
Browse files

misc edits

  • Loading branch information...
jstac committed May 8, 2016
1 parent c536c46 commit 25face5e85627cb3e94b0885210619867bc5e648
Showing with 2 additions and 2 deletions.
  1. +2 −2 lecture14/pre_RuixueGong.ipynb
@@ -8,7 +8,7 @@
"\n",
"** Ruixue Gong, NYU**\n",
"\n",
"This notebook helps economits to better understand the differences and similarities between machine learning package Scikit-learn and traditional statistical package Statsmodels. \n",
"This notebook helps economists better understand the differences and similarities between machine learning package Scikit-learn and traditional statistical package Statsmodels. \n",
"\n",
"First of all, we provide an overview of Scikit-learn and Statsmodels. Secondly, we make a brief contrast of these two packages. At last, we talk about the applications on several topics such as linear regression models, logistic models and time series analysis with the use of Statsmodels and Scikit-learn respectively.\n"
]
@@ -136,7 +136,7 @@
"Linear regression is in its basic form the same in statsmodels and in scikit-learn. However, Statsmodels can generate a summary of OLS result like Stata and R. Lecture 11 had already given an introduction to regression analysis in Sciki-learn, so we only present the different features owned by Statsmodels here.\n",
"\n",
"\n",
"Now consider the real modelas follows: \n",
"Now consider the real model as follows: \n",
"$$y = \\beta_1 x + \\beta_2 sin(x) + \\beta_3 (x-3)^2 + \\beta_0, \\quad \\text{ where } \\epsilon \\sim N(0,1)$$"
]
},

0 comments on commit 25face5

Please sign in to comment.
You can’t perform that action at this time.