R Under development (unstable) (2023-12-08 r85664 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 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(LBI) > # Extreme value test > > LIbin(0, 1) y n PE LL UL k 0.000000 1.000000 0.000000 0.000000 0.975008 40.000000 > LIbin(0, 2) y n PE LL UL k 0.000000 2.000000 0.000000 0.000000 0.841889 40.000000 > LIbin(0, 10) y n PE LL UL k 0.0000000 10.0000000 0.0000000 0.0000000 0.2015402 9.4962937 > LIbin(0, 1e308) y n PE LL UL k 0e+00 1e+308 0e+00 0e+00 -1e-08 1e+00 > LIbin(1, 1) y n PE LL UL k 1.00000000 1.00000000 1.00000000 0.02499196 1.00000000 40.00000000 > LIbin(10, 10) y n PE LL UL k 10.0000000 10.0000000 1.0000000 0.7984598 1.0000000 9.4962937 > LIbin(1e308, 1e308) y n PE LL UL k 1e+308 1e+308 1e+00 1e+00 1e+00 1e+00 > > LIpois(0) PE LL UL k 0.000000 0.000000 3.688879 40.000000 > LIpois(1) PE LL UL k 1.000000000 0.009309443 6.571648676 40.000000000 > LIpois(2) PE LL UL k 2.0000000 0.1237596 8.6079586 40.0000000 > LIpois(3) PE LL UL k 3.0000000 0.3643815 10.4259307 40.0000000 > > #LInorm(c(0, 0)) > LInorm(c(0, 1)) PE LL UL mean 0.5 -0.4603228 1.460323 sd 0.5 0.1950442 5.189572 attr(,"k") [1] 40 > > RDLI(0, 1, 0, 1) p1 p2 RD lower upper k 0.000000 0.000000 0.000000 -0.975008 0.975008 40.000000 > RDLI(0, 1, 1, 1) p1 p2 RD lower upper k 0.0000000 1.0000000 -1.0000000 -1.0000000 0.6837781 40.0000000 > RDLI(0, 10, 0, 10) p1 p2 RD lower upper k 0.0000000 0.0000000 0.0000000 -0.1873537 0.1873536 7.9624793 > RDLI(0, 10, 10, 10) p1 p2 RD lower upper k 0.0000000 1.0000000 -1.0000000 -1.0000000 -0.8029295 7.9624793 > RDLI(1, 1, 0, 1) p1 p2 RD lower upper k 1.0000000 0.0000000 1.0000000 -0.6837781 1.0000000 40.0000000 > RDLI(1, 1, 1, 1) p1 p2 RD lower upper k 1.000000 1.000000 0.000000 -0.975008 0.975008 40.000000 > RDLI(10, 10, 0, 10) p1 p2 RD lower upper k 1.0000000 0.0000000 1.0000000 0.8029295 1.0000000 7.9624793 > RDLI(10, 10, 10, 10) p1 p2 RD lower upper k 1.0000000 1.0000000 0.0000000 -0.1873536 0.1873537 7.9624793 > > proc.time() user system elapsed 0.23 0.03 0.20