LogDensity.jl

Author NittanyLion
Popularity
1 Star
Updated Last
1 Year Ago
Started In
February 2022

LogDensity.jl

Stable Dev Build Status

This package computes estimates of the log density function and its derivatives using the estimator proposed in Pinkse and Schurter (Econometric Theory, 2022).

One of several advantages of estimating the logarithm of a density is that it is guaranteed to produce positive density estimates.

The code is reasonably fast and single-threaded, so it can be used inside a @threads for loop without additional overhead.

To use this package, just add LogDensity using the package manager (e.g. typing the ] character in the REPL and then typing add LogDensity).

The package provides two functions: logdensity and logdensityderivatives. In the REPL type ? followed by (e.g.) logdensity to see the documentation of the command.

Used By Packages

No packages found.