wjakethompson / measr

R package for the Bayesian estimation of diagnostic classification models using Stan
https://measr.info
GNU General Public License v3.0
10 stars 3 forks source link

Pre-compiled models #26

Open wjakethompson opened 1 year ago

wjakethompson commented 1 year ago

For LCDM, we could specify all possible parameters, and then use an expanded Q-matrix (i.e., with interaction terms calculated) to zero out relevant parameters (e.g., l1_212 = raw_l1_212 * Q[2, {column}].

Would need to also consider how to pass user-specified priors. rstanarm uses pre-compiled models and allows user-specified priors, so maybe look at implementation here: https://github.com/stan-dev/rstanarm/tree/master/src/stan_files