Description Usage Arguments Details Value Slots Examples
mixUDT performs mixed model on FLTable objects.
1 2 |
formula |
A symbolic description of model to be fitted |
data |
An object of class FLTable. |
The DB Lytix function called is FLMixedModelUdt or FLMixedModelIntUdt. The mixed model extends the linear model by allowing correlation and heterogeneous variances in the covariance matrix of the residuals. Fita a linear mixed-effects model (LMM) to data, FLMixedModelUdt and FLMixedModelIntUdt estimates the coefficients and covariance matrix of the mixed model via expectation maximization method.
lmer returns an object of class FLMixUDT
resultscache list of results computed
tableInput data object
1 2 3 4 5 6 7 8 | One Random Effect.
fltbl <- FLTable(getTestTableName("tblMixedModel"), "ObsID")
flmod <- mixUDT(yVal ~ FixVal + (1 | RanVal), data = fltbl, pIntercept = 1)
flpred <- predict(flmod)
2 Random Effects.
tbl <- FLTable(getTestTableName("tblMixedModelInt"), "ObsID")
flmod <- mixUDT(yVal ~ FixVal + (1 | RanVal1) + (1 | RanVal2 ), tbl)
flpred <- predict(flmod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.