Description Usage Arguments Value Examples
Estimate initial parameters of the beta-Poisson model for a data vector
1 | getInitParam(x, para.num = 4)
|
x |
A vector of input data points |
para.num |
Mode of beta-Poisson model: 3, 4 (default) or 5 parameters |
Initial parameters for BP models of the data points
1 2 3 | set.seed(2015)
bp.vec=rBP(100,alp=0.6,bet=1.5,lam1=20,lam2=0.05)
init.par=getInitParam(bp.vec,para.num=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.