Effect Size in fitglme

20 visualizaciones (últimos 30 días)
Laurie König
Laurie König el 24 de Nov. de 2025 a las 10:27
Editada: dpb el 24 de Nov. de 2025 a las 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 comentarios
Torsten
Torsten hace alrededor de 5 horas
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 hace alrededor de 4 horas
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by