kernden: Calculate global bandwidth kernel estimates of density...

Description Usage Arguments Details Value Author(s) References

Description

Estimates global bandwidth kernel from right-censored data using the Epanechnikov kernel described in Silverman BW (1986).

Usage

1
kernden(times, status, estgrid, bandwidth)

Arguments

times

A vector of survival times. It does not need to be sorted.

status

A vector indicating censoring: 0 - censored (alive), 1 - uncensored (dead). If status is missing, all the observations are assumed uncensored.

estgrid

A vector of time points at which the estimation will be made.

bandwidth

Bandwidth used to determine the degree of smoothing. Larger values of bandwidth will result in smoother of mean estimates. It is suggested to start with a value of approximately 20% of the range of the survival times.

Details

Calculate global bandwidth kernel estimates of density function for survival times

Value

Returns an object containing the time points of estimations (estgrid) and corresponding density estimates (denest).

Author(s)

R. Herrick and Dan Serachitopol

References

Hess, K.R. and Zhong, M. Density Function Estimation for Possibly Right-Censored Data Using Kernel Functions. Submitted.


mudens documentation built on May 2, 2019, 7:30 a.m.

Related to kernden in mudens...