Skip to content

spertus/UI-TS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

330 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Union-of-intersections test sequences (UI-TSs)

Code for Spertus, Sridhar, and Stark (2024). Contains tools to run hypothesis tests about means of bounded, stratified populations with sequential, finite-sample, nonparametric (SFSNP) level control. The primary tools are union-of-intersections test sequences (UI-TSs) and sequentially valid lower confidence bounds (LCBs).

The Code directory contains the following python scripts:

  • utils.py contains all functions implementing the proposed methods
  • test.py contains unit test for all functions
  • significance_simulations.py runs the t-test simulation that generated Figure 1
  • pointmass_simulations.py runs the pointmass simulations presented in Section 7.1
  • bernoulli_simulations.py runs the Bernoulli simulations presented in Section 7.2
  • gaussian_simulations.py runs the Gaussian simulations presented in Section 7.3
  • pgd_time.py times the convex UI-TS against the LCB method, as described in Section C.4
  • r_plots.R contains the R code used to generate all plots in the paper

The Results directory contains CSV files with the simulation results

About

Functions for inference with stratified-sequential samples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 77.6%
  • Python 20.0%
  • R 2.4%