Model Fitting

This section covers the core fitting workflow for PanelMMM: running MCMC, checking priors before fitting, and saving a fitted model for later reuse.

Pages

  • Fitting the Model - How fit() works, how sampler settings are applied, and what you get back.
  • Prior Predictive Checks - How to sample and inspect prior predictive draws before fitting.
  • Save and Load - How to persist a fitted model to NetCDF and rebuild PanelMMM from saved InferenceData.