Fit qrme with a range of mixture component counts
and rank the specifications by AIC and BIC. Use this to choose the number
of ME mixture components for a single equation.
The number of free ME parameters is:
n_mix = 0: \(k = 0\) (no ME; LL from standard QR)n_mix = 1: \(k = 2\) (\(\mu\), \(\sigma\))n_mix >= 2: \(k = 3m - 1\) (\(\mu_1,\ldots,\mu_m\), \(\sigma_1,\ldots,\sigma_m\), \(\pi_1,\ldots,\pi_{m-1}\))
Arguments
- formula
formula for the outcome model (passed to
qrme)- data
data.frame
- tau
quantile levels for QR
- n_mix_vals
integer vector of component counts to evaluate (default
0:3;0is the no-ME baseline)- return_fits
logical; if
TRUEthe fitted qrme objects are included in the output (defaultFALSE)- ...
additional arguments passed to
qrmefor every fit (e.g.me_distribution,mcmc_draws,mcmc_burn_in).n_mixandseare set internally and must not be passed.