emplik-internal {emplik} | R Documentation |
Internal emplik functions
logelr(x,mu,lam) logwelr(x,mu,wt,lam) gradf(z,wt,lam) llog(z, eps) llogp(z, eps) llogpp(z, eps) Wdataclean2(z,d,wt=rep(1,length(z))) Wdataclean3(z,d,zc=rep(1, length(z)),wt=rep(1,length(z))) Wdataclean5(z,d,zc=rep(1, length(z)),wt=rep(1,length(z)),xmat) DnR(x,d,w,y=rep(-Inf,length(x))) solve3.QP(D, d, A, b, meq, factorized=FALSE) WKM(x,d,zc=rep(1,length(d)),w=rep(1,length(d))) LTRC(x,d,w=rep(1, length(d)),y=rep(-Inf, length(x))) el.test.wt3(x,wt,mu,maxit,gradtol,Hessian,svdtol,itertrace) iter(x, y, delta, beta) redistF(y, d, Fdist)
These are not intended to be called by the user.
Wdataclean2
and
DnR
are used by the functions emplikH1.test
,
emplikH2.test
and emplikdisc.test
. It is also used by
LTRC
.
logelr
, llog
, llogp
and llogpp
are used by function el.test
.
Wdataclean2
, WKM
and solve3.QP
are
used by function el.cen.test
.
Wdataclean2
is used by el.cen.EM
.
LTRC
is for Left Truncated and Right Censored data.
el.test.wt3
are similar to el.test.wt
and el.test.wt2
,
but can take vector mean as constraint. llog
, llogp
and
llogpp
are used by both el.test.wt3
and
el.test.wt2
. In addition logwelr
is used by el.test.wt3
.
iter
is for perform one iteration of EM in the Buckley-James
censored regression estimation.
redistF
is for redistribution, according to Fdist.