bmrarm_fc_patient_siw: Function to sample the random effects and the associated...

View source: R/fc_bmrarm.R

bmrarm_fc_patient_siwR Documentation

Function to sample the random effects and the associated covariance matrix

Description

Function to sample the random effects and the associated covariance matrix

Usage

bmrarm_fc_patient_siw(
  y,
  z,
  X,
  cur_draws,
  samp_info,
  Z_kron,
  prior_siw_uni,
  prior_siw_df,
  prior_siw_scale_mat
)

Arguments

y

matrix of latent and observed continuous observations

z

vector of the ordinal outcomes

X

design matrix

cur_draws

list of current parameter values

samp_info

list of internal info used for sampling

Z_kron

design matrix for random effects

prior_siw_uni

prior bounds for the uniform distribution associated with the SIW prior

prior_siw_df

degrees of freedom for the SIW prior

prior_siw_scale_mat

scale matrix for the SIW prior

Value

list


nickseedorff/bmrarm documentation built on April 17, 2025, 9:43 p.m.