Description Usage Arguments Author(s) References See Also Examples
Function for plotting the hazard rate estimator computed by the function HR between two times.
1 | plotHR(dat,tmin,tmax,N,h,alpha,bound)
|
dat |
data from which the estimator is to be computed. |
tmin |
the estimator is computed from time tmin to time tmax. tmax is greater than tmin. |
tmax |
the estimator is computed from time tmin to time tmax. tmax is greater than tmin. In addition, tmax must be less than bound. |
N |
size of the grid plot. |
h |
bandwith. |
alpha |
strictly positive real number. If h is NULL, the bandwith is 1/n^alpha where n is the number of data. |
bound |
the estimator is computed as an integral between the times 0 and bound. bound may be the deterministic time of censorship. The default value is Inf: it means that there is no censorship. Moreover, tmax must be less than bound. |
Romain Azais
Ramlau-Hansen H. Smoothing counting process intensities by means of kernel functions The Annals of Statistics, Vol. 11, No.2, (1983) 453-466
Andersen P.K., Borgan O., Gill R.D., Keiding N. Statistical models based on counting processes Springer Series in Statistics. Springer-Verlag, New-York (1993)
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.