-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exp consistent lifespans #20
base: exp-crccp-replication
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting the merge into exp-crccp-replication
is causing a lot of diffs that we don't want. (We want to keep exp-crccp-replication
as a record of that specific experiment, not copy exp-consistent-lifespans
into it.)
I think the better place to put this change to the summary script is in the experiment-template
branch. You can check out experiment-template
, branch off of that and make the changes in that branch, then request to merge it into experiment-template
.
crcsim/experiment/summarize.py
Outdated
# Create a second sheet with select columns | ||
select_columns = ["scenario", | ||
"Colonoscopy_performed_diagnostic_per_1k_40yo_mean", | ||
"Colonoscopy_performed_surveillance_per_1k_40yo_mean", | ||
"FIT_performed_routine_per_1k_40yo_mean", | ||
"clin_crc_per_1k_40yo_mean", | ||
"deadcrc_per_1k_40yo_mean", | ||
"lifeobs_if_unscreened_undiagnosed_at_40_mean", | ||
"discounted_cost_routine_mean", | ||
"discounted_cost_diagnostic_mean", | ||
"discounted_cost_surveillance_mean", | ||
"discounted_cost_treatment_initial_mean", | ||
"discounted_cost_treatment_ongoing_mean", | ||
"discounted_cost_treatment_terminal_mean", | ||
"cost_routine_mean", | ||
"cost_diagnostic_mean", | ||
"cost_surveillance_mean", | ||
"cost_treatment_initial_mean", | ||
"cost_treatment_ongoing_mean", | ||
"cost_treatment_terminal_mean", | ||
"discounted_cost_routine_per_1k_40yo_mean", | ||
"discounted_cost_diagnostic_per_1k_40yo_mean", | ||
"discounted_cost_surveillance_per_1k_40yo_mean", | ||
"discounted_cost_treatment_initial_per_1k_40yo_mean", | ||
"discounted_cost_treatment_ongoing_per_1k_40yo_mean", | ||
"discounted_cost_treatment_terminal_per_1k_40yo_mean", | ||
"cost_routine_per_1k_40yo_mean", | ||
"cost_diagnostic_per_1k_40yo_mean", | ||
"cost_surveillance_per_1k_40yo_mean", | ||
"cost_treatment_initial_per_1k_40yo_mean", | ||
"cost_treatment_ongoing_per_1k_40yo_mean", | ||
"cost_treatment_terminal_per_1k_40yo_mean", | ||
"discounted_lifeobs_if_unscreened_undiagnosed_at_40_mean"] | ||
summary_subset = summary[select_columns] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the additional analysis you were doing in excel just selecting a subset of columns? I thought there were some additional calculations involved.
Merge exp-consistent-lifespans and exp-consistent summary
I have updated the summary script to create an extra sheet in the summarized.xlsx with select columns. We can use this for now, and add the columns as and when the requirements change.