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

Clarify what happens when stopping and restarting PrEP in the same period #132

Open
ageorgou opened this issue Mar 1, 2021 · 1 comment
Labels

Comments

@ageorgou
Copy link
Contributor

ageorgou commented Mar 1, 2021

Currently this is possible, for instance:

if stop_prep_choice=1 then do;
r=uniform(0);
if r < eff_prob_prep_restart_choice then do; prep=1; continuous_prep_use=0.25; dt_prep_e=caldate{t}; dt_prep_rs=caldate{t}; stop_prep_choice=0; end;
end;
else if stop_prep_choice ne 1 then do;
r=uniform(0);
if r < prob_prep_restart then do; prep=1; dt_prep_e=caldate{t}; continuous_prep_use=0.25; dt_prep_c=caldate{t}; end; * dt_prep_c is prep continuation in the sense
that they are now continuing prep again now they have np >= 1;
end;

Should td_prep_e be the previous period?

@ageorgou ageorgou added the prep label Mar 1, 2021
@ageorgou
Copy link
Contributor Author

The current structure makes it tricky. One way would be to have a variable for the date of (last) stopping and check that. Not completely clear whether dt_prep_e is always used consistently or what for!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant