GithubHelp home page GithubHelp logo

al00014 / bayes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jkarreth/bayes

0.0 1.0 0.0 1.22 MB

Code accompanying my ICPSR summer program course on Applied Bayesian Modeling.

Home Page: http://www.jkarreth.net/bayes-icpsr.html

R 10.63% HTML 89.37%

bayes's Introduction

Applied Bayesian Modeling at ICPSR

R and JAGS code accompanying my ICPSR summer program course on Applied Bayesian Modeling. See http://www.jkarreth.net/bayes-icpsr.html for more information. Please feel free to fork and develop any code you see in this repository. If you notice a problem or have a question, please email me at [email protected] and/or create an issue with the respective file.

Modeling examples

Multilevel models

Diagnostics

  • diagnostics.R: This script shows a variety of ways to obtain diagnostics (traceplots, density plots, BGR, etc.) of JAGS/MCMC objects in R using the coda, superdiag, ggmcmc, and mcmcplots packages.

Model presentation

  • regression.table.R: example code to easily export JAGS/BUGS results to LaTeX or HTML. Based on my mcmctab function.
  • regression.dotplot.R: example code to easily make regression coefficient plots from JAGS/BUGS results.
  • Posterior-Plots.R: a function written by Kevin Reuning (participant in the 2015 Applied Bayes workshop at ICPSR) to create a coefficient dot plot with added posterior density.
  • interaction.instructions.R: code to plot marginal effects from a Bayesian linear model with an interaction term across the range of a moderating variable.
  • limited.dep.vars.funcs.R: a set of functions written by Eric Dunford (participant in the 2015 Applied Bayes workshop at ICPSR) to calculate and visualize predicted probabilities from Bayesian logit or probit models for observed and simulated data.
  • factor.dotplot.R: code to make a dot plot (with credible intervals) of a Bayesian factor score.

bayes's People

Contributors

jkarreth avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.