standardize function is now slightly easier to use:the standard population sizes provided bydata(standard)can be passed to thestandardize function without removingany unused age groups. Previously, it was necessary to subset thestandard data before usingstandardize.Another short illustration of cancer data analysis withsurveil is provided here:https://connordonegan.github.io/surveil-paper/
This release was built usingrstan 2.26.23, whichincorporates Stan’s new syntax for declaring arrays. Some models seemsto run a little bit faster, but otherwise there are no changes thatusers should notice. This update should also address all warnings fromtidyr regarding the use of deprecated tidyselect syntax.
The vignettes have been updated. The discussion of Markov chain MonteCarlo (MCMC) diagnostics, which was previously in the main package demovignette, is now a stand-alone vignette with a bit of introductorydiscussion on MCMC analysis.
stan_rw model-fitting function now supportsbinomial models.vignette("age-standardization").group_diff function, for calculating pairwisemeasures of inequality, can now be used to compare age-stratifiedpopulations. This includes a calculation of total annual (andcumulative) excess cases and attributable risk derived from all of theage-specific rates and population sizes. Seevignette("age-standardization").plot method now accepts a list ofstand_surveil objects. This will allow multiplestandardized rates to be visualized on the same plot.Previously, if multiple groups had been modeled, the cumulativepercent change summary was printed incorrectly. Now, the print methodwill return a summary of the cumulative percent change for eachgroup.
The plotting method for the group_diff object (pairwiseinequality measures) has been adjusted so that the correct labels areused to identify the time periods on the x axis of the plots.Previously, if thestyle = 'lines' argument was used, the xaxis used generic index values on the x axis instead of the labeled timeperiods provided by the user.
November 2021: surveil’s first release.