wald_test {tidySEM} | R Documentation |
Wald Test for Linear Hypotheses
Description
This function is a wrapper for the function
car::linearHypothesis()
, but which uses the bain::bain()
syntax to parse
equality constrained hypotheses.
Usage
wald_test(x, hypothesis, ...)
Arguments
x |
An object for which a method exists. |
hypothesis |
A character string with equality constrained hypotheses,
specified according to the |
... |
Additional arguments passed to |
Value
A data.frame
of class wald_test
.
See Also
Examples
mod <- lm(Sepal.Length ~ Sepal.Width, data = iris)
coef(mod)
wald_test(mod, "Sepal.Width = 0")
[Package tidySEM version 0.2.7 Index]