Package: EDI 1.0.3

Adam Kapelner

EDI: Experimental Design and Inference

Implements a comprehensive suite of experimental designs, both fixed (e.g., block, stratified, matched-pair, cluster, factorial, and mixed-integer-programming-based optimal designs) and sequential (including matching-on-the-fly designs, biased coin designs, and covariate-adaptive urn designs that assign treatment one subject at a time while maintaining covariate balance), for continuous, incidence, count, proportion, survival, and ordinal response types. For each design and response type combination, provides the corresponding inference procedures, including exact, asymptotic, distribution-free, and resampling-based (bootstrap, jackknife, and randomization) methods, so that estimation and testing are always matched to how the data were generated. An 'InferenceSuite' facility runs all applicable inference procedures for a given design and response type at once and reports a single Cauchy-combined p-value summarizing their evidence. A built-in simulation framework supports power analysis and operating-characteristic studies across designs, response types, and inference procedures, with optional parallelization via 'mirai'. Missing covariate data is handled automatically via built-in imputation. Core numerical routines are implemented in C++ via 'Rcpp' for speed on large designs and simulation studies. Machine-specific tuning for optimization is included.

Authors:Adam Kapelner [aut, cre, cph]

EDI_1.0.3.tar.gz
EDI_1.0.3.zip(r-4.7-x86_64)EDI_1.0.3.zip(r-4.7-arm64)EDI_1.0.3.zip(r-4.6-x86_64)EDI_1.0.3.zip(r-4.6-arm64)EDI_1.0.3.zip(r-4.5-x86_64)
EDI_1.0.3.tgz(r-4.6-x86_64)EDI_1.0.3.tgz(r-4.6-arm64)EDI_1.0.3.tgz(r-4.5-x86_64)EDI_1.0.3.tgz(r-4.5-arm64)
EDI_1.0.3.tar.gz(r-4.7-arm64)EDI_1.0.3.tar.gz(r-4.7-x86_64)EDI_1.0.3.tar.gz(r-4.6-arm64)EDI_1.0.3.tar.gz(r-4.6-x86_64)
EDI_1.0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
EDI/json (API)

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

Bug tracker:https://github.com/kapelner/edi/issues

Pkgdown/docs site:https://kapelner.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

causal-inferenceclinical-trialscppexperimental-designpythonrandomization-inferencesequential-designstatisticssurvival-analysisopenblascppopenmp

7.39 score 1 stars 1.2k scripts 248 downloads 268 exports 28 dependencies

Last updated from:430c19bcdb. Checks:13 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE859
linux-devel-x86_64NOTE752
source / vignettesOK1449
linux-release-arm64NOTE854
linux-release-x86_64NOTE706
macos-release-arm64NOTE715
macos-release-x86_64NOTE1682
macos-oldrel-arm64NOTE913
macos-oldrel-x86_64NOTE1970
windows-devel-arm64NOTE1078
windows-devel-x86_64NOTE816
windows-release-arm64NOTE1144
windows-release-x86_64NOTE1195
windows-oldrel-x86_64NOTE1176
wasm-releaseOK332

Exports:.normalize_optimizer_algorithmbuild_cox_data_cache_cppbuild_stratified_cox_data_cache_cppcheck_package_installedclear_local_EDI_optimizationcompute_coxph_rand_bootstrap_cppContinKKRobustRegrIVWCSourcecreate_model_matrix_from_featuresDesignFixedBernoulliDesignFixedBinaryMatchDesignFixedBlockedClusterDesignFixedBlockingDesignFixedClusterDesignFixedFactorialDesignFixedGreedyDesignFixedGreedyDOptimalDesignFixediBCRDDesignFixedMatchingGreedyPairSwitchingDesignFixedOptimalDesignFixedOptimalBlocksDesignFixedRerandomizationDesignSeqOneByOneAtkinsonDesignSeqOneByOneBernoulliDesignSeqOneByOneEfronDesignSeqOneByOneiBCRDDesignSeqOneByOneKK14DesignSeqOneByOneKK21DesignSeqOneByOneKK21stepwiseDesignSeqOneByOnePocockSimonDesignSeqOneByOneRandomBlockSizeDesignSeqOneByOneSPBRDesignSeqOneByOneUrnedi_build_info_cppEDI_COMPREHENSIVE_SLOW_PATHSexact_jonckheere_terpstra_pval_cppexpand_adjacent_category_data_cppexpand_continuation_ratio_data_cppfast_adjacent_category_logit_cppfast_adjacent_category_logit_with_var_cppfast_beta_regressionfast_beta_regression_cppfast_beta_regression_weighted_cppfast_beta_regression_with_varfast_beta_regression_with_var_cppfast_continuation_ratio_regression_cppfast_continuation_ratio_regression_with_var_cppfast_coxph_regressionfast_coxph_regression_cppfast_coxph_regression_prebuilt_cppfast_cpoisson_combined_with_var_cppfast_digamma_vec_cppfast_dnbinom_mu_vec_cppfast_hurdle_negbin_with_var_cppfast_identity_binomial_regression_cppfast_identity_binomial_regression_weighted_cppfast_identity_binomial_regression_with_var_cppfast_lbeta_vec_cppfast_lgamma_vec_cppfast_log_binomial_regression_cppfast_log_binomial_regression_weighted_cppfast_log_binomial_regression_with_var_cppfast_log_dnorm_vec_cppfast_log_pnorm_vec_cppfast_logistic_regressionfast_logistic_regression_cppfast_logistic_regression_weighted_cppfast_logistic_regression_with_varfast_logistic_regression_with_var_cppfast_neg_bin_cppfast_neg_bin_weighted_cppfast_neg_bin_with_var_cppfast_negbin_regressionfast_negbin_regression_with_varfast_ols_cppfast_ols_with_var_cppfast_ordinal_cauchit_regression_cppfast_ordinal_cauchit_regression_with_var_cppfast_ordinal_cloglog_regression_cppfast_ordinal_cloglog_regression_with_var_cppfast_ordinal_glmm_cppfast_ordinal_probit_regression_cppfast_ordinal_probit_regression_with_var_cppfast_ordinal_regression_cppfast_ordinal_regression_weighted_cppfast_ordinal_regression_with_var_cppfast_poisson_regression_cppfast_poisson_regression_weighted_cppfast_poisson_regression_with_var_cppfast_probit_regression_cppfast_probit_regression_with_var_cppfast_qnorm_vec_cppfast_quasipoisson_regression_with_var_cppfast_robust_regression_cppfast_stereotype_logit_cppfast_stereotype_logit_with_var_cppfast_stereotype_profile_loglik_cppfast_trigamma_vec_cppfast_weibull_regressionfast_weibull_regression_cppfast_weibull_regression_general_cppfast_zero_augmented_poisson_cppfast_zero_one_inflated_beta_cppfast_zinb_cppgcomp_fractional_logit_point_estimate_cppgcomp_logistic_point_estimate_cppgcomp_logistic_post_fit_cppgcomp_ordinal_proportional_odds_post_fit_cppgenerate_covariate_datasetget_beta_regression_hessian_cppget_beta_regression_score_cppget_bootstrap_dispatch_policyget_cold_start_dispatch_policyget_cpoisson_combined_hessian_cppget_cpoisson_combined_score_cppget_identity_binomial_regression_hessian_cppget_identity_binomial_regression_score_cppget_identity_binomial_regression_weighted_hessian_cppget_identity_binomial_regression_weighted_score_cppget_local_EDI_optimizationget_log_binomial_regression_hessian_cppget_log_binomial_regression_score_cppget_log_binomial_regression_weighted_hessian_cppget_log_binomial_regression_weighted_score_cppget_negbin_regression_hessian_cppget_negbin_regression_score_cppget_optimization_dispatch_policyget_ordinal_regression_hessian_cppget_ordinal_regression_score_cppget_parallel_dispatch_policyget_stereotype_logit_hessian_cppget_stereotype_logit_score_cppget_warm_start_dispatch_policyget_weibull_regression_general_hessian_cppget_weibull_regression_general_score_cppget_weibull_regression_hessian_cppget_weibull_regression_score_cppInferenceAllKKMeanDiffIVWCInferenceAllKKWilcoxIVWCInferenceAllSimpleAverageDiffInferenceAllSimpleMeanDiffPooledVarInferenceAllSimpleWilcoxInferenceBaiAdjustedTKK14InferenceBaiAdjustedTKK21InferenceContinKKGLMMInferenceContinKKOLSIVWCInferenceContinKKOLSOneLikInferenceContinKKQuantileRegrIVWCInferenceContinKKQuantileRegrOneLikInferenceContinKKRobustRegrIVWCInferenceContinKKRobustRegrOneLikInferenceContinLinInferenceContinOLSInferenceContinQuantileRegrInferenceContinRobustRegrInferenceCountHurdleNegBinInferenceCountHurdlePoissonInferenceCountKKCondPoissonOneLikInferenceCountKKGLMMInferenceCountKKHurdlePoissonIVWCInferenceCountKKHurdlePoissonOneLikInferenceCountNegBinInferenceCountPoissonInferenceCountPoissonKKGEEInferenceCountQuasiPoissonInferenceCountRobustPoissonInferenceCountZeroInflatedNegBinInferenceCountZeroInflatedPoissonInferenceIncidBinomialIdentityRiskDiffInferenceIncidCMHInferenceIncidExactBinomialInferenceIncidExactFisherInferenceIncidExactZhangInferenceIncidExtendedRobinsInferenceIncidGCompRiskDiffInferenceIncidGCompRiskRatioInferenceIncidKKCondLogitGLMMIVWCInferenceIncidKKCondLogitGLMMOneLikInferenceIncidKKCondLogitIVWCInferenceIncidKKCondLogitOneLikInferenceIncidKKGCompRiskDiffInferenceIncidKKGCompRiskRatioInferenceIncidKKGEEInferenceIncidKKModifiedPoissonInferenceIncidKKNewcombeRiskDiffInferenceIncidLogBinomialInferenceIncidLogRegrInferenceIncidMiettinenNurminenRiskDiffInferenceIncidModifiedPoissonInferenceIncidNewcombeRiskDiffInferenceIncidProbitRegrInferenceIncidRiskDiffInferenceIncidWaldInferenceOrdinalAdjCatLogitRegrInferenceOrdinalCauchitRegrInferenceOrdinalCloglogRegrInferenceOrdinalContRatioRegrInferenceOrdinalGCompMeanDiffInferenceOrdinalJonckheereTerpstraTestInferenceOrdinalKKCLMMInferenceOrdinalKKCLMMCauchitInferenceOrdinalKKCLMMCloglogInferenceOrdinalKKCLMMProbitInferenceOrdinalKKCondAdjCatLogitRegrInferenceOrdinalKKGEEInferenceOrdinalKKGLMMInferenceOrdinalOrderedProbitRegrInferenceOrdinalPairedSignTestInferenceOrdinalPartialProportionalOddsRegrInferenceOrdinalPropOddsRegrInferenceOrdinalRiditInferenceOrdinalStereotypeLogitRegrInferencePropBetaRegrInferencePropFractionalLogitInferencePropGCompMeanDiffInferencePropKKGEEInferencePropKKGLMMInferencePropKKQuantileRegrIVWCInferencePropKKQuantileRegrOneLikInferencePropQuantileRegrInferencePropZeroOneInflatedBetaRegrInferenceRandCustomInferenceSuiteInferenceSurvivalCoxPHRegrInferenceSurvivalDepCensTransformRegrInferenceSurvivalGehanWilcoxInferenceSurvivalGLMMWeibullFrailtyLoggammaIVWCInferenceSurvivalGLMMWeibullFrailtyLoggammaOneLikInferenceSurvivalGLMMWeibullFrailtyNormalIVWCInferenceSurvivalGLMMWeibullFrailtyNormalOneLikInferenceSurvivalKKLWACoxPHIVWCInferenceSurvivalKKLWACoxPHOneLikInferenceSurvivalKKRankRegrIVWCInferenceSurvivalKKStratCoxPHIVWCInferenceSurvivalKKStratCoxPHOneLikInferenceSurvivalKKWeibullMarginalInferenceSurvivalKMDiffInferenceSurvivalLogRankInferenceSurvivalRestrictedMeanDiffInferenceSurvivalStratCoxPHRegrInferenceSurvivalWeibullRegrinv_logitlogitmn_pvalue_cppnewcombe_independent_ci_cppObservationalDesignObservationalDesignBlocksObservationalDesignMatchingols_hc2_post_fit_cppordinal_gcomp_post_fit_cpppocock_simon_assign_and_update_cpppocock_simon_assign_cpppocock_simon_redraw_w_cpprobust_negbinregrobust_survregrobust_survreg_with_surv_objectsample_modeset_cold_start_dispatch_policyset_num_coresset_optimization_dispatch_policyset_parallel_dispatch_policyset_warm_start_dispatch_policySimulationFrameworkSimulationFrameworkReportsummary_glm_leantoggle_assertstransform_cont_y_based_on_response_typetune_EDI_for_this_machineunset_num_cores

Dependencies:backportscheckmatecodetoolsdata.tabledigestdoRNGFNNforeachiteratorsitertoolslatticeMASSMatrixmissForestmissRangernumDerivR6randomForestrandomizrrangerrbibutilsRcppRcppEigenRcppNumericalRdpackRhpcBLASctlrngtoolssurvival

Reproducibility: RNG and Seed Conventions
The default case: seed sets R's own RNG state once | DesignFixedOptimal: deterministic solves, seeded coin and chains | The portable cross-language RNG: edi_rng::RRng | The one documented exception: continuing R's live stream bit-for-bit | Seed-reproducible via per-draw local generators: DesignFixedGreedyDOptimal | Seed-reproducible despite being parallel: greedy-family designs | Randomization inference reuses the design's own draw mechanism | Bootstrap resampling | Machine-dependent performance defaults: tune_EDI_for_this_machine() | Simulation (SimulationFramework): per-replication and per-cache-job seeds | Monte Carlo error | Reproducing a documented example

Last update: 2026-10-15
Started: 2026-08-16

Cookbook: Continuous Outcome, End to End
Setup and a simulated population | A fixed design: everyone is known up front | Inference: covariate-adjusted OLS | Everything at once: InferenceSuite | A sequential design: subjects arrive one at a time | Where to go next

Last update: 2026-10-14
Started: 2026-09-16

Cookbook: Count Outcome, End to End
Setup | Fixed design, Poisson regression | Over-dispersion: negative binomial on the same design | Everything at once | Sequential design | Where to go next

Last update: 2026-10-07
Started: 2026-09-16

Cookbook: Incidence (Binary) Outcome, End to End
Setup | Fixed design, logistic regression | A risk difference instead of an odds ratio | Everything at once | Sequential design: matching on the fly | Where to go next

Last update: 2026-10-07
Started: 2026-09-16

Cookbook: Ordinal Outcome, End to End
Setup | Fixed design, proportional odds | Everything at once | Sequential design | Where to go next

Last update: 2026-10-07
Started: 2026-09-16

Cookbook: Proportion Outcome, End to End
Setup | Fixed design, fractional logit | Beta regression on the same design | Everything at once | Sequential design | Where to go next

Last update: 2026-10-07
Started: 2026-09-16

Cookbook: Survival Outcome with Censoring, End to End
Setup | Fixed design, recording events and censoring | Inference: Cox proportional hazards | Everything at once | Sequential design | Where to go next

Last update: 2026-10-07
Started: 2026-09-16

Backend Contracts: fast_* and C++ Utilities
The validation boundary: R6 wrapper vs. raw backend | Argument dimensions and storage order | Numeric domains, overflow, and underflow safeguards | Convergence flags and return-object conventions | Shared cores and wrapper-to-backend equivalence | NA/NaN handling

Last update: 2026-10-04
Started: 2026-08-16

Extending EDI with Your Own Inference and Design Classes
How EDI classes are built | The inference extension contract | Randomization and bootstrap shells | Subclassing rules and capability detection | Custom designs | What the shells deliberately do not cover | Contributing a class to EDI itself

Last update: 2026-10-04
Started: 2026-08-23

Notation Glossary
Sample, covariates, and the design matrix | Treatment assignment | Response, censoring, and the y/y_L/y_R schema | Coefficients and treatment effects | Design structure: blocks, matched pairs, clusters, and the reservoir | Resampling and randomization | Treatment-effect scales | Transformed outcomes | Where this glossary does not apply

Last update: 2026-10-04
Started: 2026-08-16

Validation Evidence
Continuous | Incidence / binary | Count | Ordinal | Survival | Proportion | GEE / GLMM (matched-design, correlated data) | Numerical/backend utilities | Simulation/calibration checks | Coverage note

Last update: 2026-10-04
Started: 2026-08-16

Readme and manuals

Help Manual

Help pageTopics
Build a Reusable Unstratified Cox Data Cache (C++ Backend)build_cox_data_cache_cpp
Build a Reusable Stratified Cox Data Cache (C++ Backend)build_stratified_cox_data_cache_cpp
Delete this machine's saved EDI tuning and return to shipped defaultsclear_local_EDI_optimization
A Fixed-Sample-Size Bernoulli (Independent-Coin-Flip) Randomized DesignDesignFixedBernoulli
A Fixed, Non-Bipartite-Matched-Pair Design with Within-Pair RandomizationDesignFixedBinaryMatch
A Fixed, Blocked-and-Clustered Randomized DesignDesignFixedBlockedCluster
A Fixed, Stratified-Block Randomized DesignDesignFixedBlocking
A Fixed, Unblocked Cluster Randomized DesignDesignFixedCluster
A Fixed, Balanced Two-Arm Factorial DesignDesignFixedFactorial
A Fixed, Covariate-Balanced Design via Greedy Pairwise-Swap SearchDesignFixedGreedy
A Fixed, Model-Based Optimal Design via Greedy Pairwise-Exchange SearchDesignFixedGreedyDOptimal
A Fixed, Individually Balanced Completely Randomized Design (iBCRD)DesignFixediBCRD
A Fixed, Matched-Pair Design with Greedy Which-Member-Treated OptimizationDesignFixedMatchingGreedyPairSwitching
A Fixed, Deterministic Single-Allocation Optimal DesignDesignFixedOptimal
A Fixed, Covariate-Homogeneous-Block Randomized DesignDesignFixedOptimalBlocks
A Fixed Rerandomization Design (Rejection-Sampled on Covariate Balance)DesignFixedRerandomization
Atkinson's (1982) Covariate-Adjusted Biased Coin Sequential DesignDesignSeqOneByOneAtkinson
A Sequential Bernoulli (Independent-Coin-Flip) Randomized DesignDesignSeqOneByOneBernoulli
Efron's (1971) Biased Coin Sequential DesignDesignSeqOneByOneEfron
A Sequential Design Guaranteeing Exact Terminal Balance (Random Allocation Rule)DesignSeqOneByOneiBCRD
Kapelner and Krieger's (2014) Sequential "Matching-on-the-Fly" DesignDesignSeqOneByOneKK14
Kapelner and Krieger's (2021) Outcome-Weighted Sequential Matching-on-the-Fly DesignDesignSeqOneByOneKK21
Stepwise Variant of the KK21 Outcome-Weighted Sequential Matching DesignDesignSeqOneByOneKK21stepwise
Pocock and Simon's (1975) Minimization Sequential DesignDesignSeqOneByOnePocockSimon
A Sequential Permuted-Block Design with Randomly Varying Block SizesDesignSeqOneByOneRandomBlockSize
A Stratified Permuted-Block Sequential Design (SPBR) with Fixed Block SizeDesignSeqOneByOneSPBR
Wei's (1977, 1978) Adaptive Urn Sequential Design, UD(alpha, beta)DesignSeqOneByOneUrn
Experimental Design and InferenceEDI-package EDI
Return EDI Build Information (C++ Backend)edi_build_info_cpp
Comprehensive-test slow-path registryEDI_COMPREHENSIVE_SLOW_PATHS
Exact Two-Group Jonckheere-Terpstra Test via Full Randomization Enumeration (C++ Backend)exact_jonckheere_terpstra_pval_cpp
Fast Beta Regression (R Wrapper)fast_beta_regression
Fast Beta Regression with Variance Calculation (R Wrapper)fast_beta_regression_with_var
Fast Cox Proportional Hazards Regression (R Wrapper)fast_coxph_regression
Fast Cox Proportional Hazards Regression, One-Shot Fit (C++ Backend)fast_coxph_regression_cpp
Fast Cox Proportional Hazards Regression, Cache-Reusing Fit (C++ Backend)fast_coxph_regression_prebuilt_cpp
Fast Logistic Regression, Estimate Only (R Wrapper)fast_logistic_regression
Fast Logistic Regression, Estimate Only (C++ Backend)fast_logistic_regression_cpp
Fast Weighted Logistic Regression, Estimate Only (C++ Backend)fast_logistic_regression_weighted_cpp
Fast Logistic Regression with Variance, Auto-Retrying on Separation (R Wrapper)fast_logistic_regression_with_var
Fast Logistic Regression with Targeted Variance (C++ Backend)fast_logistic_regression_with_var_cpp
Fast Negative Binomial Regression, Estimate-Only (R Wrapper)fast_negbin_regression
Fast Negative Binomial Regression with Variance Calculation (R Wrapper)fast_negbin_regression_with_var
Fast Ordinary Least Squares (OLS) Regression, Estimate-Only (C++ Backend)fast_ols_cpp
Fast Ordinary Least Squares (OLS) Regression with Variance (C++ Backend)fast_ols_with_var_cpp
Fast Poisson Regression, Estimate-Only (C++ Backend)fast_poisson_regression_cpp
Fast Weighted Poisson Regression (C++ Backend)fast_poisson_regression_weighted_cpp
Fast Poisson Regression with Variance Calculation (C++ Backend)fast_poisson_regression_with_var_cpp
Fast Quasi-Poisson Regression with Variance Calculation (C++ Backend)fast_quasipoisson_regression_with_var_cpp
Fast Weibull AFT Regression (R Wrapper: Rcpp Backend or 'survival')fast_weibull_regression
Generate Synthetic Simulation Covariates and Continuous Responsegenerate_covariate_dataset
Get the default bootstrap dispatch policyget_bootstrap_dispatch_policy
Get the default cold-start dispatch policyget_cold_start_dispatch_policy
Show this machine's saved EDI tuning, if anyget_local_EDI_optimization
Get the default optimization dispatch policyget_optimization_dispatch_policy
Get the default parallel dispatch policyget_parallel_dispatch_policy
Get the default warm-start dispatch policyget_warm_start_dispatch_policy
Mean-Difference IVWC Inference for KK Matching-on-the-Fly DesignsInferenceAllKKMeanDiffIVWC
Non-parametric Wilcoxon-based Compound Inference for KK Matching-on-the-Fly DesignsInferenceAllKKWilcoxIVWC
Simple Mean-Difference Inference for Continuous ResponsesInferenceAllSimpleAverageDiff
Simple Mean-Difference Inference with Pooled VarianceInferenceAllSimpleMeanDiffPooledVar
Simple Wilcoxon Rank-Sum (Hodges-Lehmann) InferenceInferenceAllSimpleWilcox
Bai Adjusted-t Mean-Difference Inference for KK14 DesignsInferenceBaiAdjustedTKK14
Bai Adjusted-t Mean-Difference Inference for KK21 DesignsInferenceBaiAdjustedTKK21
Linear Mixed Model Inference for KK Designs with Continuous ResponseInferenceContinKKGLMM
OLS IVWC Compound Inference for KK DesignsInferenceContinKKOLSIVWC
OLS Combined-Likelihood Inference for KK DesignsInferenceContinKKOLSOneLik
Quantile Regression Compound Estimator for KK Matching-on-the-Fly DesignsInferenceContinKKQuantileRegrIVWC
Quantile Regression Combined-Likelihood Compound Estimator for KK Designs (Continuous)InferenceContinKKQuantileRegrOneLik
Robust-Regression IVWC Compound Inference for KK DesignsInferenceContinKKRobustRegrIVWC
Robust-Regression Combined-Likelihood Inference for KK DesignsInferenceContinKKRobustRegrOneLik
Lin (2013) Covariate-Adjusted OLS Inference for Continuous ResponsesInferenceContinLin
OLS Inference for Continuous ResponsesInferenceContinOLS
Quantile Regression Inference for Continuous ResponsesInferenceContinQuantileRegr
Robust (M/MM-Estimator) Regression Inference for Continuous ResponsesInferenceContinRobustRegr
Hurdle Negative Binomial Regression Inference for Count ResponsesInferenceCountHurdleNegBin
Hurdle Poisson Regression Inference for Count ResponsesInferenceCountHurdlePoisson
One-Likelihood Conditional-Poisson Inference for KK Count DesignsInferenceCountKKCondPoissonOneLik
GLMM Inference for KK Designs with Count ResponseInferenceCountKKGLMM
KK Hurdle Poisson IVWC Inference for Count ResponsesInferenceCountKKHurdlePoissonIVWC
KK Hurdle-Poisson Combined-Likelihood Inference for Count ResponsesInferenceCountKKHurdlePoissonOneLik
Negative Binomial Regression Inference for Count ResponsesInferenceCountNegBin
Poisson Regression Inference for Count ResponsesInferenceCountPoisson
GEE Inference for KK Designs with Count ResponseInferenceCountPoissonKKGEE
Quasi-Poisson Regression Inference for Count ResponsesInferenceCountQuasiPoisson
Robust (Sandwich-Variance) Poisson Regression Inference for Count ResponsesInferenceCountRobustPoisson
Zero-Inflated Negative Binomial Regression Inference for Count ResponsesInferenceCountZeroInflatedNegBin
Zero-Inflated Poisson Regression Inference for Count ResponsesInferenceCountZeroInflatedPoisson
Binomial Identity Risk Difference Inference for Incidence ResponsesInferenceIncidBinomialIdentityRiskDiff
CMH Blocked Incidence InferenceInferenceIncidCMH
Exact Binomial (McNemar-Type) Incidence Inference for Matched-Pair DesignsInferenceIncidExactBinomial
Exact Fisher (Conditional Hypergeometric) Incidence InferenceInferenceIncidExactFisher
Exact Zhang Combined-Test Incidence InferenceInferenceIncidExactZhang
Extended Robins Blocked Incidence InferenceInferenceIncidExtendedRobins
G-Computation Risk-Difference Inference for Binary ResponsesInferenceIncidGCompRiskDiff
G-Computation Risk-Ratio Inference for Binary ResponsesInferenceIncidGCompRiskRatio
Conditional Logistic Plus GLMM IVWC Inference for KK DesignsInferenceIncidKKCondLogitGLMMIVWC
Conditional Logistic Plus GLMM Combined-Likelihood Inference for KK DesignsInferenceIncidKKCondLogitGLMMOneLik
Conditional Logistic IVWC Inference (KK Designs, Binary Response)InferenceIncidKKCondLogitIVWC
One-Likelihood Conditional-Logistic Inference for KK Binary DesignsInferenceIncidKKCondLogitOneLik
G-Computation Risk-Difference Inference for KK Designs with Binary ResponsesInferenceIncidKKGCompRiskDiff
G-Computation Risk-Ratio Inference for KK Designs with Binary ResponsesInferenceIncidKKGCompRiskRatio
GEE Inference for KK Designs with Binary ResponseInferenceIncidKKGEE
Modified-Poisson Inference for KK Designs with Binary ResponsesInferenceIncidKKModifiedPoisson
KK Newcombe Risk-Difference IVWC Inference for Binary ResponsesInferenceIncidKKNewcombeRiskDiff KKNewcombeRiskDiffIVWCSource
Log-Binomial Regression Inference for Incidence ResponsesInferenceIncidLogBinomial
Logistic Regression Inference for Incidence ResponsesInferenceIncidLogRegr
Miettinen-Nurminen Risk-Difference Inference for Binary ResponsesInferenceIncidMiettinenNurminenRiskDiff
Modified Poisson Regression Inference for Incidence ResponsesInferenceIncidModifiedPoisson
Newcombe Risk-Difference Inference for Binary ResponsesInferenceIncidNewcombeRiskDiff
Probit Regression Inference for Incidence ResponsesInferenceIncidProbitRegr
Risk Difference Inference for Incidence ResponsesInferenceIncidRiskDiff
Wald Incidence InferenceInferenceIncidWald
Adjacent Category Logit Regression Inference for Ordinal ResponsesInferenceOrdinalAdjCatLogitRegr
Cauchit Regression Inference for Ordinal ResponsesInferenceOrdinalCauchitRegr
Cumulative Cloglog Inference for Ordinal ResponsesInferenceOrdinalCloglogRegr
Continuation Ratio Regression Inference for Ordinal ResponsesInferenceOrdinalContRatioRegr
G-Computation Mean-Difference Inference for Ordinal ResponsesInferenceOrdinalGCompMeanDiff
Jonckheere-Terpstra (JT) Test for Ordinal ResponsesInferenceOrdinalJonckheereTerpstraTest
Ordinal KK CLMM (Proportional Odds / logit link)InferenceOrdinalKKCLMM
Ordinal KK CLMM (Cauchit link)InferenceOrdinalKKCLMMCauchit
Ordinal KK CLMM (Complementary log-log link)InferenceOrdinalKKCLMMCloglog
Ordinal KK CLMM (Probit link)InferenceOrdinalKKCLMMProbit
Adjacent Category Logit Inference for KK Matching-on-the-fly DesignsInferenceOrdinalKKCondAdjCatLogitRegr
GEE Inference for KK Designs with Ordinal ResponseInferenceOrdinalKKGEE
GLMM Inference for KK Designs with Ordinal ResponseInferenceOrdinalKKGLMM
Ordered Probit Regression Inference for Ordinal ResponsesInferenceOrdinalOrderedProbitRegr
Paired Sign Test Inference for KK Designs with Ordinal ResponseInferenceOrdinalPairedSignTest
Partial Proportional-Odds Regression Inference for Ordinal ResponsesInferenceOrdinalPartialProportionalOddsRegr
Proportional Odds Regression Inference for Ordinal ResponsesInferenceOrdinalPropOddsRegr
Ridit Analysis for Ordinal ResponsesInferenceOrdinalRidit
Stereotype Logit Regression Inference for Ordinal ResponsesInferenceOrdinalStereotypeLogitRegr
Beta Regression Inference for Proportion ResponsesInferencePropBetaRegr
Fractional Logit Inference for Proportion ResponsesInferencePropFractionalLogit
G-Computation Mean-Difference Inference for Proportion ResponsesInferencePropGCompMeanDiff
GEE Inference for KK Designs with Proportion ResponseInferencePropKKGEE
KK GLMM Inference for Proportion ResponsesInferencePropKKGLMM
Quantile Regression Compound Estimator for KK Matching-on-the-Fly Designs (Proportion Outcomes)InferencePropKKQuantileRegrIVWC
Quantile Regression Combined-Likelihood Compound Estimator for KK Designs (Proportion)InferencePropKKQuantileRegrOneLik
Quantile Regression Inference for Proportion ResponsesInferencePropQuantileRegr
Zero/One-Inflated Beta Inference for Proportion ResponsesInferencePropZeroOneInflatedBetaRegr
Randomization test/CI on a user-supplied statisticInferenceRandCustom
Inference Suite: Discover and Bundle Every Applicable Inference Class for a DesignInferenceSuite
Cox Proportional Hazards Regression Inference for Survival ResponsesInferenceSurvivalCoxPHRegr
Dependent-Censoring Transformation Inference for Survival ResponsesInferenceSurvivalDepCensTransformRegr
Gehan-Wilcoxon (Peto-Prentice) Inference for Survival Data with CensoringInferenceSurvivalGehanWilcox
Clayton Copula / Standard Weibull Compound Inference for KK DesignsInferenceSurvivalGLMMWeibullFrailtyLoggammaIVWC
One-Likelihood Clayton-Copula Weibull AFT Inference for KK Survival DesignsInferenceSurvivalGLMMWeibullFrailtyLoggammaOneLik
Weibull Frailty IVWC Inference for KK DesignsInferenceSurvivalGLMMWeibullFrailtyNormalIVWC
Weibull Frailty Combined-Likelihood Inference for KK DesignsInferenceSurvivalGLMMWeibullFrailtyNormalOneLik
LWA-style Marginal Cox IVWC Compound Inference for KK DesignsInferenceSurvivalKKLWACoxPHIVWC
LWA-style Marginal Cox Combined-Likelihood Inference for KK DesignsInferenceSurvivalKKLWACoxPHOneLik
Rank Regression Inference for Survival Responses under KK DesignsInferenceSurvivalKKRankRegrIVWC
Stratified Cox / Standard Cox Compound Inference for KK DesignsInferenceSurvivalKKStratCoxPHIVWC
Stratified Cox Combined-Likelihood Compound Inference for KK DesignsInferenceSurvivalKKStratCoxPHOneLik
Marginal (Cluster-Robust) Weibull Inference for KK Matched-Pair Survival DesignsInferenceSurvivalKKWeibullMarginal SurvivalKKWeibullMarginalSource
Kaplan-Meier Median-Difference Inference for Survival ResponsesInferenceSurvivalKMDiff
Log-Rank Inference for Survival Data with CensoringInferenceSurvivalLogRank
Restricted Mean Survival Time (RMST) Difference Inference for Survival ResponsesInferenceSurvivalRestrictedMeanDiff
Stratified Cox PH Inference for Survival ResponsesInferenceSurvivalStratCoxPHRegr
Weibull AFT Inference for Survival ResponsesInferenceSurvivalWeibullRegr
Inverse Logit (Logistic) Functioninv_logit
Logit (Log-Odds) Transformlogit
Export of C++ function mn_pvalue_cppmn_pvalue_cpp
Prints the results table from an 'InferenceSuite' 'run_all_inference()' call - the same table 'screen = TRUE' prints during the call itself, so a user who assigned the return value and later types its name (or calls 'print()' on it) sees a readable table rather than a raw nested list dump. The table itself is rendered by 'run_all_inference_format_pretty_table()': rows sorted by 'estimand', with a double rule under the header and a single rule between 'estimand' groups and at the bottom, class names and 'estimand' values shortened for display (never the underlying 'results_table' values), and a 'cov_model' letter-key legend appended when applicable - see that function's own documentation for the exact column-by-column rendering rules.print.EDIInferenceSuiteResults
Robust Negative Binomial Regression with Backward Column-Dropping Fallbackrobust_negbinreg
Robust Parametric Survival Regression from Response/Censoring Vectorsrobust_survreg
Robust Parametric Survival Regression (AFT) with Warm-Start and Random-Restart Fallbackrobust_survreg_with_surv_object
Sample Modesample_mode
Update the cold-start dispatch policyset_cold_start_dispatch_policy
Set the number of cores for parallelizationset_num_cores
Update the optimization dispatch policyset_optimization_dispatch_policy
Update the parallel dispatch policyset_parallel_dispatch_policy
Update the warm-start dispatch policyset_warm_start_dispatch_policy
Simulation Framework for Experimental Designs and Inference MethodsSimulationFramework
Reporting class for SimulationFramework resultsSimulationFrameworkReport
Lean GLM Summary (Skips Deviance Residual Quantiles)summary_glm_lean
Summarizes an 'InferenceSuite' 'run_all_inference()' result: counts by 'status', the estimate range across 'status == "ok"' classes, and how many reject at 'alpha'.print.summary.EDIInferenceSuiteResults summary.EDIInferenceSuiteResults
Transform continuous latent signal to the response type scaletransform_cont_y_based_on_response_type
Benchmark this machine and tune EDI's performance-policy defaults to ittune_EDI_for_this_machine
Unset the number of cores and stop parallel clustersunset_num_cores