wald_test | R Documentation |
This function is a wrapper for the function
car::linearHypothesis()
, but which uses the bain::bain()
syntax to parse
equality constrained hypotheses.
wald_test(x, hypothesis, ...)
x |
An object for which a method exists. |
hypothesis |
A character string with equality constrained hypotheses,
specified according to the |
... |
Additional arguments passed to |
A data.frame
of class wald_test
.
linearHypothesis
mod <- lm(Sepal.Length ~ Sepal.Width, data = iris)
coef(mod)
wald_test(mod, "Sepal.Width = 0")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.