Description Usage Arguments Details Value See Also Examples
Performs a test whether a statistical model fits to some data via a binomial test on the signs of residuals.
1 2 3 4 5 6 7 |
x |
[ |
... |
[ |
formula |
[ |
data |
[ |
params |
[ |
In the default method a residual vector is given and it is tested whether this residual vector comes from a model that describes the data sufficiently. With the formula interface it is possible to give a formula and a parameter vector, so that a linear model with the given parameters is fitted and the residuals are calculated with this model.
At the moment only linear models for the formula interface are supported!
A list with class "htest"
containing the following components:
statistic
the number of positive residuals.
parameter
the number of data points.
p.value
the p-value for the test.
alternative
a character string describing the alternative hypothesis.
data.name
a character string giving the name of the data.
method
a character string describing the method.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.