\n", + " | camper | \n", + "persons | \n", + "child | \n", + "livebait | \n", + "
---|---|---|---|---|
0 | \n", + "0 | \n", + "1 | \n", + "1 | \n", + "1.0 | \n", + "
1 | \n", + "0 | \n", + "1 | \n", + "2 | \n", + "1.0 | \n", + "
2 | \n", + "0 | \n", + "1 | \n", + "3 | \n", + "1.0 | \n", + "
3 | \n", + "0 | \n", + "2 | \n", + "1 | \n", + "1.0 | \n", + "
4 | \n", + "0 | \n", + "2 | \n", + "2 | \n", + "1.0 | \n", + "
5 | \n", + "0 | \n", + "2 | \n", + "3 | \n", + "1.0 | \n", + "
6 | \n", + "0 | \n", + "3 | \n", + "1 | \n", + "1.0 | \n", + "
7 | \n", + "0 | \n", + "3 | \n", + "2 | \n", + "1.0 | \n", + "
8 | \n", + "0 | \n", + "3 | \n", + "3 | \n", + "1.0 | \n", + "
9 | \n", + "0 | \n", + "4 | \n", + "1 | \n", + "1.0 | \n", + "
10 | \n", + "0 | \n", + "4 | \n", + "2 | \n", + "1.0 | \n", + "
11 | \n", + "0 | \n", + "4 | \n", + "3 | \n", + "1.0 | \n", + "
\n", + " | camper | \n", + "persons | \n", + "child | \n", + "livebait | \n", + "
---|---|---|---|---|
0 | \n", + "0.0 | \n", + "1 | \n", + "0 | \n", + "1.0 | \n", + "
1 | \n", + "0.0 | \n", + "1 | \n", + "1 | \n", + "1.0 | \n", + "
2 | \n", + "0.0 | \n", + "1 | \n", + "2 | \n", + "1.0 | \n", + "
3 | \n", + "0.0 | \n", + "1 | \n", + "3 | \n", + "1.0 | \n", + "
4 | \n", + "0.0 | \n", + "2 | \n", + "0 | \n", + "1.0 | \n", + "
5 | \n", + "0.0 | \n", + "2 | \n", + "1 | \n", + "1.0 | \n", + "
6 | \n", + "0.0 | \n", + "2 | \n", + "2 | \n", + "1.0 | \n", + "
7 | \n", + "0.0 | \n", + "2 | \n", + "3 | \n", + "1.0 | \n", + "
8 | \n", + "0.0 | \n", + "3 | \n", + "0 | \n", + "1.0 | \n", + "
9 | \n", + "0.0 | \n", + "3 | \n", + "1 | \n", + "1.0 | \n", + "
10 | \n", + "0.0 | \n", + "3 | \n", + "2 | \n", + "1.0 | \n", + "
11 | \n", + "0.0 | \n", + "3 | \n", + "3 | \n", + "1.0 | \n", + "
12 | \n", + "0.0 | \n", + "4 | \n", + "0 | \n", + "1.0 | \n", + "
13 | \n", + "0.0 | \n", + "4 | \n", + "1 | \n", + "1.0 | \n", + "
14 | \n", + "0.0 | \n", + "4 | \n", + "2 | \n", + "1.0 | \n", + "
15 | \n", + "0.0 | \n", + "4 | \n", + "3 | \n", + "1.0 | \n", + "
<xarray.Dataset>\n", + "Dimensions: (chain: 4, draw: 1000, livebait_dim: 1, camper_dim: 1,\n", + " count_obs: 64)\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", + " * livebait_dim (livebait_dim) <U3 '1.0'\n", + " * camper_dim (camper_dim) <U3 '1.0'\n", + " * count_obs (count_obs) int64 0 1 2 3 4 5 6 7 ... 56 57 58 59 60 61 62 63\n", + "Data variables:\n", + " Intercept (chain, draw) float64 -2.454 -2.31 -2.91 ... -2.652 -2.887\n", + " livebait (chain, draw, livebait_dim) float64 1.629 1.58 ... 1.799 1.967\n", + " camper (chain, draw, camper_dim) float64 0.7037 0.7089 ... 0.7128\n", + " persons (chain, draw) float64 0.8707 0.8369 0.9457 ... 0.8847 0.912\n", + " child (chain, draw) float64 -1.345 -1.412 -1.418 ... -1.293 -1.573\n", + " count_psi (chain, draw) float64 0.6311 0.6201 0.6342 ... 0.6768 0.5745\n", + " count_mean (chain, draw, count_obs) float64 0.05349 0.2728 ... 0.05777\n", + "Attributes:\n", + " created_at: 2023-12-05T18:56:31.591639\n", + " arviz_version: 0.16.1\n", + " inference_library: pymc\n", + " inference_library_version: 5.8.1\n", + " sampling_time: 2.6078336238861084\n", + " tuning_steps: 1000\n", + " modeling_interface: bambi\n", + " modeling_interface_version: 0.13.0.dev0
<xarray.Dataset>\n", + "Dimensions: (chain: 4, draw: 1000)\n", + "Coordinates:\n", + " * chain (chain) int64 0 1 2 3\n", + " * draw (draw) int64 0 1 2 3 4 5 ... 994 995 996 997 998 999\n", + "Data variables: (12/17)\n", + " max_energy_error (chain, draw) float64 0.595 1.645 ... -0.2578 0.4279\n", + " reached_max_treedepth (chain, draw) bool False False False ... False False\n", + " process_time_diff (chain, draw) float64 0.000885 0.000874 ... 0.001667\n", + " diverging (chain, draw) bool False False False ... False False\n", + " n_steps (chain, draw) float64 7.0 7.0 7.0 ... 7.0 11.0 15.0\n", + " lp (chain, draw) float64 -750.1 -750.2 ... -751.9 -754.0\n", + " ... ...\n", + " largest_eigval (chain, draw) float64 nan nan nan nan ... nan nan nan\n", + " step_size (chain, draw) float64 0.415 0.415 ... 0.3918 0.3918\n", + " smallest_eigval (chain, draw) float64 nan nan nan nan ... nan nan nan\n", + " perf_counter_start (chain, draw) float64 5.346e+04 ... 5.346e+04\n", + " acceptance_rate (chain, draw) float64 0.7512 0.5492 ... 0.9919 0.8264\n", + " index_in_trajectory (chain, draw) int64 6 4 -6 -5 -2 4 ... 7 1 4 4 -1 9\n", + "Attributes:\n", + " created_at: 2023-12-05T18:56:31.597938\n", + " arviz_version: 0.16.1\n", + " inference_library: pymc\n", + " inference_library_version: 5.8.1\n", + " sampling_time: 2.6078336238861084\n", + " tuning_steps: 1000\n", + " modeling_interface: bambi\n", + " modeling_interface_version: 0.13.0.dev0
<xarray.Dataset>\n", + "Dimensions: (count_obs: 250)\n", + "Coordinates:\n", + " * count_obs (count_obs) int64 0 1 2 3 4 5 6 7 ... 243 244 245 246 247 248 249\n", + "Data variables:\n", + " count (count_obs) int64 0 0 0 0 1 0 0 0 0 1 0 ... 4 1 1 0 1 0 0 0 0 0 0\n", + "Attributes:\n", + " created_at: 2023-12-05T18:56:31.600135\n", + " arviz_version: 0.16.1\n", + " inference_library: pymc\n", + " inference_library_version: 5.8.1\n", + " modeling_interface: bambi\n", + " modeling_interface_version: 0.13.0.dev0
\n", + " | mean | \n", + "hdi_low | \n", + "hdi_high | \n", + "
---|---|---|---|
0 | \n", + "0.214363 | \n", + "0.144309 | \n", + "0.287735 | \n", + "
1 | \n", + "0.053678 | \n", + "0.029533 | \n", + "0.077615 | \n", + "
2 | \n", + "0.013558 | \n", + "0.006332 | \n", + "0.021971 | \n", + "
3 | \n", + "0.003454 | \n", + "0.001132 | \n", + "0.006040 | \n", + "
4 | \n", + "0.512709 | \n", + "0.369741 | \n", + "0.661034 | \n", + "
5 | \n", + "0.128316 | \n", + "0.077068 | \n", + "0.181741 | \n", + "
6 | \n", + "0.032392 | \n", + "0.015553 | \n", + "0.050690 | \n", + "
7 | \n", + "0.008247 | \n", + "0.003047 | \n", + "0.014382 | \n", + "
8 | \n", + "1.228708 | \n", + "0.913514 | \n", + "1.533121 | \n", + "
9 | \n", + "0.307342 | \n", + "0.192380 | \n", + "0.426808 | \n", + "
\n", + " | term | \n", + "estimate_type | \n", + "value | \n", + "camper | \n", + "persons | \n", + "child | \n", + "estimate | \n", + "lower_3.0% | \n", + "upper_97.0% | \n", + "
---|---|---|---|---|---|---|---|---|---|
0 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "1 | \n", + "1 | \n", + "0.214363 | \n", + "0.144309 | \n", + "0.287735 | \n", + "
1 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "1 | \n", + "2 | \n", + "0.053678 | \n", + "0.029533 | \n", + "0.077615 | \n", + "
2 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "1 | \n", + "3 | \n", + "0.013558 | \n", + "0.006332 | \n", + "0.021971 | \n", + "
3 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "1 | \n", + "4 | \n", + "0.003454 | \n", + "0.001132 | \n", + "0.006040 | \n", + "
4 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "2 | \n", + "1 | \n", + "0.512709 | \n", + "0.369741 | \n", + "0.661034 | \n", + "
5 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "2 | \n", + "2 | \n", + "0.128316 | \n", + "0.077068 | \n", + "0.181741 | \n", + "
6 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "2 | \n", + "3 | \n", + "0.032392 | \n", + "0.015553 | \n", + "0.050690 | \n", + "
7 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "2 | \n", + "4 | \n", + "0.008247 | \n", + "0.003047 | \n", + "0.014382 | \n", + "
8 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "3 | \n", + "1 | \n", + "1.228708 | \n", + "0.913514 | \n", + "1.533121 | \n", + "
9 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "3 | \n", + "2 | \n", + "0.307342 | \n", + "0.192380 | \n", + "0.426808 | \n", + "
\n", + " | term | \n", + "estimate_type | \n", + "value | \n", + "camper | \n", + "persons | \n", + "child | \n", + "estimate | \n", + "lower_3.0% | \n", + "upper_97.0% | \n", + "
---|---|---|---|---|---|---|---|---|---|
0 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "1 | \n", + "1 | \n", + "0.214363 | \n", + "0.144309 | \n", + "0.287735 | \n", + "
1 | \n", + "livebait | \n", + "diff | \n", + "(0, 1) | \n", + "0 | \n", + "1 | \n", + "2 | \n", + "0.053678 | \n", + "0.029533 | \n", + "0.077615 | \n", + "