View source: R/EB_poisson_mean_routines.R
vga_pois_solver | R Documentation |
This function tries Newton's method. If not working, then use bisection.
vga_pois_solver(
init_val,
x,
s,
beta,
sigma2,
maxiter = 1000,
tol = 1e-05,
method = "newton"
)
init_val |
initial value for posterior mean |
x , s |
data and scale factor |
beta , sigma2 |
prior mean and variance. Their length should be equal to n=length(x) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.