getInitParam: Estimate initial parameters of the beta-Poisson model for a...

Description Usage Arguments Value Examples

View source: R/getInitParam.R

Description

Estimate initial parameters of the beta-Poisson model for a data vector

Usage

1
getInitParam(x, para.num = 4)

Arguments

x

A vector of input data points

para.num

Mode of beta-Poisson model: 3, 4 (default) or 5 parameters

Value

Initial parameters for BP models of the data points

Examples

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)

nghiavtr/BPSC documentation built on May 23, 2019, 4:42 p.m.