Closed m6thu closed 6 years ago
In model_binary.R line 174 p.r, probability of starting abx on the first day of stay is different, from line 225 p.r of the subsequent stays
Define new p.rstart for probability of starting abx on the first day of stay and p.r means probability of abx r each day
Might need to make changes to model_simple.R and model_frequency.R too
redefined probability of starting antibiotic.r p.r.day1 is the probability of starting antibiotics on day 1 of admission p.r.dayafter is the daily probability of starting antibiotics after admission
In model_binary.R line 174 p.r, probability of starting abx on the first day of stay is different, from line 225 p.r of the subsequent stays
Define new p.rstart for probability of starting abx on the first day of stay and p.r means probability of abx r each day
Might need to make changes to model_simple.R and model_frequency.R too