
Ordinal KK CLMM (Complementary log-log link)
Source:R/inference_ordinal_KK_clmm_abstract.R
InferenceOrdinalKKCLMMCloglog.RdCumulative-link random-intercept mixed model for ordinal responses under a
KK matching-on-the-fly design, using the complementary log-log link:
\(\log(-\log(1 - P(Y_i \le k))) = \alpha_k - (\beta_T W_i + X_i^\top
\gamma) - b_{g(i)}\), \(b_g \sim N(0, \sigma_b^2)\), where \(g(i)\) is
subject \(i\)'s matched-pair group id. Unlike the symmetric logit/probit/
cauchit links, the cloglog link is asymmetric, making it appropriate when
the ordinal categories arise from an underlying continuous-time
proportional-hazards process discretized into intervals. See
InferenceAbstractKKOrdinalCLMM
for the shared model-fitting, caching, and likelihood-tier contract common
to all four link-function siblings; this class supplies only the
link-function choice (private$clmm_link() == "cloglog").
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.
| Procedure | Regime | Error order | Effective n | Regularity | Basis | References |
rand | finite sample | exact | pairs + reservoir | regular | theory | [Fisher1935], [LehmannRomano2005] |
wald | asymptotic | unknown | pairs + reservoir | variance component | unknown | [SelfLiang1987], [StramLee1994] |
jackknife | asymptotic | unknown | pairs + reservoir | variance component | unknown | [SelfLiang1987], [StramLee1994] |
bootstrap | asymptotic | unknown | pairs + reservoir | variance component | unknown | [SelfLiang1987], [StramLee1994] |
bayes_boot | asymptotic | unknown | pairs + reservoir | variance component | unknown | [SelfLiang1987], [StramLee1994] |
rand_bootstrap | asymptotic | unknown | pairs + reservoir | variance component | unknown | [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.
References
[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 -> InferenceAbstractKKOrdinalCLMM -> InferenceOrdinalKKCLMMCloglog
Methods
+ inherited public methods from InferenceAbstractKKOrdinalCLMM
InferenceAbstractKKOrdinalCLMM$approximate_bayesian_bootstrap_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$approximate_bootstrap_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$approximate_jackknife_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$approximate_m_out_of_n_bootstrap_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$approximate_rand_bootstrap_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$approximate_randomization_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$approximate_subsampling_distribution_beta_hat_T()InferenceAbstractKKOrdinalCLMM$compute_asymp_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_asymp_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_bayesian_bootstrap_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_bayesian_bootstrap_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_bootstrap_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_bootstrap_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_estimate()InferenceAbstractKKOrdinalCLMM$compute_estimate_with_bootstrap_weights()InferenceAbstractKKOrdinalCLMM$compute_jackknife_bias_estimate()InferenceAbstractKKOrdinalCLMM$compute_jackknife_estimate()InferenceAbstractKKOrdinalCLMM$compute_jackknife_std_error()InferenceAbstractKKOrdinalCLMM$compute_jackknife_wald_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_jackknife_wald_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_m_out_of_n_bootstrap_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_m_out_of_n_bootstrap_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_rand_bootstrap_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_rand_bootstrap_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_rand_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_rand_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_subsampling_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_subsampling_sensitivity()InferenceAbstractKKOrdinalCLMM$compute_subsampling_two_sided_pval()InferenceAbstractKKOrdinalCLMM$compute_wald_confidence_interval()InferenceAbstractKKOrdinalCLMM$compute_wald_two_sided_pval()InferenceAbstractKKOrdinalCLMM$get_mod()InferenceAbstractKKOrdinalCLMM$get_supported_bayesian_bootstrap_ci_types()InferenceAbstractKKOrdinalCLMM$get_supported_bayesian_bootstrap_pval_types()InferenceAbstractKKOrdinalCLMM$get_supported_bootstrap_ci_types()InferenceAbstractKKOrdinalCLMM$get_supported_bootstrap_pval_types()InferenceAbstractKKOrdinalCLMM$get_supported_rand_bootstrap_ci_types()InferenceAbstractKKOrdinalCLMM$get_supported_rand_bootstrap_pval_types()InferenceAbstractKKOrdinalCLMM$get_supported_testing_types()InferenceAbstractKKOrdinalCLMM$select_optimal_b_subsampling()InferenceAbstractKKOrdinalCLMM$select_optimal_m_out_of_n_bootstrap()InferenceAbstractKKOrdinalCLMM$set_testing_type()InferenceAbstractKKOrdinalCLMM$supports_rand_pval_for_incidence()+ inherited public methods from Inference
Inference$capabilities()Inference$clear_randomization_cache()Inference$compute_exact_confidence_interval()Inference$compute_exact_two_sided_pval_for_treatment_effect()Inference$duplicate()Inference$get_analysis_data()Inference$get_covariates()Inference$get_design_object()Inference$get_estimand()Inference$get_model_formula()Inference$get_nonestimable_reason()Inference$get_nonestimable_stage()Inference$get_optimization_alg()Inference$get_procedure_validity()Inference$get_response()Inference$get_response_type()Inference$get_summary()Inference$get_supported_estimands()Inference$get_treatment()Inference$is_nonestimable()Inference$set_estimand()Inference$set_optimization_alg()Inference$set_seed()Inference$supports()
InferenceOrdinalKKCLMMCloglog$new()
Initialize the cloglog-link ordinal KK CLMM subclass; see the
shared ordinal mixed-model contract in
InferenceAbstractKKOrdinalCLMM.
Usage
InferenceOrdinalKKCLMMCloglog$new(
des_obj,
model_formula = NULL,
use_rcpp = TRUE,
verbose = FALSE,
smart_cold_start_default = NULL
)Examples
# \donttest{
seq_des = DesignSeqOneByOneKK14$new(n = 10, response_type = 'ordinal')
for (i in 1:10) {
seq_des$add_one_subject_to_experiment_and_assign(data.frame(x1 = rnorm(1), x2 = rnorm(1)))
}
seq_des$add_all_subject_responses(sample(1:4, 10, replace = TRUE))
inf = InferenceOrdinalKKCLMMCloglog$new(seq_des)
inf$compute_estimate()
#> [1] 2.736799
# }