manmartgarc/stochatreat

This is a Python tool to employ stratified sampling or treatment randomization with uneven numbers in some strata using pandas. Mainly thought with RCTs in mind, it also works for any other scenario in where you would like to randomly allocate treatment within blocks or strata. The tool also supports having multiple treatments with different probability of assignment within each block or stratum.

PythonStars 17Forks 5Watchers 17Open issues 1License MIT License
Details
仓库信息
Ownermanmartgarc
Homepage
Last pushed2025-11-28
Last updated2025-12-15
Issues fetched at

Stats

Community at a glance

Loading...

Loading

--

Loading

--

Loading

--

Loading

--