Skip to content

Commit

Permalink
fix DIC definition
Browse files Browse the repository at this point in the history
  • Loading branch information
abmantz committed Dec 2, 2019
1 parent 77dba31 commit 5640bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Day5/model_selection/modelevaluation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
" av_of_D = np.mean(-2.0*st.norm.logpdf(y))\n",
" D_of_av = -2.0*st.norm.logpdf( np.mean(y) )\n",
" pD = av_of_D - D_of_av\n",
" DIC = av_of_D + 2*pD\n",
" DIC = D_of_av + 2*pD\n",
" return av_of_D, D_of_av, pD, DIC\n",
"\n",
"print(DIC_thingy(-1.0, 1.0))\n",
Expand Down

0 comments on commit 5640bdb

Please sign in to comment.