wle.poisson is used to robust estimate the lambda parameters in the poisson model via Weighted Likelihood.wle.poisson(x, boot=30, group, num.sol=1, raf="HD",
tol=10^(-6), equal=10^(-3), max.iter=500)raf="HD": Hellinger Distance RAF,
raf="NED": Negative Exponential Disparity RAF,
raf="SCHI2": Symmetric Chi-Squared Disparity RAF.
tol).wle.poisson returns an object of class "wle.poisson".Only print method is implemented for this class.
The object returned by wle.poisson are:
max.iter iteration are reached.library(wle)
set.seed(1234)
x_rpois(40,5)
wle.poisson(x)
x_c(rpois(40,5),rpois(10,20))
wle.poisson(x)Run the code above in your browser using DataLab