probitHLM | R Documentation |
Performs modeling procedure for a Probit Hierarchical Level Model.
probitHLM( unique_subject_ids, subject_ids, choices_nk, fixed_effects_design, rv_effects_design, B_elem_plus1, gamma, beta, theta, zeta_rv, WtW, Z_c, Wzeta_0, inv_Sigma_gamma, mu_gamma, Sigma_zeta_inv, S0, mu_beta, sigma_beta_inv )
unique_subject_ids |
A |
subject_ids |
A |
choices_nk |
A |
fixed_effects_design |
A |
rv_effects_design |
A |
B_elem_plus1 |
A |
gamma |
A |
beta |
A |
theta |
A |
zeta_rv |
A |
WtW |
A |
Z_c |
A |
Wzeta_0 |
A |
inv_Sigma_gamma |
A |
mu_gamma |
A |
Sigma_zeta_inv |
A |
S0 |
A |
mu_beta |
A |
sigma_beta_inv |
A |
The function is implemented to decrease the amount of vectorizations necessary.
A list
that contains:
zeta_1
A vector
of length N
sigma_zeta_inv_1
A matrix
of dimensions V x V
gamma_1
A vector
of length P
beta_1
A vector
of length V
B
A matrix
of length V
Steven Andrew Culpepper and James Joseph Balamuta
rwishart()
and TwoPLChoicemcmc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.