AnovaBase.jl Documentation
AnovaBase.jl is a Julia package providing a simple framework for Analysis of Varaincae (ANOVA) on various types of julia statistical models. It is similar to function anova in R.
Functionality overview
ANOVA
anova(model; type, test)
anova(test, model; type)
anova(models; test)
anova(test, models)Model-specific ANOVA
AnovaGLM
anova_lm(formula, data; type, test)
anova_lm(test, formula, data; type)
anova_glm(formula, data, distr, link; type, test)
anova_glm(test, formula, data, distr, link; type)AnovaMixedModels
anova_lme(formula, data; type, test)
anova_lme(test, formula, data; type)AnovaFixedEffecModels
anova_lfe(formula, data, vcov; type, test)
anova_lfe(test, formula, data, vcov; type)nestedmodels
nestedmodels(modeltype, formula, data)
nestedmodels(model)Usage
This package is not intentded to be used directly. Use the following packages for different models:
| Packages for models | Packages for ANOVA | Models | Fitted by |
|---|---|---|---|
| GLM.jl | AnovaGLM.jl | TableRegressionModel{<: LinearModel} | GLM.lm or fit(LinearModel, _) |
TableRegressionModel{<: GeneralizedLinearModel} | GLM.glm or fit(GeneralizedLinearModel, _) | ||
| MixedModels.jl | AnovaMixedModels.jl | LinearMixedModel | AnovaMixedModels.lme or fit(LinearMixedModel, _) |
GeneralizedLinearMixedModel | AnovaGLM.glme or fit(GeneralizedLinearMixedModel, _) | ||
| FixedEffectModels.jl | AnovaFixedEffectModels.jl | FixedEffectModel | AnovaFixedEffectModels.lfe or FixedEffectModels.reg |
Tests for Goodness of Fit
FTest: F-testLikelihoodRatioTest,LRT: likelihood-ratio test
Types of Estimable Functions
Type I, II, III SS are supported.