File size: 4,485 Bytes
18688f5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | Random-Effects Structure Sensitivity Comparison ================================================ All models use the exact same complete-case rows and the same fixed-effects formula: skill_score ~ C(condition) + C(task_type) + C(stage_order) + log_global + interruptions All fits use ML (reml=False). A: participant random intercept + nested trial random intercept. B: participant random intercept + independent participant-level mid/no condition-slope variance components + nested trial random intercept (diagnostic random-slope alternative). C: participant random intercept + independent participant-level mid/no condition-slope variance components, without a trial random intercept. These are independent variance components, not correlated random intercept/slope coefficients. For each structure, all listed optimizers are attempted; the converged finite-likelihood solution with the highest log-likelihood is retained. Optimizer disagreement and convergence warnings are recorded. AIC/BIC are comparable because the fixed effects, response, and observations are held constant. Lower values indicate better relative fit, not proof that a structure is correct. Model A is the primary inferential random-effects structure. Models B and C are diagnostic alternatives only. Variance-component tests lie on parameter boundaries; do not interpret a conventional chi-square LRT p-value for A vs B or B vs C as a standard test. With only eight participant clusters, treat this as a diagnostic comparison. OK: B log-likelihood is not below A. MODEL A — participant intercept + nested trial intercept Status: converged optimizer: powell attempted_optimizers: lbfgs,bfgs,powell,cg n_rows: 677 n_subjects: 8 n_trials: 70 log_likelihood: -420.6096741005249 AIC: 879.2193482010498 BIC: 965.055102386383 residual_variance: 0.19758880921594557 participant_intercept_variance: 0.014045897304359812 condition_mid_slope_variance: nan condition_no_slope_variance: nan trial_intercept_variance: 0.0007616722674969545 condition_mid_beta: -0.27377567983892526 condition_mid_se: 0.04493556827807839 condition_mid_p: 1.1107230194858223e-09 condition_no_beta: -0.42382371184593315 condition_no_se: 0.046771519623769096 condition_no_p: 1.2857832295307826e-19 warnings: powell: The MLE may be on the boundary of the parameter space. || lbfgs: The MLE may be on the boundary of the parameter space. || Optimizer likelihood spread=0.0063573; selected highest llf. MODEL B — participant intercept + independent condition slopes + nested trial intercept Status: converged optimizer: powell attempted_optimizers: lbfgs,bfgs,powell,cg n_rows: 677 n_subjects: 8 n_trials: 70 log_likelihood: -420.6083860244157 AIC: 883.2167720488314 BIC: 978.0878687799892 residual_variance: 0.19778730078102455 participant_intercept_variance: 0.013816998455275722 condition_mid_slope_variance: 2.5885547588278472e-11 condition_no_slope_variance: 1.9784530194214275e-11 trial_intercept_variance: 0.0005730154540358991 condition_mid_beta: -0.2737532747327689 condition_mid_se: 0.04975969708459319 condition_mid_p: 3.765606818553286e-08 condition_no_beta: -0.4237590304712033 condition_no_se: 0.050153515774481634 condition_no_p: 2.932082456463773e-17 warnings: powell: The MLE may be on the boundary of the parameter space. MODEL C — participant intercept + independent condition slopes (no trial intercept) Status: converged optimizer: powell attempted_optimizers: lbfgs,bfgs,powell,cg n_rows: 677 n_subjects: 8 n_trials: 70 log_likelihood: -420.61965841827805 AIC: 881.2393168365561 BIC: 971.5927422948016 residual_variance: 0.1982849701642436 participant_intercept_variance: 0.013972663128364694 condition_mid_slope_variance: 1.9715190357118755e-07 condition_no_slope_variance: 5.0198925855114035e-11 trial_intercept_variance: nan condition_mid_beta: -0.2737075880232114 condition_mid_se: 0.04614995167644954 condition_mid_p: 3.014043644149542e-09 condition_no_beta: -0.42363331927168224 condition_no_se: 0.047601773548912964 condition_no_p: 5.608465017398293e-19 warnings: powell: The MLE may be on the boundary of the parameter space. RANKING AMONG CONVERGED MODELS ------------------------------- AIC (lowest first): A=879.219, C=881.239, B=883.217 BIC (lowest first): A=965.055, C=971.593, B=978.088 Interpret the ranking together with convergence, variance estimates, fixed-effect stability, and the scientific need to account for repeated stages within trials. Do not select solely by a tiny AIC/BIC difference. |