Learn R Programming

AsyK (version 1.5.4)

NSR: Bandwidth Calculation.

Description

Calculate Bandwidth proposed by Silverman for nonnormal data.

Usage

NSR(y)

Arguments

y

a numeric vector of positive values.

Value

h

References

Silverman, B. W. 1986. Density Estimation. Chapman & Hall/ CRC, London.

Examples

Run this code
# NOT RUN {
y<-rexp(10,1)
 NSR(y)
# }

Run the code above in your browser using DataLab