Examples#

Both notebooks run on simulated data with a known curve, so you can see how close the estimates get. To use your own data, swap the simulation for your confounders X, dose A and outcome Y.

Notebook

What it covers

One curve

Fit with the defaults, read the diagnostics, the band, a contrast and the optimal dose

Curves for many groups

A curve per store nested in regions: pooling, small stores, and a new store with no data

The source notebooks are in examples/.