Code used in https://arxiv.org/abs/2006.05532
Project description
Masks and COVID-19: a causal framework for imputing value to public-health interventions
Code to reproduce Masks and COVID-19.
This is a refactored version of the original code.
Install
pip install babino2020masks
Positivity Odds in NYS
ny = NYSAPI()
df = ny.get_all_data_statewide()
ax = plot_data_and_fit(sdf, 'Date', 'Odds', 'Odds_hat', 'Odds_l', 'Odds_u', figsize=(10, 7))
ax.set_title(f'{df.tail(1).Date[0]:%B %d, %Y}, Positivity Odds:{df.tail(1).Odds[0]:2.3}');
sdf['R'], sdf['Rl'], sdf['Ru'] = lics.rt()
ax = plot_data_and_fit(sdf, 'Date', None, 'R', 'Rl', 'Ru', figsize=(10, 7), logy=False)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
babino2020masks-0.0.3.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for babino2020masks-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c4cbbe4edff452c565447dd4acf5e603f17e653baf85c6e1a7067c9cd416894 |
|
MD5 | ad7265cb6efbe2188d06e407775929fe |
|
BLAKE2b-256 | f34163194a075a90087787b38d7e8329cb9f525c396bf39ba578cfcaf7c78c89 |