R Under development (unstable) (2025-07-21 r88439 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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(predint) Loading required package: ggplot2 Loading required package: lme4 Loading required package: Matrix Loading required package: MASS Attaching package: 'predint' The following object is masked from 'package:stats': rnbinom > > test_check("predint") boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') Simultaneous 95 % prediction interval for 21 future observations y_ijk a b lower upper y_star_hat q pred_se cover 1 104.23335 1 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 2 107.27565 1 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 3 89.19409 2 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 4 89.76254 2 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 5 101.50413 3 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 6 99.68228 3 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 7 96.33957 3 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 8 103.80297 1 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 9 104.13151 1 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 10 94.15658 2 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 11 94.30052 2 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 12 101.01136 2 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 13 102.18168 3 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 14 101.21396 3 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 15 102.88942 3 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 16 104.43760 1 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 17 103.64004 1 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 18 106.81732 1 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 19 95.77869 3 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 20 99.55424 3 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 21 97.57871 3 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE All future observations are covered Bootstrap calibration was done following Menssen and Schaarschmidt 2022Simultaneous 95 % prediction interval for 21 future observations y_ijk a b lower upper y_star_hat q pred_se cover 21 104.23335 1 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 20 107.27565 1 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 19 89.19409 2 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 18 89.76254 2 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 17 101.50413 3 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 16 99.68228 3 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 15 96.33957 3 1 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 14 103.80297 1 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 13 104.13151 1 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 12 94.15658 2 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 11 94.30052 2 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 10 101.01136 2 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 9 102.18168 3 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 8 101.21396 3 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 7 102.88942 3 2 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 6 104.43760 1 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 5 103.64004 1 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 4 106.81732 1 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 3 95.77869 3 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 2 99.55424 3 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE 1 97.57871 3 3 78.75911 126.0351 102.3971 3.990391 5.923724 TRUE All future observations are covered Bootstrap calibration was done following Menssen and Schaarschmidt 2022One-sided simultaneous 95 % lower prediction limit for 21 future observations y_ijk a b lower y_star_hat q pred_se cover 1 104.23335 1 1 85.2317 102.3971 2.897734 5.923724 TRUE 2 107.27565 1 1 85.2317 102.3971 2.897734 5.923724 TRUE 3 89.19409 2 1 85.2317 102.3971 2.897734 5.923724 TRUE 4 89.76254 2 1 85.2317 102.3971 2.897734 5.923724 TRUE 5 101.50413 3 1 85.2317 102.3971 2.897734 5.923724 TRUE 6 99.68228 3 1 85.2317 102.3971 2.897734 5.923724 TRUE 7 96.33957 3 1 85.2317 102.3971 2.897734 5.923724 TRUE 8 103.80297 1 2 85.2317 102.3971 2.897734 5.923724 TRUE 9 104.13151 1 2 85.2317 102.3971 2.897734 5.923724 TRUE 10 94.15658 2 2 85.2317 102.3971 2.897734 5.923724 TRUE 11 94.30052 2 2 85.2317 102.3971 2.897734 5.923724 TRUE 12 101.01136 2 2 85.2317 102.3971 2.897734 5.923724 TRUE 13 102.18168 3 2 85.2317 102.3971 2.897734 5.923724 TRUE 14 101.21396 3 2 85.2317 102.3971 2.897734 5.923724 TRUE 15 102.88942 3 2 85.2317 102.3971 2.897734 5.923724 TRUE 16 104.43760 1 3 85.2317 102.3971 2.897734 5.923724 TRUE 17 103.64004 1 3 85.2317 102.3971 2.897734 5.923724 TRUE 18 106.81732 1 3 85.2317 102.3971 2.897734 5.923724 TRUE 19 95.77869 3 3 85.2317 102.3971 2.897734 5.923724 TRUE 20 99.55424 3 3 85.2317 102.3971 2.897734 5.923724 TRUE 21 97.57871 3 3 85.2317 102.3971 2.897734 5.923724 TRUE All future observations are covered Bootstrap calibration was done following Menssen and Schaarschmidt 2022One-sided simultaneous 95 % upper prediction limit for 21 future observations y_ijk a b upper y_star_hat q pred_se cover 1 104.23335 1 1 122.7988 102.3971 3.444062 5.923724 TRUE 2 107.27565 1 1 122.7988 102.3971 3.444062 5.923724 TRUE 3 89.19409 2 1 122.7988 102.3971 3.444062 5.923724 TRUE 4 89.76254 2 1 122.7988 102.3971 3.444062 5.923724 TRUE 5 101.50413 3 1 122.7988 102.3971 3.444062 5.923724 TRUE 6 99.68228 3 1 122.7988 102.3971 3.444062 5.923724 TRUE 7 96.33957 3 1 122.7988 102.3971 3.444062 5.923724 TRUE 8 103.80297 1 2 122.7988 102.3971 3.444062 5.923724 TRUE 9 104.13151 1 2 122.7988 102.3971 3.444062 5.923724 TRUE 10 94.15658 2 2 122.7988 102.3971 3.444062 5.923724 TRUE 11 94.30052 2 2 122.7988 102.3971 3.444062 5.923724 TRUE 12 101.01136 2 2 122.7988 102.3971 3.444062 5.923724 TRUE 13 102.18168 3 2 122.7988 102.3971 3.444062 5.923724 TRUE 14 101.21396 3 2 122.7988 102.3971 3.444062 5.923724 TRUE 15 102.88942 3 2 122.7988 102.3971 3.444062 5.923724 TRUE 16 104.43760 1 3 122.7988 102.3971 3.444062 5.923724 TRUE 17 103.64004 1 3 122.7988 102.3971 3.444062 5.923724 TRUE 18 106.81732 1 3 122.7988 102.3971 3.444062 5.923724 TRUE 19 95.77869 3 3 122.7988 102.3971 3.444062 5.923724 TRUE 20 99.55424 3 3 122.7988 102.3971 3.444062 5.923724 TRUE 21 97.57871 3 3 122.7988 102.3971 3.444062 5.923724 TRUE All future observations are covered Bootstrap calibration was done following Menssen and Schaarschmidt 2022Pointwise 95 % prediction interval for one future observation lower upper y_star_hat q pred_se 1 89.16149 115.6327 102.3971 2.234336 5.923724 Bootstrap calibration was done following Menssen and Schaarschmidt 2022One-sided pointwise 95 % lower prediction limit for one future observation lower y_star_hat q pred_se 1 92.39779 102.3971 1.688008 5.923724 Bootstrap calibration was done following Menssen and Schaarschmidt 2022One-sided pointwise 95 % upper prediction limit for one future observation upper y_star_hat q pred_se 1 112.6275 102.3971 1.727031 5.923724 Bootstrap calibration was done following Menssen and Schaarschmidt 2022Simultaneous 95 % prediction interval for 6 future observations lower upper y_star_hat q pred_se 1 83.84472 120.9494 102.3971 3.131875 5.923724 2 83.84472 120.9494 102.3971 3.131875 5.923724 3 83.84472 120.9494 102.3971 3.131875 5.923724 4 83.84472 120.9494 102.3971 3.131875 5.923724 5 83.84472 120.9494 102.3971 3.131875 5.923724 6 83.84472 120.9494 102.3971 3.131875 5.923724 Bootstrap calibration was done following Menssen and Schaarschmidt 2022Simultaneous 95 % prediction intervals for 3 future observations succ fail newsize lower upper y_star_hat ql qu pred_se 1 11 29 40 -2.347696 19.96592 3.36 1.405088 4.087949 4.062163 2 1 49 50 -2.807636 24.58795 4.20 1.405088 4.087949 4.987329 3 3 57 60 -3.266023 29.20546 5.04 1.405088 4.087949 5.911390 cover 1 TRUE 2 TRUE 3 TRUE All future observations are covered Bootstrap calibration was done for each prediction limit separately using a modified version of Menssen and Schaarschmidt 2022Pointwise 95 % prediction interval for one future observation lower upper newsize y_star_hat ql qu pred_se 1 -1.211985 10.79368 30 2.52 1.190459 2.639204 3.134913 Bootstrap calibration was done for each prediction limit separately using a modified version of Menssen and Schaarschmidt 2022Simultaneous 95 % prediction intervals for 3 future observations y offset lower upper y_star_hat ql qu pred_se cover 1 44 1 14.52319 99.75043 48.9 2.117266 3.131875 16.23642 TRUE 2 74 1 14.52319 99.75043 48.9 2.117266 3.131875 16.23642 TRUE 3 36 1 14.52319 99.75043 48.9 2.117266 3.131875 16.23642 TRUE All future observations are covered Bootstrap calibration was done for each prediction limit separately using a modified version of Menssen and Schaarschmidt 2022Pointwise 95 % prediction interval for one future observation lower upper newoffset y_star_hat ql qu pred_se 1 84.35667 225.1492 3 146.7 2.039219 2.566035 30.57216 Bootstrap calibration was done for each prediction limit separately using a modified version of Menssen and Schaarschmidt 2022[ FAIL 0 | WARN 0 | SKIP 0 | PASS 299 ] > > proc.time() user system elapsed 117.81 2.01 119.96