Analysis of Replication Studies using Power Priors

Provides functionality for Bayesian analysis of replication studies using power prior approaches (Pawel et al., 2023) .


ppRep

ppRep is an R package for Bayesian estimation and testing of effect sizes based on original and replication study using a power prior framework for dynamic discounting of the original data. For more information, see the paper

Pawel, S., Aust, F., Held, L., and Wagenmakers, E.-J. (2023). Power priors for replication studies. TEST. doi:10.1007/s11749-023-00888-5

Installation

## CRAN version
install.packages("ppRep")

## from GitHub
## install.packages("remotes") # requires remotes package
remotes::install_github(repo = "SamCH93/ppRep")

Usage

library("ppRep")

## data from one replication of "Labels" experiment in Protzko et al. (2020)
to <- 0.2 # original SMD effect estimate
so <- 0.05 # original standard error
tr <- 0.09 # replication SMD effect estimate
sr <- 0.05 # replication standard error

## compute and plot posterior density with 95% HPD credible intervals
plotPP(tr = tr, sr = sr, to = to, so = so, CI = TRUE)

Plot of joint posterior distribution of power parameter and effect size.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ppRep")

0.42.3 by Samuel Pawel, 3 years ago


https://github.com/SamCH93/ppRep


Report a bug at https://github.com/SamCH93/ppRep/issues


Browse source code at https://github.com/cran/ppRep


Authors: Samuel Pawel [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports hypergeo

Suggests roxygen2, tinytest, cubature


See at CRAN