Coder Social home page Coder Social logo

Comments (2)

strengejacke avatar strengejacke commented on July 2, 2024

Should work now after updating parameters and performance from CRAN. Due to the "dependency chain", it might be you need to install insight from GitHub first, before installing parameters and performance (sorry for the inconvenience...).

from report.

strengejacke avatar strengejacke commented on July 2, 2024
library(report)
library(rstanarm)
z <- stan_glm(mpg ~ cyl, data = mtcars, refresh = 0)
report(z)

We fitted a Bayesian linear model (estimated using MCMC sampling with 4 chains of 2000 iterations and a warmup of 1000) to predict mpg with cyl (formula = mpg ~ cyl). Priors over parameters were set as normal (mean = 0.00, SD = 8.44) distributions. The Region of Practical Equivalence (ROPE) percentage was defined as the proportion of the posterior distribution within the [-0.60, 0.60] range. The 89% Credible Intervals (CIs) were based on Highest Density Intervals (HDI). Parameters were scaled by the mean and the SD of the response variable. Effect sizes were labelled following Funder's (2019) recommendations.The model's explanatory power is substantial (R2's median = 0.71, 89% CI [0.60, 0.82], adj. R2 = 0.68). The model's intercept, corresponding to mpg = 0 and cyl = 0, is at 37.81 (89% CI [34.51, 41.47], 0% in ROPE). Within this model:

  • The effect of cyl has a probability of 100% of being negative and can be considered as large and significant (median = -2.87, 89% CI [-3.41, -2.33], 0% in ROPE, std. median = -0.85). The algorithm successfuly converged (Rhat = 1.000) and the estimates can be considered as stable (ESS = 3478).

Created on 2020-03-04 by the reprex package (v0.3.0)

from report.

Related Issues (20)

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.