Download analysis/random_effects_structure_comparison.txt from fhi/piston-assembly-study: direct link, hf CLI and curl.
- Browser
- Download file 4.49 kB
-
https://huggingface.co/datasets/fhi/piston-assembly-study/resolve/main/analysis/random_effects_structure_comparison.txt
- Command line
-
hf download hf://datasets/fhi/piston-assembly-study/analysis/random_effects_structure_comparison.txt
-
curl -L -o random_effects_structure_comparison.txt https://huggingface.co/datasets/fhi/piston-assembly-study/resolve/main/analysis/random_effects_structure_comparison.txt
4.49 kB
| 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. | |