Simulation
- pybalance.sim.generate_toy_dataset(n_pool=10000, n_target=1000, seed=45)[source]
Generate a toy matching dataset with n_pool patients in the pool and n_target patients in the target population. For finer control, see generate_random_feature_data_rwd and generate_random_feature_data_rct.
- pybalance.sim.load_paper_dataset()[source]
Load the simulated matching dataset presented in the pybalance paper (https://onlinelibrary.wiley.com/doi/10.1002/pst.2352).