Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: smoother
See also: denest nparmaest

Quantlet: dcdenest
Description: estimates a univariate density of a random variable that is convoluted with a Gaussian random variable. The estimation is based on deconvolution by inverting the characteristic function.

Reference(s):

Usage: dh = dcdenest(x, h {,R})
Input:
x n x 1 vector, containing the data.
h scalar, bandwidth.
R optional positive scalar, number of grid points for internal approximations. (Default is 200.)
Output:
dh R x 2 matrix, estimated density.

Example:
library("smoother")
library("times")
h=0.8
x=genarma(0.8,0.8,normal(200))
dh=dcdenest(x,h)
plot(setmask(dh,"line"))

Result:
Plot of the density function.



Author: M. Mueller, 20020304
(C) MD*TECH Method and Data Technologies, 05.02.2006