marron Function (GPL)

Syntax

marron()

Description

Uses the Marron adjustment to normalize the default fixed window across different kernel functions. Different kernel functions have different optimal windows. Therefore, normalizing the fixed window is useful when you need to compare the results of multiple kernel functions.

Examples

Figure 1. Example: Adding a kernel distribution
ELEMENT: line(position(density.kernel.epanechnikov(x, marron())))