Package: argminCS 1.1.0

Hao Lee
argminCS: Argmin Inference over a Discrete Candidate Set
Provides methods to construct frequentist confidence sets with valid marginal coverage for identifying the population-level argmin or argmax based on IID data. For instance, given an n by p loss matrix—where n is the sample size and p is the number of models—the CS.argmin() method produces a discrete confidence set that contains the model with the minimal (best) expected risk with desired probability. The argmin.HT() method helps check if a specific model should be included in such a confidence set. The main implemented method is proposed by Tianyu Zhang, Hao Lee and Jing Lei (2024) "Winners with confidence: Discrete argmin inference with an application to model selection".
Authors:
argminCS_1.1.0.tar.gz
argminCS_1.1.0.zip(r-4.7)argminCS_1.1.0.zip(r-4.6)argminCS_1.1.0.zip(r-4.5)
argminCS_1.1.0.tgz(r-4.6-any)argminCS_1.1.0.tgz(r-4.5-any)
argminCS_1.1.0.tar.gz(r-4.7-any)argminCS_1.1.0.tar.gz(r-4.6-any)
argminCS_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
argminCS/json (API)
| # Install 'argminCS' in R: |
| install.packages('argminCS', repos = c('https://xu3cl4.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/xu3cl4/argmincs/issues
Last updated from:575547f7d9. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 166 | ||
| source / vignettes | OK | 167 | ||
| linux-release-x86_64 | OK | 141 | ||
| macos-release-arm64 | OK | 140 | ||
| macos-oldrel-arm64 | OK | 192 | ||
| windows-devel | OK | 100 | ||
| windows-release | OK | 169 | ||
| windows-oldrel | OK | 104 | ||
| wasm-release | OK | 121 |
Exports:argmax.HTargmin.HTCS.argmaxCS.argminfind.sub.argminget.difference.matrixget.quantile.gupta.selectionget.sample.mean.ris.lambda.feasible.LOOlambda.adaptive.enlargelambda.adaptive.LOO
Dependencies:BHBSDAcachemclassclicodacpp11crayondigeste1071extraDistrfarverfastmapgenericsggplot2gluegridExtragtablehmsisobandlabelinglatticeLDATSlifecyclelubridatemagrittrMASSmemoisemodeltoolsmvtnormNLPnnetpkgconfigprettyunitsprogressproxyR6rbibutilsRColorBrewerRcppRcppArmadilloRdpackrlangS7scalesslamtimechangetmtopicmodelsvctrsviridisviridisLitewithrxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| A wrapper to perform argmax hypothesis test. | argmax.HT |
| A wrapper to perform argmin hypothesis test. | argmin.HT |
| Perform argmin hypothesis test using Gupta's method. | argmin.HT.gupta |
| Perform argmin hypothesis test. | argmin.HT.LOO |
| Perform argmin hypothesis test. | argmin.HT.MT |
| Perform argmin hypothesis test. | argmin.HT.nonsplit |
| Construct a discrete confidence set for argmax. | CS.argmax |
| Construct a discrete confidence set for argmin. | CS.argmin |
| Get the index of the smallest dimension apart from an index | find.sub.argmin |
| Generate the quantile used for the selection procedure in (Gupta 1965). | get.quantile.gupta.selection |
| Check the feasibility of a tuning parameter lambda for LOO algorithm. | is.lambda.feasible.LOO |
| Iteratively enlarge a tuning parameter lambda in a data-driven way. | lambda.adaptive.enlarge |
| Generate a scaled.difference.matrix-driven lambda for LOO algorithm. | lambda.adaptive.LOO |