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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

manmartgarc/stochatreat Stargazers