R version 4.6.0 alpha (2026-03-28 r89738 ucrt) Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(seroreconstruct) > > test_check("seroreconstruct") MCMC complete in 9 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. Fitting joint model with 2 groups (0, 1) Shared parameters: error, boosting_waning MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 2 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. Variable 1 Random error (%) 2 Two-fold error (%) 3 Fold-increase after infection for children (Boosting) 4 Fold-decrease after 1 year for children (Waning) 5 Fold-increase after 1 year for adults (Boosting) 6 Fold-decrease after 1 year for adults (Waning) 7 Infection probability for children 8 Infection probability for adults 9 Infection probability for older adults 10 Infection probability for children with pre-epidemic HAI titer < 10 11 Infection probability for adults with pre-epidemic HAI titer < 10 12 Infection probability for older adults with pre-epidemic HAI titer < 10 13 Relative risk for children (Ref: Adults) 14 Relative risk for older adults (Ref: Adults) 15 Relative risk for children with pre-epidemic HAI titer < 10 (Ref: Adults with pre-epidemic HAI titer < 10) 16 Relative risk for older adults with pre-epidemic HAI titer < 10 (Ref: Adults with pre-epidemic HAI titer < 10) Point estimate Lower bound Upper bound 1 8.28 6.76 9.80 2 2.67 3.13 2.24 3 2.45 2.14 3.06 4 1.29 1.18 1.50 5 3.19 2.83 3.87 6 1.66 1.34 1.97 7 0.22 0.18 0.25 8 0.21 0.17 0.24 9 0.24 0.19 0.29 10 0.32 0.25 0.38 11 0.25 0.19 0.28 12 0.28 0.21 0.36 13 1.06 0.82 1.32 14 1.33 1.02 1.68 15 1.14 0.86 1.53 16 1.13 0.86 1.51 MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 132 ] > > proc.time() user system elapsed 70.10 25.10 71.23