https://github.com/robjhyndman/hdrcde
Highest density regions and conditional density estimation
https://github.com/robjhyndman/hdrcde
Last synced: 2 months ago
JSON representation
Highest density regions and conditional density estimation
- Host: GitHub
- URL: https://github.com/robjhyndman/hdrcde
- Owner: robjhyndman
- Created: 2014-08-11T04:03:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T01:33:37.000Z (almost 2 years ago)
- Last Synced: 2025-04-13T16:08:06.686Z (2 months ago)
- Language: R
- Homepage: http://pkg.robjhyndman.com/hdrcde/
- Size: 12.5 MB
- Stars: 24
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hdrcde: Highest Density Regions and Conditional Density Estimation
[](https://github.com/robjhyndman/hdrcde/actions)
[](https://cran.r-project.org/package=hdrcde)
[](https://cran.r-project.org/package=hdrcde)
[](https://www.gnu.org/licenses/gpl-3.0.en.html)The R package *hdrcde* provides tools for computing highest density regions in one and two dimensions, kernel estimates of univariate density functions conditional on one covariate, and multimodal regression.
This package implements the methods described in the following papers.
* [Rob J Hyndman (1996) "Computing and graphing highest density regions". *American Statistician*, **50**, 120-126.](https://robjhyndman.com/publications/computing-and-graphing-highest-density-regions/)
* [Rob J Hyndman and David Bashtannyk (1996) "Estimating and visualizing conditional densities". *Journal of Computational and Graphical Statistics*, **5**, 315-336.](https://robjhyndman.com/publications/estimating-and-visualizing-conditional-densities/)
* [David Bashtannyk, Rob J Hyndman (2001) "Bandwidth selection for kernel conditional density estimation". *Computational Statistics and Data Analysis* **36**(3), 279-298.](https://robjhyndman.com/publications/bandwidth-selection-for-kernel-conditional-density-estimation/)
* [Rob J Hyndman and Qiwei Yao (2002) "Nonparametric estimation and symmetry tests for conditional density functions". *Journal of Nonparametric Statistics*, **14**(3), 259-278.](https://robjhyndman.com/publications/nonparametric-estimation-and-symmetry-tests-for-conditional-density-functions/)
* [Einbeck, J., and Tutz, G. (2006). "Modelling beyond regression functions: an application of multimodal regression to speed-flow data". *Journal of the Royal Statistical Society, Series C*, **55**, 461-475.](https://doi.org/10.1111/j.1467-9876.2006.00547.x)
* [Richard J Samworth and Matthew P Wand (2010) "Asymptotics and optimal bandwidth selection for highest density region estimation". *The Annals of Statistics*, **38**, 1767-1792.](https://doi.org/10.1214/09-AOS766)## Installation
You can install the **stable** version on
[R CRAN](https://cran.r-project.org/package=hdrcde).```r
install.packages('hdrcde', dependencies = TRUE)
```You can install the **development** version from
[Github](https://github.com/robjhyndman/hdrcde)```r
# install.packages("devtools")
devtools::install_github("robjhyndman/hdrcde")
```## License
This package is free and open source software, licensed under GPL 3.