Functions to implement Generalized Direct Sampling


[Up] [Top]

Documentation for package ‘bayesGDS’ version 0.6.0

Help Pages

bayesGDS-package Functions to support implementation of the Braun and Damien (2013) Generalized Direct Sampling algorithm.
bayesGDS Functions to support implementation of the Braun and Damien (2013) Generalized Direct Sampling algorithm.
demo.get.f Functions for the binary choice example in the vignette.
demo.get.grad Functions for the binary choice example in the vignette.
demo.get.hess.struct Functions for the binary choice example in the vignette.
get.cutoffs Draw thresholds for the accept-reject stage of the GDS sampling algorithm.
get.LML Estimate log marginal likelihood of model
inv.logit inverse logit function
inv.vech inverse vech operator on a vector
logit logit function
log_inv.logit log of inverse logit function
sample.GDS Collect draws from the target posterior distribution.
vech vech operator on a square matrix