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=c("HD", "NED", "GKL", "PWD", "SCHI2"), tau=NULL, tol=10^(-6), equal=10^(-3), max.iter=500, verbose=FALSE)raf="HD": Hellinger Distance RAF,
raf="NED": Negative Exponential Disparity RAF,
raf="GKL": Generalized Kullback-Leibler RAF family
with parameter tau.
raf="PWD": Power Divergence Measure RAF family
with parameter tau.
raf="SCHI2": Symmetric Chi-Squared Disparity RAF.
tol).TRUE warnings are printed.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.Agostinelli, C., (1998) Inferenza statistica robusta basata sulla funzione di verosimiglianza pesata: alcuni sviluppi, Ph.D Thesis, Department of Statistics, University of Padova.
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