Effect Size in fitglme

20 Ansichten (letzte 30 Tage)
Laurie König
Laurie König am 24 Nov. 2025 um 10:27
Bearbeitet: dpb am 24 Nov. 2025 um 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 Kommentare
Torsten
Torsten am 24 Nov. 2025 um 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 am 24 Nov. 2025 um 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by