Description Usage Arguments Details Value Note See Also

Calculate raw ed density estimates and fit ed model to data using loess

1 2 3 |

`x` |
data, a vector |

`k` |
the gap width (in number of observations) with which to compute the raw estimates |

`disjoint` |
should non-overlapping gaps be computed? (default |

`degree` |
degree of loess fitting (see |

`span` |
span of loess fitting (see |

`xgrid` |
number of equally-spaced points along the support of |

`bounds` |
bounds at which to fit the density (see details) |

`f` |
a function providing a true density or hypothesized density, with which the ed estimate can be compared (optional) |

`family` |
loess parameter ( |

`normalize` |
should the resulting density be normalized so that it integrates to one? |

`delta` |
grid augmentation parameter (experimental). A value of 0 (default) disables grid augmentation. |

`lower` |
grid augmentation parameter (experimental) |

`control` |
loess parameter (see |

bounds...

a list with a lot of things (to be documented...). For now, look at str(result) to get an idea.

This function is provided as a convenience, but often you may want to simply compute the raw estimates using `ed_raw`

and iteratively figure out how to fit the raw estimates with whatever nonparametric method you like.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.