Skip to content

amanojas/optimal-treatment-assignment-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shiny app for optimal treatment assignment in experiments

Run this app using Shiny and R-Studio.

This app allows you to calculate optimal treatment assignments using baseline covariates. This treatment assignment minimizes the expected mean squared error of estimators for the average treatment effect. To use this app:

  1. Upload a .csv file of baseline covariates (without headers).
  2. Choose a prior and estimation method.
  3. Choose the number of re-randomization draws and the expected R2 of your covariates for the outcome
  4. Calculate optimal design, and then download a .csv file with this design.

The downloaded .csv file contains the original covariates (V1, V2, ...), as well as a new column with the recommended treatment assignment (Dstar).

To learn more about the theoretical background, read experimentaldesign.pdf in this folder.

About

Shiny app for optimal treatment assignment in experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%