# Anova x test chisq

The anova function automatically tests most meaningful hypotheses in a design. For example, suppose that age and cholesterol are predictors, and that a general interaction is modeled using a restricted spline surface. anova prints Wald statistics ($$F$$ statistics for an ols fit) for testing linearity of age, linearity of cholesterol, age effect (age + age by cholesterol interaction), cholesterol effect (cholesterol + age by cholesterol interaction), linearity of the age by cholesterol interaction (., adequacy of the simple age * cholesterol 1 . product), linearity of the interaction in age alone, and linearity of the interaction in cholesterol alone. Joint tests of all interaction terms in the model and all nonlinear terms in the model are also performed. For any multiple . effects for continuous variables that were not modeled through rcs , pol , lsp , etc., tests of linearity will be omitted. This applies to matrix predictors produced by . poly or ns . is the printing method. draws dot charts depicting the importance of variables in the model, as measured by Wald $$\chi^2$$, $$\chi^2$$ minus ., AIC, $$P$$-values, partial $$R^2$$, $$R^2$$ for the whole model after deleting the effects in question, or proportion of overall model $$R^2$$ that is due to each predictor. is the latex method. It substitutes Greek/math symbols in column headings, uses boldface for TOTAL lines, and constructs a caption. Then it passes the result to for conversion to LaTeX.