Git Product home page Git Product logo

graemeleehickey / bayesdp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.77 MB

Tools for the Bayesian Discount Prior Function

Home Page: https://github.com/graemeleehickey/bayesDP/

License: GNU General Public License v3.0

R 93.59% C++ 6.41%
bayesian-inference bayesian bayesian-statistics rstats rstats-package r prior-distribution posterior-probability posterior-predictive clinical-trials

bayesdp's Introduction

bayesDP

CRAN_Status_Badge Downloads License Codecov test coverage R build status

bayesDP provides tools and functions for data augmentation using the Bayesian discount prior function for one arm and two arm clinical trials.

CRAN Installation

Install release version from CRAN:

install.packages("bayesDP")

GitHub Installation

Install development version from GitHub:

devtools::install_github("graemeleehickey/bayesDP")

bayesdp's People

Contributors

balc0022 avatar balcomes avatar donaldmusgrove avatar graemeleehickey avatar

Watchers

 avatar

bayesdp's Issues

bdplm requires mean centering for valid updating

The bdplm function re-parameterizes the classical ANCOVA model by removing the fixed intercept. This induces a correlation between mu_treatment and mu_control. To overcome this, it is necessary that we mean-center the baseline values in the ANCOVA. Either a documentation update is required or an automatic centering.

Prior distribution for beta_x in bdplm

In bdplm, the default for prior_covariate_sd is 10,000 (1E4). However, this is internally scaled by 1E6, making the total SD equal 1E10. We either need to update the documentation or update the internal scaling.

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.