Skip to content

Commit e10c111

Browse files
authored
Add files via upload
1 parent d495c2a commit e10c111

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Interactive_Model_Fitting.ipynb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,21 @@
7474
"\\hat{\\beta}^{OLS}= {\\text{arg min}}_{\\beta} \\rightarrow P(X | \\hat{f}_{\\beta}(X))\n",
7575
"\\end{equation}\n",
7676
"\n",
77+
"#### Comparing OLS and MLE Approaches\n",
78+
"\n",
79+
"We calculate the model parameters, such that we:\n",
80+
"\n",
81+
"**OLS**: - minimize the sum of the squared differences between the observed values and the values predicted by the model.\n",
82+
"\n",
83+
"**MLE**: - maximize the likelihood of the observed data given the model.\n",
84+
"\n",
85+
"Both methods assume sufficient sample data, sample data representativity, correct model specification, in adddition:\n",
86+
"\n",
87+
"**OLS**: - assumes that the errors have a mean of zero, constant variance and are independent of eachother (no correlation in error).\n",
88+
"\n",
89+
"Wit\n",
90+
"\n",
91+
"\n",
7792
"#### Load and Configure the Required Libraries\n",
7893
"\n",
7994
"The following code loads the required libraries and sets a plotting default."

0 commit comments

Comments
 (0)