icllde: Interval-Censored Local Linear Density Estimation

Description Usage Arguments Value Examples

Description

This is the local linear version of ickde.

Usage

1
icllde(I, h, f, m, n.iterations = 10, x1, xm, right.limit = 10000, kernel="gaussian")

Arguments

I

A matrix with two columns, consisting of left and right endpoints of the interval data

h

A scalar bandwidth

f

An initial estimate of the density at a sequence of grid points (optional)

m

The number of (equally-spaced) grid points at which the density is to be estimated

n.iterations

The maximum number of iterations allowed

x1

The minimum grid point (optional)

xm

The maximum grid point (optional)

right.limit

For right-censored data, the value to be used as an artificial right endpoint for the intervals

kernel

character argument indicated choice of kernel; current choices are "gaussian", "epanechnikov", "biweight"

Value

An object of class IC

Examples

1
2
3
     data(ICHemophiliac)
     estimate <- icllde(ICHemophiliac, m=200, h=.9)
     plot(estimate, type="l")


Search within the ICE package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.