max_q2_iar | R Documentation |
Uses stan
to optimize the term in the EM algorithm that depends on
the prior probabilities of inclusion in the model, p_j
.
max_q2_iar(
iar.data,
p,
opt.algorithm = "LBFGS",
tau.prior = "none",
tau.manual = NULL,
p.bound = c(0.01, 0.99),
stan_manual = NULL
)
iar.data |
A list of output from |
p |
A vector containing the prior probabilities of inclusion for each parameter at the current iteration. |
opt.algorithm |
One of the optimization algorithms available from
|
tau.prior |
One of |
tau.manual |
When |
p.bound |
A vector defining the lower and upper boundaries for the
probabilities of inclusion in the model, respectively. Defaults to
|
stan_manual |
A |
A vector containing updated probabilities of inclusion.
This function borrows from the work of Mitzi Morris, who describes
how to fit an intrinsic autoregression in
stan
\insertCiteMorris:2017,Morris:2019ssnet.
Morris:2017ssnet
\insertRefMorris:2019ssnet
\insertRefTang:2017ssnet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.