Skip to content

Commit

Permalink
adding hiv ne 1 when defining newp_this_per_hivneg
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-phillips-1 committed Nov 12, 2024
1 parent 278c6dc commit 7208d58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hiv_synthesis.sas
Original file line number Diff line number Diff line change
Expand Up @@ -16082,10 +16082,10 @@ if newp_this_per=1 then do;
if hiv ne 1 then newp_this_per_hivneg=1;
if hiv ne 1 and 15 <= age < 50 then newp_this_per_hivneg_1549=1;
if 15 <= age < 50 then newp_this_per_1549=1;
if gender=1 then newp_this_per_hivneg_m = 1; if msm=1 then newp_this_per_hivneg_msm = 1;
if gender=2 then newp_this_per_hivneg_w = 1;
if gender=2 and 15 <= age < 25 then newp_this_per_hivneg_age1524w = 1;
if sw=1 then newp_this_per_hivneg_sw = 1;
if gender=1 and hiv ne 1 then newp_this_per_hivneg_m = 1; if msm=1 then newp_this_per_hivneg_msm = 1;
if gender=2 and hiv ne 1 then newp_this_per_hivneg_w = 1;
if gender=2 and hiv ne 1 and 15 <= age < 25 then newp_this_per_hivneg_age1524w = 1;
if sw=1 and hiv ne 1 then newp_this_per_hivneg_sw = 1;

end;

Expand Down

0 comments on commit 7208d58

Please sign in to comment.