Skip to contents

Fits a combined conditional-logit-plus-random-intercept-GLMM likelihood for proportion responses under a KK matching-on-the-fly design. Matched pairs with a discordant pair-difference are handled by a conditional (fixed pair-effect) logistic term, while concordant/reservoir subjects are handled by a random-intercept logistic mixed model with intercept \(b_g \sim N(0, \sigma_b^2)\) per matched-set/reservoir group \(g\); both terms share the same treatment coefficient \(\beta_T\), jointly maximized by the internal fast_clogit_plus_glmm_cpp routine. This combines the design-exact conditional-logit treatment of matched pairs (no nuisance pair-intercept to estimate) with a GLMM's ability to still contribute information from concordant pairs and reservoir subjects, which a pure conditional-logit-on-discordant-pairs-only approach would discard. \(\exp(\hat\beta_T)\) is the common treatment odds ratio. likelihood_tier = "full": likelihood-ratio, score, and Wald tests are all available when the model converges. See InferenceAbstractKKCondLogitGLMM for the shared model-fitting and caching contract used by this class's incidence-response siblings (InferenceIncidKKCondLogitGLMMIVWC, InferenceIncidKKCondLogitGLMMOneLik).

Small-sample behaviour

How fast the size (and coverage) error of each procedure is expected to vanish as the effective sample size \(n_{eff}\) grows, from EDI's convergence-rate registry (inference_convergence_expectation()). Exact procedures are valid at every n by construction; the others are asymptotic, so a small-sample excess is expected, and its constant is not given by an order. The table is the expectation for a balanced complete-randomization design; it is not a measured size. Reference keys are explained under References.

ProcedureRegimeError orderEffective nRegularityBasisReferences
randfinite sampleexactpairs + reservoirregulartheory[Fisher1935], [LehmannRomano2005]
waldasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
jackknifeasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
scoreasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
lik_ratioasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
gradientasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
lik_ratio_bartlett_approxasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
lik_ratio_bartlett_exactasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
param_bootasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
param_boot_directasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
bootstrapasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
bayes_bootasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]
rand_bootstrapasymptoticunknownpairs + reservoirvariance componentunknown[SelfLiang1987], [StramLee1994]

The point estimate's bias is of order \(O(n_{eff}^{-1})\) (assumed default: [CoxSnell1968]).

Rows with order unknown: no rate is known for this class and procedure, so none is claimed; the cited works describe the non-standard limit, not a rate. Expect a small-sample excess of unquantified size.

Regularity variance component: a random-effect variance near zero is a non-standard limit that affects the standard tests.

The procedure list is by declared capability; an object can still report a procedure (for example a Bartlett correction) as unavailable through get_supported_testing_types().

References

Kapelner, A. and Krieger, A. M. (2014). "Matching on-the-fly: Sequential allocation with higher power and efficiency." Biometrics, 70(2), 378-388, doi:10.1111/biom.12148 , for the KK matching-on-the-fly design this class is built for; Breslow, N. E., and Clayton, D. G. (1993). "Approximate Inference in Generalized Linear Mixed Models." Journal of the American Statistical Association, 88(421), 9-25, doi:10.2307/2290687 , for the GLMM likelihood framework combined with the conditional-logit term here.

[Fisher1935] Fisher, R. A. (1935). The Design of Experiments. Oliver and Boyd.

[LehmannRomano2005] Lehmann, E. L., and Romano, J. P. (2005). Testing Statistical Hypotheses (3rd ed.). Springer.

[SelfLiang1987] Self, S. G., and Liang, K.-Y. (1987). "Asymptotic Properties of Maximum Likelihood Estimators and Likelihood Ratio Tests under Nonstandard Conditions." Journal of the American Statistical Association, 82(398), 605-610.

[StramLee1994] Stram, D. O., and Lee, J. W. (1994). "Variance Components Testing in the Longitudinal Mixed Effects Model." Biometrics, 50(4), 1171-1177.

[CoxSnell1968] Cox, D. R., and Snell, E. J. (1968). "A General Definition of Residuals." Journal of the Royal Statistical Society: Series B, 30(2), 248-265 (discussion 265-275).

Super classes

Inference -> InferenceAbstractKKCondLogitGLMM -> InferencePropKKGLMM

Methods

+ inherited public methods from InferenceAbstractKKCondLogitGLMM
+ inherited public methods from Inference


InferencePropKKGLMM$new()

Initialize inference for the combined conditional-logit (discordant matched pairs) plus random-intercept-GLMM (concordant pairs/reservoir) proportion model; see InferencePropKKGLMM for the model form. Does not fit the model; the fit is deferred to the first call to compute_estimate() or a method that requires it.

Usage

InferencePropKKGLMM$new(
  des_obj,
  model_formula = NULL,
  max_abs_reasonable_coef = 10000,
  max_abs_log_sigma = 8,
  verbose = FALSE,
  smart_cold_start_default = NULL,
  optimization_alg = NULL
)

Arguments

des_obj

A completed Design object with a proportion response.

model_formula

Optional formula for covariate adjustment.

max_abs_reasonable_coef

Cap for reasonable coefficient estimates.

max_abs_log_sigma

Cap for reasonable log random effect variance.

verbose

Whether to print progress messages.

smart_cold_start_default

Whether to use smart cold start values.

optimization_alg

Character. Optimization algorithm (default "lbfgs").


InferencePropKKGLMM$clone()

The objects of this class are cloneable with this method.

Usage

InferencePropKKGLMM$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.