Author: Stanley Xu; Christina Clarke; Susan Shetterly; Komal Narwaney
Title: Estimating the Growth Rate and Doubling Time for Short-Term Prediction and Monitoring Trend During the COVID-19 Pandemic with a SAS Macro Document date: 2020_4_11
ID: 10mbsqmo_25
Snippet: put "Looping through the starting date and the last date -&int_length +1 days:"; put start = endloop =; run; %do start_day = &fup_start %to (&fup_end-&int_length+1); /*Hold onto the current start day to append to some of the final datasets so they do not get overwritten*/ %let stdyfmt = %sysfunc(putn(&start_day,date9.)); /*Using the input dataset, calculate the last day that will be considered in these calculations for each interval. /*This model.....
Document: put "Looping through the starting date and the last date -&int_length +1 days:"; put start = endloop =; run; %do start_day = &fup_start %to (&fup_end-&int_length+1); /*Hold onto the current start day to append to some of the final datasets so they do not get overwritten*/ %let stdyfmt = %sysfunc(putn(&start_day,date9.)); /*Using the input dataset, calculate the last day that will be considered in these calculations for each interval. /*This model will estimate r, the growth rate. Create one dataset for each iteration of the start day.*/ proc nlin data=CGR_dat02 list noitprint; parms r 0.75; model &numevents = start_new_event*((1+r)**(&dateofevent -&start_day)); output out = preddeath_start_&stdyfmt . CC-BY-NC-ND 4.0 International license It is made available under a author/funder, who has granted medRxiv a license to display the preprint in perpetuity.
Search related documents:
Co phrase search for related documents- cc NC ND International license and growth rate: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
- cc NC ND International license and International license: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
- date starting date and International license: 1
- endloop start and input dataset: 1
- final dataset and input dataset: 1
- growth rate and International license: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
- input dataset and International license: 1
Co phrase search for related documents, hyperlinks ordered by date