{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Model comparison in practice\n", "\n", "[Data set download](https://s3.amazonaws.com/bebi103.caltech.edu/data/singer_transcript_counts.csv)\n", "\n", "
\\n\"+\n", " \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n", " \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n", " \"
\\n\"+\n", " \"\\n\"+\n",
" \"from bokeh.resources import INLINE\\n\"+\n",
" \"output_notebook(resources=INLINE)\\n\"+\n",
" \"
\\n\"+\n",
" \"\\n\"+\n \"BokehJS does not appear to have successfully loaded. If loading BokehJS from CDN, this \\n\"+\n \"may be due to a slow or bad network connection. Possible fixes:\\n\"+\n \"
\\n\"+\n \"\\n\"+\n \"from bokeh.resources import INLINE\\n\"+\n \"output_notebook(resources=INLINE)\\n\"+\n \"
\\n\"+\n \"<xarray.Dataset>\n", "Dimensions: (chain: 4, draw: 1000, log_lik_dim_0: 279)\n", "Coordinates:\n", " * chain (chain) int64 0 1 2 3\n", " * draw (draw) int64 0 1 2 3 4 5 6 7 ... 993 994 995 996 997 998 999\n", " * log_lik_dim_0 (log_lik_dim_0) int64 0 1 2 3 4 5 ... 273 274 275 276 277 278\n", "Data variables:\n", " log_lik (chain, draw, log_lik_dim_0) float64 -5.53 -5.972 ... -6.953\n", "Attributes:\n", " created_at: 2024-02-01T21:51:04.108606\n", " arviz_version: 0.17.0\n", " inference_library: cmdstanpy\n", " inference_library_version: 1.2.0
\n", " | rank | \n", "elpd_loo | \n", "p_loo | \n", "elpd_diff | \n", "weight | \n", "se | \n", "dse | \n", "warning | \n", "scale | \n", "
---|---|---|---|---|---|---|---|---|---|
mix | \n", "0 | \n", "3191.517389 | \n", "5.587162 | \n", "0.000000 | \n", "0.987199 | \n", "21.757238 | \n", "0.000000 | \n", "False | \n", "deviance | \n", "
single | \n", "1 | \n", "3281.447082 | \n", "2.042356 | \n", "89.929693 | \n", "0.012801 | \n", "17.283447 | \n", "17.480505 | \n", "False | \n", "deviance | \n", "