Skip to content

Commit

Permalink
Stick to only significant for now as readers would not see progression.
Browse files Browse the repository at this point in the history
  • Loading branch information
sampottinger committed Jul 12, 2024
1 parent aae4ccd commit d04a82d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions paper/viz/data_struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def combine(self, other):

self_weighted_p = self.get_p_value() * self_count
other_weighted_p = other.get_p_value() * other_count
weighted_p = (self_weighted_p + other_weighted_p) / (self_count + other_count)
new_p = (self_weighted_p + other_weighted_p) / (self_count + other_count)

def combine_probs(a, b):
a_not = 1 - a
Expand All @@ -77,7 +77,7 @@ def combine_probs(a, b):
return RiskComparison(
new_control_risk,
new_experimental_risk,
weighted_p,
new_p,
new_count
)

Expand Down
2 changes: 1 addition & 1 deletion paper/viz/render_images.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
python3 hist_viz.py ../outputs/export_hist.csv 2050 75 ../img/hist.png
python3 results_viz_entry.py ../outputs/export_summary.csv 2050 risk map 0.05 Bonferroni all none jul 75 ../outputs/export_climate.csv ../img/map.png
python3 results_viz_entry.py ../outputs/export_summary.csv 2050 risk map 0.05 Bonferroni significant none jul 75 ../outputs/export_climate.csv ../img/map.png
python3 results_viz_entry.py ../outputs/export_summary.csv 2050 risk scatter 0.05 Bonferroni significant chirps jul 75 ../outputs/export_climate.csv ../img/scatter.png
python3 std_hist.py ../outputs/export_combined_tasks.csv ../img/std.png

0 comments on commit d04a82d

Please sign in to comment.