Currently, the hmetad package estimates a single M-ratio for both responses. Although it is less commonly used, Maniscalco & Lau (2014) showed that a more flexible approach is to use different M-ratios for the two responses. This could in principle be supported in the hmetad package, although it would require:
- Modifying
metad and stancode_metad to include response-specific M-ratio parameters
- Modifying
fit_metad to include argument for response-specific M-ratio parameters
- Modifying
posterior_epred_metad, log_lik_metad, and posterior_predict_metad to detect & use response-specific M-ratio parameters
- Modifying
_draws and _rvars functions to use response-specific M-ratio parameters
Currently, the
hmetadpackage estimates a single M-ratio for both responses. Although it is less commonly used, Maniscalco & Lau (2014) showed that a more flexible approach is to use different M-ratios for the two responses. This could in principle be supported in thehmetadpackage, although it would require:metadandstancode_metadto include response-specific M-ratio parametersfit_metadto include argument for response-specific M-ratio parametersposterior_epred_metad,log_lik_metad, andposterior_predict_metadto detect & use response-specific M-ratio parameters_drawsand_rvarsfunctions to use response-specific M-ratio parameters