https://github.com/nimble-dev/nimblequad
Laplace approximation, quadrature and nested approximation methods for NIMBLE.
https://github.com/nimble-dev/nimblequad
Last synced: 12 days ago
JSON representation
Laplace approximation, quadrature and nested approximation methods for NIMBLE.
- Host: GitHub
- URL: https://github.com/nimble-dev/nimblequad
- Owner: nimble-dev
- Created: 2024-07-21T17:04:23.000Z (almost 2 years ago)
- Default Branch: devel
- Last Pushed: 2025-03-11T15:58:48.000Z (about 1 year ago)
- Last Synced: 2025-03-11T16:40:57.927Z (about 1 year ago)
- Language: R
- Size: 470 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nimbleQuad
[](https://github.com/nimble-dev/nimbleQuad/actions/workflows/tests.yaml)
[](https://CRAN.R-project.org/package=nimbleQuad)
Laplace approximation, quadrature and nested approximation methods for NIMBLE.
Please see the [NIMBLE](https://r-nimble.org/) website and [main NIMBLE repository](https://github.com/nimble-dev/nimble) for more information.
### Package Requirements
`nimbleQuad` must be used with version `1.4.0` or higher of the `nimble` package, because it makes use of the automatic differentiation (AD) feature of `nimble`released in `nimble` version 1.0.0 and extended in version 1.4.0.
For using the methods of `nimbleQuad` on a model, derivative calculations need to be built into for the model object. This is accomplished using the `buildDerivs = TRUE` argument in the call to `nimbleModel` as:
```
nimbleModel(code, constants, data, inits, buildDerivs = TRUE)
```