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

ANC relationship to testing dates #189

Open
mmcleod89 opened this issue Jun 13, 2024 · 0 comments
Open

ANC relationship to testing dates #189

mmcleod89 opened this issue Jun 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mmcleod89
Copy link
Collaborator

Update ANC conditions to depend on testing dates correctly

* RATE OF ATTENDING AN ANC FOR PREGNANT WOMEN; 

if gender=2 then do;
	if      date_start_testing le caldate{t} lt 2015    then prob_anc      = max(prob_anc, 0.1)+rate_anc_inc; * dependent_on_time_step_length ;
	if                            caldate{t} =  2014.75 then prob_anc_2015 = prob_anc;
	if                      	  caldate{t} ge 2015    then prob_anc      = prob_anc_2015;
	if prob_anc gt 0.975   then prob_anc=0.975;  
@mmcleod89 mmcleod89 added this to HIVpy Jun 13, 2024
@github-project-automation github-project-automation bot moved this to To do in HIVpy Jun 13, 2024
@mmcleod89 mmcleod89 added the bug Something isn't working label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

1 participant