Documentation

Stan model reference

Understand Murphet’s Beta and Gaussian model heads, logit link and autoregressive terms.

Beta likelihood

A logit link maps a latent predictor to the expected proportion. The model uses a precision parameter to control dispersion and accepts observed values in the open interval (0, 1).

Read the Beta Stan program ↗

Gaussian model head

Select likelihood="gaussian" for a continuous outcome that can extend beyond (0, 1). This program uses a Student-t observation distribution and an identity link.

Read the Gaussian-head Stan program ↗

Trend, seasonality and residuals

Smooth changepoints let the trend evolve. Fourier terms represent periodic structure, and an AR(1) term models dependence across neighboring observations.

Package guide on GitHub · All documentation