-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
51 lines (30 loc) · 2.37 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
title: "pdmphmc - numerical generalized randomized HMC processes for `R`"
author: "Tore Selland Kleppe"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
documentclass: book
bibliography: [book.bib, packages.bib]
#url: https://torekleppe.github.io/pdmphmc.doc/
#cover-image: ./cover_image.pdf
description: |
Description in index.Rmd
link-citations: yes
---
```{r, echo=FALSE}
eval.examples= TRUE #FALSE #
```
# About
This document provides documentation of the `pdmphmc`(piecewise deterministic Markov process HMC) package.
The package is available on github and is most easily installed via `devtools::install_github("https://github.com/torekleppe/pdmphmc")` (requires the `devtools` package)
The package implements, with some modifications and substantial additions, the methodology of @kleppe_CTHMC, @kleppe_amt.
## What is `pdmphmc`?
`pdmphmc` is a system for carrying out probability computations, typically associated with Bayesian statistical modelling. `pdmphmc` consist of
- A very flexible system for specifying Bayesian statistical models using C++ classes.
- An implementation of numerical generalized randomized Hamiltonian Monte Carlo samplers for MCMC-like computations for models specified in the above mentioned system.
## Why `pdmphmc`?
Many packages provides computational methods for Bayesian statistical models. `pdmphmc` is designed to be *computationally fast and stable, even for high-dimensional models and/or models where the posterior distribution exhibits complicated non-linear dependence structures*. Particular emphasis has been on developing and implementing methodology suitable for fitting non-linear hierarchical models, and also models involving hard constraints/restricted domains.
## Prerequisites
- This documentation assumes basic familiarity with the C++ programming language.
- This documentation assumes modest familiarity with the Eigen C++ library, see e.g. https://eigen.tuxfamily.org/dox/group__QuickRefPage.html
- The package relies on the Stan Math Library (https://mc-stan.org/users/interfaces/math) for automatic differentiation. In addition, the complete Stan Math Library (including all probability density functions etc) are also available within the modeling facilities of this package. Hence, some familiarity with the probability densities etc documented in https://mc-stan.org/docs/functions-reference/index.html may be useful.