Learn R Programming

md (version 1.0.4)

fhat: Calculating estimated density value on some x with bandwidth h

Description

Calculating estimated density value on some x with bandwidth h

Usage

fhat(x, h, data)

Arguments

x
scalar
h
bandwidth
data
data sample

Value

estimated density value

Examples

Run this code
fhat(0,0.2,rnorm(100))

Run the code above in your browser using DataLab