NP.M.Estimate {NPHazardRate} | R Documentation |
Calculation of the contant term in the AMISE plugin bandwidth rule PlugInBand
.
NP.M.Estimate(xin, cens, xout)
xin |
A vector of data points |
xout |
The point at which the estimates should be calculated. |
cens |
Censoring Indicators. |
Approximates the term
M = \int_0^T \frac{ \lambda_T(x) }{1-F(x)} \,dx
which is needed in the optimal AMISE bandwidth expression of PlugInBand
. The integrand
\frac{\lambda_T(x)}{1-F(x)}\,dx
is calculated by HRSurv
and integration is performed via the extended Simpson's numerical integration rule (SimpsonInt
).
A scalar with the value of the constant.