How can I obtain the variability of different values of a categorical variable by separating into strata?
조회 수: 31 (최근 30일)
이전 댓글 표시
Hello, I am replicating the results of a study using the following linear mixed-effects model:
The code is:
lme = fitlme(Tabla_datos, 'logxi ~ logH + Material + Material:logH + (1|key)', ...
'FitMethod', 'REML');
With this code, I was able to obtain the data for all fixed effects in the following table (highlighted in blue).
However, I still haven’t been able to achieve the results for variability by material (values highlighted in yellow in the table). I understand that MATLAB assumes a common sigma for all random effects, which is why I want to calculate this variability for the different categories (in this case: materials), treating each material as an independent stratum with its own variability.
Thank you in advance for your responses.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Hypothesis Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!