update_gamma_alpha_subid_separate_tau | R Documentation |
s_u=1
component)separate tau's
update_gamma_alpha_subid_separate_tau( u, g_psi, g_phi, tau_2_t_u, tau_1_t_u, E_beta, E_zeta_u, X, E_eta, E_xi_u, rmat, h_pau, levels, subject_ids, v_lookup )
u |
node id (internal or leaf node |
g_psi, g_phi |
g of local variational parameters |
tau_2_t_u, tau_1_t_u |
variational Gaussian variances for gamma and alpha |
E_beta, E_zeta_u |
moment updates produced by |
X |
transformed data: 2Y-1 |
E_eta |
leaves' expected eta |
E_xi_u |
node u's expected xi |
rmat |
a matrix of variational probabilities of all observations belong to K classes; N by K; each row sums to 1 |
h_pau |
a numeric vector of length p indicating the branch length between a node and its parent |
levels |
a vector of possibly repeating integers from 1 to Fg, or L, |
subject_ids |
the ids of subjects in the leaf descendants of node u |
v_lookup |
a vector of length equal to the total number of rows in X; each element is an integer, indicating which leaf does the observation belong to. |
a list
actually 1/A in the paper, this is variance
actually 1/C in the paper, this is variance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.