Skip to content

Commit

Permalink
Added a 1-output so the fraction is really fraction of underreporting
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeCastilloT committed Jan 29, 2021
1 parent c0506f0 commit 9059f67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions underreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def run_chain_fn():
high = np.percentile(special.logit(posterior_samples), 99.87, axis=0)

final_data = pd.DataFrame(index = number_to_date([i for i in range(numeric_common[0],numeric_common[-1]+1)]))
final_data['mean'] = mean
final_data['low'] = low
final_data['high'] = high
final_data['mean'] =1- mean
final_data['low'] = 1-low
final_data['high'] = 1-high
final_data.to_csv('output/'+str(current_region)+'.csv')

0 comments on commit 9059f67

Please sign in to comment.