Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

混合效应

广义线性混合效应模型

广义线性混合效应 (GLME) 模型在对响应变量建模时包括固定效应和随机效应。这种类型的模型可以通过包含聚类变量的随机效应来解释数据集中的全局和局部趋势。GLME 模型是 Linear Mixed-Effects Models (LME) 应用于响应变量不呈正态分布的数据的泛化。使用 fitglme 创建一个 GeneralizedLinearMixedModel 对象。

GeneralizedLinearMixedModelGeneralized linear mixed-effects model class

函数

全部展开

fitglmeFit generalized linear mixed-effects model
refit Refit generalized linear mixed-effects model
predictPredict response of generalized linear mixed-effects model
randomGenerate random responses from fitted generalized linear mixed-effects model
fittedFitted responses from generalized linear mixed-effects model
fixedEffectsEstimates of fixed effects and related statistics
randomEffectsEstimates of random effects and related statistics
anovaAnalysis of variance for generalized linear mixed-effects model
coefCIConfidence intervals for coefficients of generalized linear mixed-effects model
coefTestHypothesis test on fixed and random effects of generalized linear mixed-effects model
compareCompare generalized linear mixed-effects models
covarianceParametersExtract covariance parameters of generalized linear mixed-effects model
designMatrixFixed- and random-effects design matrices
partialDependenceCompute partial dependence (自 R2020b 起)
residualsResiduals of fitted generalized linear mixed-effects model
responseResponse vector of generalized linear mixed-effects model
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots
plotResidualsPlot residuals of generalized linear mixed-effects model

主题

  • Fit a Generalized Linear Mixed-Effects Model

    Fit a generalized linear mixed-effects model (GLME) to sample data.

  • Generalized Linear Mixed-Effects Models

    Generalized linear mixed-effects (GLME) models describe the relationship between a response variable and independent variables using coefficients that can vary with respect to one or more grouping variables, for data with a response variable distribution other than normal.

  • Wilkinson Notation

    Wilkinson notation provides a way to describe regression and repeated measures models without specifying coefficient values.