Description Usage Arguments Value
This is a fixed-point iteration for the SUCCOTASH EM algorithm. This updates the estimte of the prior and the estimate of the hidden covariates.
1 2 | succotash_fixed(pi_Z, lambda, alpha, Y, tau_seq, sig_diag,
plot_new_ests = FALSE, var_scale = TRUE)
|
pi_Z |
A vector. The first |
lambda |
A vector. This is a length |
alpha |
A matrix. This is of dimension |
Y |
A matrix of dimension |
tau_seq |
A vector of length |
sig_diag |
A vector of length |
plot_new_ests |
A logical. Should we plot the new estimates of pi? |
var_scale |
A logical. Should we update the scaling on the
variances ( |
pi_Z_new
A vector of numerics. The first M of which
are the new pi values and the last k of which are the new Z
values (if var_scale = FALSE
). If var_scale =
TRUE
then the last element is actually the new variance
inflation parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.