Learn R Programming

ICE (version 0.69)

icllde: Interval-Censored Local Linear Density Estimation

Description

This is the local linear version of ickde.

Usage

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

IC

Examples

Run this code
     data(ICHemophiliac)
     estimate <- icllde(ICHemophiliac, m=200, h=.9)
     plot(estimate, type="l")

Run the code above in your browser using DataLab