Main Content

혼합효과

선형 혼합효과 모델

선형 혼합효과 모델은 응답 변수를 모델링할 때 고정효과와 임의효과를 모두 포함합니다. 이 모델 유형은 군집 변수의 임의효과를 포함하여 데이터 세트의 전역 추세와 국소 추세를 설명할 수 있습니다. 데이터가 테이블에 있는 경우 fitlme를 사용하여 선형 혼합효과 모델을 피팅할 수 있습니다. 또는 식을 사용하여 모델을 쉽게 설명할 수 없는 경우 행렬을 만들어 고정효과와 임의효과를 정의한 다음 fitlmematrix를 사용하여 모델을 피팅할 수 있습니다.

함수

모두 확장

fitlmeFit linear mixed-effects model
fitlmematrixFit linear mixed-effects model
predict Predict response of linear mixed-effects model
random Generate random responses from fitted linear mixed-effects model
fixedEffectsEstimates of fixed effects and related statistics
randomEffects Estimates of random effects and related statistics
fittedFitted responses from a linear mixed-effects model
anovaAnalysis of variance for linear mixed-effects model
coefCI Confidence intervals for coefficients of linear mixed-effects model
coefTestHypothesis test on fixed and random effects of linear mixed-effects model
compareCompare linear mixed-effects models
designMatrixFixed- and random-effects design matrices
covarianceParametersExtract covariance parameters of linear mixed-effects model
partialDependenceCompute partial dependence (R2020b 이후)
residualsResiduals of fitted linear mixed-effects model
responseResponse vector of the linear mixed-effects model
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots
plotResidualsPlot residuals of linear mixed-effects model

객체

LinearMixedModelLinear mixed-effects model

도움말 항목