Package: flexySelect 0.3.1

Max Moldovan

flexySelect: Select Predictors and Test Selectors Against a Planted Truth

Selects predictors from a candidate set with any of 45 methods behind one interface, and tests the methods on data where the true predictors are known. Simulated data can have correlated predictors, non-linear and interacting effects, hidden confounders, random intercepts and slopes, and causal graphs with confounders, instruments, mediators and colliders. Published causal examples come with the exact bias of every adjustment set. Within a mixed model fitted with 'flexyBayes', it selects candidate fixed effects with a penalised path or a Bayesian reference model fitted with 'brms' and projected with 'projpred', cross-validated on whole sites, with a record of what was scored.

Authors:Max Moldovan [aut, cre], Emi Tanaka [ctb], Francis K.C. Hui [ctb], Anabel Forte Deltell [aut], Grains Research and Development Corporation [fnd, cph]

flexySelect_0.3.1.tar.gz
flexySelect_0.3.1.zip(r-4.7-any)flexySelect_0.3.1.zip(r-4.6-any)flexySelect_0.3.1.zip(r-4.5-any)
flexySelect_0.3.1.tgz(r-4.6-any)flexySelect_0.3.1.tgz(r-4.5-any)
flexySelect_0.3.1.tar.gz(r-4.7-any)flexySelect_0.3.1.tar.gz(r-4.6-any)
flexySelect_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
flexySelect/json (API)

# Install 'flexySelect' in R:
install.packages('flexySelect', repos = c('https://max578.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/max578/flexyselect/issues

On CRAN:

Conda:

3.78 score 32 exports 9 dependencies

Last updated from:9a5e66d539 (on main). Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR1641
source / vignettesOK821
linux-releaseERROR1865
macos-releaseERROR1929
macos-oldrelERROR799
windows-develERROR2546
windows-releaseERROR2395
windows-oldrelERROR2124
wasm-releaseOK687

Exports:fb_decisionfb_penaltyfb_resamplesfb_selectfb_select_fold_datafb_select_pathfb_select_refitfs_acceptfs_adempfs_adjustmentfs_benchmarkfs_designfs_effectfs_effect_adempfs_from_clonefs_gridfs_implantfs_liftfs_methodfs_methodsfs_nestedfs_plantfs_problemfs_regimefs_regimesfs_runfs_scorefs_selectfs_stabilisefs_stabilityfs_studyfs_transfer

Dependencies:clidata.tableflexyBayesgenericslatticeMatrixmgcvnlmeS7

Choosing controls for a treatment effect
A graph with five kinds of control | Bias and standard error of each adjustment set | What two selectors keep | Using only pre-treatment candidates | Reading the result | References

Last update: 2026-12-05
Started: 2026-12-05

Which selector to trust: planted truth at several effect sizes
Data | Two selectors disagree | Planting a known truth | Effect size as a factor of the study | Other ways to set the effect size | References

Last update: 2026-12-03
Started: 2026-12-03

Selecting over a candidate block
Data | The base model | The prior | Plan first | Selection | A base with protected fixed effects | Without a shrinkage prior | Other options | Which prior on which base

Last update: 2026-10-06
Started: 2026-10-06

Readme and manuals

Help Manual

Help pageTopics
Write a selection result as an orchestraManifest objectas_orchestra_manifest.fs_result
Out-of-fold results from a selectionaugment.fb_select
Declare how a selection decision is madefb_decision
Declare a joint shrinkage prior over candidate fixed effectsfb_penalty
Declare the resampling scheme for a selectionfb_resamples
Bayesian selection over a fitted flexyBayes modelfb_select
Whitened data of each fold of a selection runfb_select_fold_data
Penalised path of a selection run at another alphafb_select_path
Refit a named column set on the folds of a selection runfb_select_refit
Accept or reject a clone against the real datafs_accept
Lay out a benchmark under the ADEMP headingsfs_ademp
The population cost of each adjustment set in a regimefs_adjustment
Run selection methods over simulationsfs_benchmark
Simulate a selection problem with known truthfs_design
Estimate a planted treatment effectfs_effect
Performance of a planted-effect estimator over replicatesfs_effect_ademp
Read a masque null clone for planting a causal truthfs_from_clone
Cross the factors of a data source into mechanismsfs_grid
Plant a known truth into real or cloned datafs_implant
Lift a Gaussian selection method to non-Gaussian responsesfs_lift
Define a selection methodfs_method
The methods shipped with the packagefs_methods
Choose among nested refits of a method's orderingfs_nested
Plant a known treatment effect on kept predictorsfs_plant
Define a selection problemfs_problem
A causal regime: a linear structural model on a graphfs_regime
The preset causal regimesfs_regimes
Run a simulation studyfs_run
Score selections against a known truthfs_score
Run a selection method on a problemfs_select
Stability selection round a selection methodfs_stabilise
Stability of selections across resamplesfs_stability
State a simulation study before it runsfs_study
Acceptance layer 3: transfer of selector rankings from real data to a clonefs_transfer
Glance at a selectionglance.fb_select
Displays for a selectionplot.fb_select
Tidy a selection into one row per candidate coefficienttidy.fb_select