This function calculates MHMC parameter estimates for multiple chains. See documentation for mhmc_sc.R for more information.
mhmc_mc(
chains = NULL,
y = y,
obj_fun = NULL,
link = NULL,
est_omega = TRUE,
est_lambda = TRUE,
est_zeta = TRUE,
est_nu = TRUE,
omega0 = NULL,
gamma0 = NULL,
lambda0 = NULL,
zeta0 = NULL,
nu0 = NULL,
kappa0 = NULL,
omega_mu = NULL,
omega_sigma2 = NULL,
lambda_mu = NULL,
lambda_sigma2 = NULL,
zeta_mu = NULL,
zeta_sigma2 = NULL,
nu_mu = NULL,
nu_sigma2 = NULL,
burn = NULL,
thin = NULL,
min_tune = NULL,
tune_int = NULL,
max_tune = NULL,
niter = NULL,
psrf = FALSE
)List with elements omega_draws (draws from every saved iteration of the MHMC sampler), omegaEAP (expected a posteriori estimates for omega), omegaPSD (posterior standard deviation estimates for omega), omega_psrf (potential scale reduction factor for omega), nuEAP (expected a posteriori estimates for nu), nuPSD (posterior standard deviation estimates for nu), nu_psrf (potential scale reduction factor for nu), zetaEAP (expected a posteriori estimates for zeta), zetaPSD (posterior standard deviation estimates for zeta), zeta_psrf (potential scale reduction factor for zeta).
Number of chains in the MHMC sampler (scalar).
Item response matrix (K by IJ).
A function that calculates predictions and log-likelihood values for the selected model (character).
Choose between "logit" or "probit" link functions.
Determines whether omega is estimated (logical).
Determines whether nu is estimated (logical).
Determines whether zeta is estimated (logical).
Determines whether nu is estimated (logical).
Starting or known values for omega (K by MN).
Starting or known values for gamma (JM by MN).
Starting or known values for lambda (IJ by JM).
Starting or known values for zeta (K by JM).
Starting or known values for nu (IJ by 1).
Starting or known values for kappa (1 by IJ).
Mean prior for omega (1 by MN).
Covariance prior for omega (MN by MN).
Mean prior for lambda (1 by JM)
Covariance prior for lambda (JM by JM)
Mean prior for zeta (1 by JM).
Covariance prior for zeta (JM by JM).
Mean prior for nu (1 by 1)
Covariance prior for nu (1 by 1)
Number of iterations at the beginning of an MCMC run to discard (scalar).
Determines every nth observation retained (scalar).
Determines when tunning begins (scalar).
MHMC tuning interval (scalar).
Determines when tunning ends (scalar).
Number of iterations of the MHMC sampler.
Estimate potential scale reduction factor (logical).