R/NP.M.Estimate.R

Defines functions NP.M.Estimate

Documented in NP.M.Estimate

NP.M.Estimate<-function(xin, cens, xout)
  #purely non parametric M estimate
{
  Muse.np<-SimpsonInt(HRSurv(xout, xin, cens, bw.nrd(xin), Epanechnikov), xout[2]-xout[1])
  Muse.np
}

Try the NPHazardRate package in your browser

Any scripts or data that you put into this service are public.

NPHazardRate documentation built on May 2, 2019, 10:24 a.m.