Effect Size in fitglme

20 visualizzazioni (ultimi 30 giorni)
Laurie König
Laurie König il 24 Nov 2025 alle 10:27
Modificato: dpb il 24 Nov 2025 alle 16:22
Hey, I am using a model which I have estimated with fitglme. I want to report effect sizes and confidence intervals. Would the best way be to report OR terms and their respective intervals?
I am calculating them the following way:
[beta,~,stats] = fixedEffects(glme_best);
CI = coefCI(glme_best);
names = glme_best.CoefficientNames(:);
OR = exp(beta);
CI_OR = exp(CI);
Is that correct or is there a better way to directly get OR terms in Matlab?
Best!
  2 Commenti
Torsten
Torsten il 24 Nov 2025 alle 12:14
We must know more about your model in order to understand why you take "exp" of beta and CI.
Laurie König
Laurie König il 24 Nov 2025 alle 12:44
opts = {'Distribution','Binomial','Link','logit','FitMethod','Laplace'};
formula_fix = 'Correct ~ 1 + Trial_z';
mA = fitglme(T, [formula_fix, ' + (1|Subj)'], opts{:}); --> That would be an example for a model

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by