The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

prepost

R-CMD-check

Overview

This package contains code and sample data to implement the non-parametric bounds and Bayesian methods for assessing priming and post-treatment bias in experimental studies under various assumptions.

To get started, please see the article that developed these methods:

Installation

## Install developer version
## install.packages("devtools")
devtools::install_github("mattblackwell/prepost", build_vignettes = TRUE)

Usage

Both the nonparametric and Bayesian estimators all have prefixes that indicate what type of experimental design being used.

Most functions can be specified with a formula to identify the outcome and treatment and another one-sided formula for the moderator:

library(prepost)
data(delponte)
out <- pre_bounds(
  formula = angry_bin ~ t_commonality,
   data = delponte,
  moderator = ~ itaid_bin
)
out
## $lower
##            
## -0.5923203 
## 
## $upper
##           
## 0.3221525 
## 
## $ci_lower
## [1] -0.6875343
## 
## $ci_upper
## [1] 0.4035053
## 
## $pre_est
## [1] -0.2701678

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.