eval_dens: Density Estimation for a DP Posterior

Description Usage Arguments

Description

Compute density esimates for a value by computing difference in distribution values for a small interval around value of interest.

Usage

1
eval_dens(x, epsilon, sims, ...)

Arguments

x

A numeric. Value in the domain at which to evaluate the posterior.

epsilon

A numeric. Small value around which to estimate the density.

sims

A tibble. Simulations from dppost_sim2() (preferred) or dppost_sim().

...

Named arguments to pass to to the centering function.


sctyner/dprocsim documentation built on June 30, 2019, 11:51 a.m.