혼합효과
선형 혼합효과 모델은 응답 변수를 모델링할 때 고정효과와 임의효과를 모두 포함합니다. 이 모델 유형은 군집 변수의 임의효과를 포함하여 데이터 세트의 전역 추세와 국소 추세를 설명할 수 있습니다. 데이터가 테이블에 있는 경우 fitlme
를 사용하여 선형 혼합효과 모델을 피팅할 수 있습니다. 또는 식을 사용하여 모델을 쉽게 설명할 수 없는 경우 행렬을 만들어 고정효과와 임의효과를 정의한 다음 fitlmematrix
를 사용하여 모델을 피팅할 수 있습니다.
함수
객체
LinearMixedModel | Linear mixed-effects model |
도움말 항목
- Prepare Data for Linear Mixed-Effects Models
Store data in the correct form for fitting a linear mixed-effects model.
- Relationship Between Formula and Design Matrices
Understand the relationship between a model formula and the design matrices in linear mixed-effects models.
- Linear Mixed-Effects Model Workflow
This example shows how to fit and analyze a linear mixed-effects model (LME).
- Fit Mixed-Effects Spline Regression
This example shows how to fit a mixed-effects linear spline model.
- Linear Mixed-Effects Models
Linear mixed-effects models are extensions of linear regression models for data that are collected and summarized in groups.
- Estimating Parameters in Linear Mixed-Effects Models
The two most commonly used approaches to parameter estimation in linear mixed-effects models are maximum likelihood and restricted maximum likelihood methods.
- Wilkinson Notation
Wilkinson notation provides a way to describe regression and repeated measures models without specifying coefficient values.