anova.lcc | R Documentation |
lcc
ObjectCompares the fit of different longitudinal concordance correlation models (lcc objects). When comparing multiple models, the function returns a data frame with degrees of freedom, log-likelihood, AIC, and BIC for each model. For a single model, it returns F-values and P-values for fixed terms in the model.
## S3 method for class 'lcc'
anova(object, ..., test = TRUE, type = c("sequential", "marginal"),
adjustSigma = TRUE, verbose = FALSE)
object |
An object inheriting from class |
... |
Other optional fitted model objects inheriting from classes "lcc" or "lme". |
test |
Logical; if |
type |
Character string specifying the type of sum of squares for F-tests. Options are "sequential" or "marginal". Defaults to "sequential". |
adjustSigma |
Logical; if |
verbose |
Logical; if |
This function is an adaptation from anova.lme
.
It assesses whether the addition of terms significantly improves model fit.
lcc
, summary.lcc
## Not run:
fm1.aov <- lcc(data = hue, subject = "Fruit", resp = "H_mean", method = "Method",
time = "Time", qf = 2, qr = 1)
fm2.aov <- update(fm1.aov, qr = 2)
anova(fm1.aov, fm2.aov)
## End(Not run)
## Not run:
fm3.aov <- update(fm2.aov, REML = FALSE)
fm4.aov <- update(fm2.aov, REML = FALSE, qf = 3)
anova(fm3.aov, fm4.aov)
## End(Not run)
## Not run:
fm5.aov <- update(fm2.aov, var.class = varExp, weights.form = "time")
anova(fm1.aov, fm2.aov, fm5.aov)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.