Description Usage Arguments Value Examples
it is an empirical bayes method to get the lambda, and we use mento carlo EM
1 | EmpiricalBayes(L0, tol, tauinv2, p, lambda)
|
L0 |
a double value |
tol |
a double value |
tauinv2 |
a vector |
p |
an int value |
lambda |
a double value |
a numericvector
1 2 3 4 5 | ## Not run:
L0<-0.1;tol<-10^(-3);tauinv2<-c(1,2,3);p<-3;lambda<-1
EmpiricalBayes(L0,tol,tauinv2,p,lambda)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.