normBand: Kernel Density with Normal Density Overlay

normBandR Documentation

Kernel Density with Normal Density Overlay

Description

Calculates a kernel density estimate of the data along with confidence bounds. It also computes a normal density and confidence bounds for the normal density with the same mean and variance as the observed data.

Usage

normBand(x, ...)

Arguments

x

A vector of values whose density is to be calculated

...

Other arguments to be passed down to sm.density.

Details

The function is largely cribbed from the sm package by Bowman and Azzalini

Value

A named vector of scalar measures of fit

Author(s)

Dave Armstrong, A.W. Bowman and A. Azzalini

References

A.W> Bowman and A. Azzalini, R package sm: nonparametric smoothing methods (verstion 5.6).


psre documentation built on Aug. 8, 2022, 5:05 p.m.

Related to normBand in psre...