Skip to content

Commit 5343da4

Browse files
authored
Remove historic 'Auto-detected dimensions' section from parameter_draws example (#30)
This section documented auto-detection as if it were a new feature — it's now just how the package works. The table of row counts is redundant with the head() output shown immediately after in the workflow.
1 parent d4e33fa commit 5343da4

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

docs/examples/01-parameter_draws.qmd

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@ status: stable
66

77
`parameter_draws()` is the entry point for parameter-space plots: it pulls posterior draws out of an ArviZ object into a tidy Polars `DataFrame` — one row per `chain × draw × coordinate`, each variable a column. This example starts with simulated observed data, fits a real PyMC model, and then uses the resulting posterior draws for densities, intervals, contrasts, and cross-parameter plots.
88

9-
## Auto-detected dimensions
10-
11-
Dimensions are read from the xarray DataArray and spread automatically — no bracket syntax is needed. `chain` and `draw` are the only dimensions that are *not* included in the output columns.
12-
13-
| Variable | Meaning | Rows |
14-
| --- | --- | --- |
15-
| `"sigma"` | scalar parameter | `chain × draw` |
16-
| `"beta"` | one-dimensional array | `chain × draw × groups` |
17-
| `"intercept"` | another group-level array | `chain × draw × groups` |
18-
19-
Request several variables in one call and `tidydraws` joins them: variables sharing a dimension are inner-joined; a scalar is broadcast across an array's dimensions.
20-
219
## Full PyMC workflow
2210

2311
The data are generated from four groups with deliberately different intercepts and slopes, including one negative slope. That separation makes the posterior plots diagnose real group differences rather than noise around one common line.

0 commit comments

Comments
 (0)