Package: metropolis 0.1.8
metropolis: The Metropolis Algorithm
Learning and using the Metropolis algorithm for Bayesian fitting of a generalized linear model. The package vignette includes examples of hand-coding a logistic model using several variants of the Metropolis algorithm. The package also contains R functions for simulating posterior distributions of Bayesian generalized linear model parameters using guided, adaptive, guided-adaptive and random walk Metropolis algorithms. The random walk Metropolis algorithm was originally described in Metropolis et al (1953); <doi:10.1063/1.1699114>.
Authors:
metropolis_0.1.8.tar.gz
metropolis_0.1.8.zip(r-4.5)metropolis_0.1.8.zip(r-4.4)metropolis_0.1.8.zip(r-4.3)
metropolis_0.1.8.tgz(r-4.4-any)metropolis_0.1.8.tgz(r-4.3-any)
metropolis_0.1.8.tar.gz(r-4.5-noble)metropolis_0.1.8.tar.gz(r-4.4-noble)
metropolis_0.1.8.tgz(r-4.4-emscripten)metropolis_0.1.8.tgz(r-4.3-emscripten)
metropolis.pdf |metropolis.html✨
metropolis/json (API)
NEWS
# Install 'metropolis' in R: |
install.packages('metropolis', repos = c('https://alexpkeil1.r-universe.dev', 'https://cloud.r-project.org')) |
- magfields - A case control study of childhood leukemia and magnetic fields from Savitz, Wachtel, Barnes, et al (1998) doi:10.1093/oxfordjournals.aje.a114943 <https://doi.org/10.1093/oxfordjournals.aje.a114943>.
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 4 years agofrom:dfbd96a2d1. Checks:ERROR: 1 OK: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | FAIL | Nov 07 2024 |
R-4.5-win | OK | Nov 07 2024 |
R-4.5-linux | OK | Nov 07 2024 |
R-4.4-win | OK | Nov 07 2024 |
R-4.4-mac | OK | Nov 07 2024 |
R-4.3-win | OK | Nov 07 2024 |
R-4.3-mac | OK | Nov 07 2024 |
metropolis
Rendered frommetropolis-vignette.Rmd
usingknitr::knitr
on Nov 07 2024.Last update: 2020-01-23
Started: 2020-01-23
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert glm_metropolis output to 'mcmc' object from package coda | as.mcmc.metropolis.samples |
Inverse logit transform | expit |
logistic log likelihood | logistic_ll |
A case control study of childhood leukemia and magnetic fields from Savitz, Wachtel, Barnes, et al (1998) doi:10.1093/oxfordjournals.aje.a114943 <https://doi.org/10.1093/oxfordjournals.aje.a114943>. | magfields |
Use the Metropolis Hastings algorithm to estimate Bayesian glm parameters | metropolis_glm |
metropolis.control | metropolis.control |
Gaussian log likelihood | normal_ll |
Plot the output from the metropolis function | plot.metropolis.samples |
Print a metropolis.samples object | print.metropolis.samples |
Summarize a probability distribution from a Markov Chain | summary.metropolis.samples |