wle.binomial
is used to robust estimate the proportion parameters via Weighted Likelihood.
wle.binomial(x, size, boot=30, group, num.sol=1, raf="HD", tol=10^(-6), equal=10^(-3), max.iter=500, verbose=FALSE)
size
trials.raf="HD"
: Hellinger Distance RAF,
raf="NED"
: Negative Exponential Disparity RAF,
raf="SCHI2"
: Symmetric Chi-Squared Disparity RAF.
tol
).TRUE
warnings are printed.wle.binomial
returns an object of class
"wle.binomial"
.Only print method is implemented for this class.The object returned by wle.binomial
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 <- rbinom(20,p=0.2,size=10)
wle.binomial(x,size=10)
x <- c(rbinom(20,p=0.2,size=10),rbinom(10,p=0.9,size=10))
wle.binomial(x,size=10)
Run the code above in your browser using DataLab