Contenuto principale

Effetti misti

Modelli lineari a effetti misti

Un modello lineare a effetti misti include sia effetti fissi che casuali nella modellazione di una variabile di risposta. Questo tipo di modello è in grado di tenere conto delle tendenze globali e locali presenti in un insieme di dati, includendo gli effetti casuali di una variabile di clustering. Se i dati sono presentati in una tabella, è possibile adattare un modello lineare a effetti misti utilizzando fitlme. In alternativa, se il modello non è facilmente descrivibile utilizzando una formula, è possibile creare delle matrici per definire gli effetti fissi e casuali e poi adattare il modello utilizzando fitlmematrix.

Funzioni

espandi tutto

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
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

Oggetti

LinearMixedModelLinear mixed-effects model

Argomenti