Giter Site home page Giter Site logo

proto4426 / shinystan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stan-dev/shinystan

0.0 2.0 0.0 24.8 MB

shinystan R package and ShinyStan GUI

Home Page: http://mc-stan.org/shinystan

License: GNU General Public License v3.0

R 76.09% CSS 19.14% HTML 4.77%

shinystan's Introduction

Stan Logo

ShinyStan

Travis-CI Build Status Codecov CRAN_Status_Badge RStudio CRAN Mirror Downloads

ShinyStan provides immediate, informative, customizable visual and numerical summaries of model parameters and convergence diagnostics for MCMC simulations. The ShinyStan interface is coded primarily in R using the Shiny web application framework and is available via the shinystan R package.

Resources

Installation

  • Install from CRAN:
install.packages("shinystan")

If this fails, try adding the arguments type='source' and/or repos='http://cran.rstudio.com'.

  • Install from GitHub (requires devtools package):
if (!require("devtools"))
  install.packages("devtools")
devtools::install_github("stan-dev/shinystan", build_vignettes = TRUE)

Demo

After installing run

library("shinystan")
launch_shinystan_demo()

Screenshots

About ShinyStan

Applied Bayesian data analysis is primarily implemented through the MCMC algorithms offered by various software packages. When analyzing a posterior sample obtained by one of these algorithms the first step is to check for signs that the chains have converged to the target distribution and and also for signs that the algorithm might require tuning or might be ill-suited for the given model. There may also be theoretical problems or practical inefficiencies with the specification of the model.

ShinyStan provides interactive plots and tables helpful for analyzing a posterior sample, with particular attention to identifying potential problems with the performance of the MCMC algorithm or the specification of the model. ShinyStan is powered by RStudio's Shiny web application framework and works with the output of MCMC programs written in any programming language (and has extended functionality for models fit using RStan and the No-U-Turn sampler).

Saving and deploying (sharing)

The shinystan package allows you to store the basic components of an entire project (code, posterior samples, graphs, tables, notes) in a single object. Users can save many of the plots as ggplot2 objects for further customization and easy integration in reports or post-processing for publication.

shinystan also provides the deploy_shinystan function, which lets you easily deploy your own ShinyStan apps online using RStudio's ShinyApps service for any of your models. Each of your apps (each of your models) will have a unique url and is compatible with Safari, Firefox, Chrome, and most other browsers.

Licensing

The shinystan R package and ShinyStan interface are open source licensed under the GNU Public License, version 3 (GPLv3).

shinystan's People

Contributors

jgabry avatar csgillespie avatar dpastoor avatar

Watchers

James Cloos avatar Antoine Pissoort 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.