NittanyLion / LogDensity.jl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:Julia 100.0%