R Under development (unstable) (2023-08-31 r85038 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(testthat) > library(lpcde) > > test_check("lpcde") Call: lpbwcde Sample size 100 Number of grid points 19 Polynomial order for Y point estimation (p=) 2 Polynomial order for X point estimation (q=) 1 Order of derivative estimated for Y (mu=) 1 Order of derivative estimated for X (nu=) 0 Kernel function epanechnikov Bandwidth method imse-rot Use summary(...) to show bandwidths. Call: lpbwcde Sample size 100 Polynomial order for Y point estimation (p=) 2 Polynomial order for X point estimation (q=) 1 Density function estimated (mu=) 1 Order of derivative estimated for covariates (nu=) 0 Kernel function epanechnikov Bandwidth method imse-rot ================================== Index y_grid B.W. Eff.n ================================== 1 -1.4358 1.6110 58 2 -1.1803 1.6110 64 3 -1.0719 1.6110 67 4 -0.7316 1.6110 74 5 -0.5623 1.6110 77 ---------------------------------- 6 -0.5208 1.6110 77 7 -0.4717 1.6110 77 8 -0.3875 1.6110 79 9 -0.1914 1.6110 82 10 -0.0766 1.6110 81 ---------------------------------- 11 -0.0105 1.6110 82 12 0.1007 1.6110 81 13 0.1411 1.6110 80 14 0.1995 1.6110 79 15 0.3669 1.6110 78 ---------------------------------- 16 0.6051 1.6110 74 17 0.7290 1.6110 71 18 0.9803 1.6110 68 19 1.2468 1.6110 54 ================================== Call: lpbwcde Sample size 100 Polynomial order for Y point estimation (p=) 2 Polynomial order for X point estimation (q=) 1 Density function estimated (mu=) 1 Order of derivative estimated for covariates (nu=) 0 Kernel function epanechnikov Bandwidth method imse-rot ================================== Index y_grid B.W. Eff.n ================================== 1 -1.2057 1.2620 35 2 -0.9482 1.2620 37 3 -0.5360 1.2620 43 4 -0.2240 1.2620 47 5 -0.0247 1.2620 50 ---------------------------------- 6 0.1705 1.2620 51 7 0.4533 1.2620 47 8 0.8878 1.2620 38 9 1.2624 1.2620 30 ================================== Call: lpbwcde Sample size 100 Number of grid points 9 Polynomial order for Y point estimation (p=) 3 Polynomial order for X point estimation (q=) 1 Order of derivative estimated for Y (mu=) 0 Order of derivative estimated for X (nu=) 0 Kernel function epanechnikov Bandwidth method imse-rot Use summary(...) to show bandwidths. Call: lpbwcde Sample size 100 Polynomial order for Y point estimation (p=) 3 Polynomial order for X point estimation (q=) 1 Distribution function estimated (mu=) 0 Order of derivative estimated for covariates (nu=) 0 Kernel function epanechnikov Bandwidth method imse-rot ================================== Index y_grid B.W. Eff.n ================================== 1 -1.2982 1.9021 71 2 -0.9020 1.9021 81 3 -0.4877 1.9021 88 4 -0.3706 1.9021 89 5 -0.0693 1.9021 90 ---------------------------------- 6 0.1065 1.9021 90 7 0.2193 1.9021 89 8 0.6006 1.9021 82 9 1.1273 1.9021 72 ================================== Call: lpcde Sample size 100 Number of grid points 9 Polynomial order for Y point estimation (p=) 2 Polynomial order for X point estimation (q=) 1 Order of derivative estimated for Y (mu=) 1 Order of derivative estimated for X (nu=) 0 Kernel function epanechnikov Bandwidth method Use summary(...) to show estimates. Call: lpcde Sample size 100 Polynomial order for Y point estimation (p=) 2 Polynomial order for X point estimation (q=) 1 Density function estimated (mu=) 1 Order of derivative estimated for covariates (nu=) 0 Kernel function epanechnikov Bandwidth method ============================================================================= Point Std. Robust B.C. Index Grid B.W. Eff.n Est. Error [ Unif. 95% C.I. ] ============================================================================= 1 -1.2982 1.8000 67 0.1791 0.0255 0.0958 , 0.3160 2 -0.9020 1.8000 78 0.2635 0.0154 0.2113 , 0.3763 3 -0.4877 1.8000 83 0.3230 0.0104 0.2837 , 0.4466 4 -0.3706 1.8000 88 0.3316 0.0097 0.2994 , 0.4577 5 -0.0693 1.8000 90 0.3389 0.0082 0.3201 , 0.4633 ----------------------------------------------------------------------------- 6 0.1065 1.8000 88 0.3384 0.0079 0.3192 , 0.4561 7 0.2193 1.8000 87 0.3353 0.0079 0.3126 , 0.4462 8 0.6006 1.8000 82 0.2995 0.0072 0.2671 , 0.3757 9 1.1273 1.8000 72 0.2073 0.0098 0.1464 , 0.2685 ============================================================================= Call: lpcde Sample size 100 Polynomial order for Y point estimation (p=) 3 Polynomial order for X point estimation (q=) 1 Distribution function estimated (mu=) 0 Order of derivative estimated for covariates (nu=) 0 Kernel function epanechnikov Bandwidth method ============================================================================= Point Std. Robust B.C. Index Grid B.W. Eff.n Est. Error [ 95% C.I. ] ============================================================================= 1 -1.2982 1.9021 70 0.1354 0.0049 -12.9367 , 13.2157 2 -0.9020 1.9021 78 0.2221 0.0019 -9.6379 , 10.0933 3 -0.4877 1.9021 86 0.3472 0.0012 -7.4029 , 8.1113 4 -0.3706 1.9021 89 0.3824 0.0013 -6.8570 , 7.6428 5 -0.0693 1.9021 90 0.4967 0.0019 -6.0583 , 7.0890 ----------------------------------------------------------------------------- 6 0.1065 1.9021 90 0.5597 0.0014 -5.4856 , 6.6449 7 0.2193 1.9021 90 0.5920 0.0014 -5.0993 , 6.3046 8 0.6006 1.9021 84 0.7053 0.0016 -5.5056 , 6.9441 9 1.1273 1.9021 72 0.8324 0.0022 -7.3209 , 8.9961 ============================================================================= Call: lpcde Sample size 100 Polynomial order for Y point estimation (p=) 2 Polynomial order for X point estimation (q=) 1 Density function estimated (mu=) 1 Order of derivative estimated for covariates (nu=) 0 Kernel function epanechnikov Bandwidth method ============================================================================= Point Std. Robust B.C. Index Grid B.W. Eff.n Est. Error [ Unif. 95% C.I. ] ============================================================================= 1 -1.2057 1.2490 31 0.2313 0.0410 -0.0793 , 0.9852 2 -0.9482 1.2490 37 0.2819 0.0357 0.0363 , 1.0068 3 -0.5360 1.2490 42 0.3363 0.0326 0.0573 , 0.8290 4 -0.2240 1.2490 46 0.3334 0.0280 -0.0914 , 0.6845 5 -0.0247 1.2490 46 0.3223 0.0255 -0.1284 , 0.6136 ----------------------------------------------------------------------------- 6 0.1705 1.2490 49 0.3143 0.0248 -0.0905 , 0.5295 7 0.4533 1.2490 45 0.3027 0.0242 -0.0574 , 0.4650 8 0.8878 1.2490 36 0.3012 0.0589 -0.1135 , 0.5884 9 1.2624 1.2490 28 0.2480 0.0611 -0.2458 , 0.7429 ============================================================================= [ FAIL 0 | WARN 1 | SKIP 1 | PASS 43 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-lpcde.R:1:1' [ FAIL 0 | WARN 1 | SKIP 1 | PASS 43 ] > > proc.time() user system elapsed 42.79 1.59 44.37