Skip to content
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

remove true mf prevalence from outputs #34

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/Scenario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ void Scenario::writeRoadmapTarget(Population &popln, int t, int rep, int DoMDA,
float ICprevSample = popln.getICPrevForOutput(sample);

sample = false;
float mfprevTrue = popln.getMFPrevByAge(5, maxAge, sample);

float ICprevTrue = popln.getICPrevForOutput(sample);

int roadmapTargetMet = mfprevSample <= 0.01 ? 1 : 0;
Expand All @@ -677,9 +677,6 @@ void Scenario::writeRoadmapTarget(Population &popln, int t, int rep, int DoMDA,
outfile << name << "," << year << "," << 5 << "," << maxAge << ","
<< "sampled mf prevalence (all pop)"
<< "," << mfprevSample << "\n";
outfile << name << "," << year << "," << 5 << "," << maxAge << ","
<< "true mf prevalence (all pop)"
<< "," << mfprevTrue << "\n";
outfile << name << "," << year << "," << 6 << "," << 7 << ","
<< "sampled IC prevalence (all pop)"
<< "," << ICprevSample << "\n";
Expand All @@ -705,7 +702,6 @@ void Scenario::writeRoadmapTarget(Population &popln, int t, int rep, int DoMDA,
<< "," << achieveEPHP << "\n";
} else {
outfile << mfprevSample << "\n";
outfile << mfprevTrue << "\n";
outfile << ICprevSample << "\n";
outfile << ICprevTrue << "\n";
outfile << roadmapTargetMet << "\n";
Expand Down
Loading