@@ -28,20 +28,7 @@ We will start by loading the relevant packages.
2828
2929``` r
3030library(tidyverse )
31- # > ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
32- # > ✔ dplyr 1.2.0 ✔ readr 2.2.0
33- # > ✔ forcats 1.0.1 ✔ stringr 1.6.0
34- # > ✔ ggplot2 4.0.2 ✔ tibble 3.3.1
35- # > ✔ lubridate 1.9.5 ✔ tidyr 1.3.2
36- # > ✔ purrr 1.2.1
37- # > ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
38- # > ✖ dplyr::filter() masks stats::filter()
39- # > ✖ dplyr::lag() masks stats::lag()
40- # > ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
4131library(tinyvamp )
42- # > Loading required package: cir
43- # > Loading required package: numDeriv
44- # > Loading required package: parallel
4532```
4633
4734Now let’s load the relevant data and inspect it. This dataset contains
@@ -402,68 +389,68 @@ full_reparam <-
402389 verbose = TRUE )
403390# > Evaluating criterion...
404391# > Calculating step direction...
405- # > Critical value is 59488.6958740501
392+ # > Critical value is 59488.6958739971
406393# > Sum of squared gradients is 20759219.2187245
407394# > Calculating step direction...
408- # > Critical value is 2714.37060241748
395+ # > Critical value is 2714.37060242656
409396# > Sum of squared gradients is 1537213.03209716
410397# > Calculating step direction...
411- # > Critical value is 962.779632378656
412- # > Sum of squared gradients is 49019.0031205385
398+ # > Critical value is 962.779632393281
399+ # > Sum of squared gradients is 49019.0031205343
413400# > Calculating step direction...
414- # > Critical value is 518.440570955525
415- # > Sum of squared gradients is 1170.93895450318
401+ # > Critical value is 518.44057093839
402+ # > Sum of squared gradients is 1170.93895449115
416403# > Calculating step direction...
417- # > Critical value is 439.547588578626
418- # > Sum of squared gradients is 334.451820838303
404+ # > Critical value is 439.54758854844
405+ # > Sum of squared gradients is 334.451820833091
419406# > Fit barrier sub-problem with t = 1.
420407# > Calculating step direction...
421- # > Critical value is 404.262618865981
422- # > Sum of squared gradients is 63.8567779339158
408+ # > Critical value is 404.262618865894
409+ # > Sum of squared gradients is 63.8567779345351
423410# > Fit barrier sub-problem with t = 10.
424411# > Calculating step direction...
425- # > Critical value is 398.535007077449
426- # > Sum of squared gradients is 5.30566317182699
412+ # > Critical value is 398.535007137036
413+ # > Sum of squared gradients is 5.30566317153999
427414# > Fit barrier sub-problem with t = 100.
428415# > Calculating step direction...
429416# > Critical value is 397.933004080956
430- # > Sum of squared gradients is 0.964654574328363
417+ # > Sum of squared gradients is 0.964654574961485
431418# > Fit barrier sub-problem with t = 1000.
432419# > Calculating step direction...
433420# > Critical value is 397.903481699148
434- # > Sum of squared gradients is 0.130878832620995
421+ # > Sum of squared gradients is 0.130878832614764
435422# > Fit barrier sub-problem with t = 10000.
436423# > Calculating step direction...
437- # > Critical value is 397.901192595268
438- # > Sum of squared gradients is 0.00282837980326623
424+ # > Critical value is 397.901192550565
425+ # > Sum of squared gradients is 0.00282837980295736
439426# > Fit barrier sub-problem with t = 1e+05.
440427# > Calculating step direction...
441428# > Critical value is 397.90096349744
442- # > Sum of squared gradients is 1.83712763217375e -05
429+ # > Sum of squared gradients is 1.83612109646989e -05
443430# > Fit barrier sub-problem with t = 1e+06.
444431# > Calculating step direction...
445432# > Critical value is 397.90094058058
446- # > Sum of squared gradients is 2.00871616169818e -06
433+ # > Sum of squared gradients is 2.00871611789907e -06
447434# > Fit barrier sub-problem with t = 1e+07.
448435# > Calculating step direction...
449436# > Critical value is 397.900938584682
450- # > Sum of squared gradients is 1.21879871093009e -06
437+ # > Sum of squared gradients is 1.21879871226826e -06
451438# > Fit barrier sub-problem with t = 1e+08.
452439# > Calculating step direction...
453- # > Critical value is 397.900937789791
454- # > Sum of squared gradients is 1.08520367728683e -06
440+ # > Critical value is 397.900937759988
441+ # > Sum of squared gradients is 1.08520367768346e -06
455442# > Fit barrier sub-problem with t = 1e+09.
456443# > Calculating step direction...
457- # > Critical value is 397.900937766926
458- # > Sum of squared gradients is 9.37277655574636e -07
444+ # > Critical value is 397.900937737123
445+ # > Sum of squared gradients is 9.6773994367296e -07
459446# > Fit barrier sub-problem with t = 1e+10.
460447# > Calculating step direction...
461- # > Critical value is 397.900937764639
462- # > Sum of squared gradients is 9.37278815971218e -07
448+ # > Critical value is 397.900937734837
449+ # > Sum of squared gradients is 9.67741313499729e -07
463450# > Fit barrier sub-problem with t = 1e+11.
464451# > Calculating step direction...
465- # > Critical value is 397.900937764411
466- # > Sum of squared gradients is 9.37278933831892e -07
452+ # > Critical value is 397.900937734608
453+ # > Sum of squared gradients is 9.67741452245802e -07
467454# > Fit barrier sub-problem with t = 1e+12.
468455#
469456# full_cis <- bootstrap_ci(W,
0 commit comments