rgcm | R Documentation |
GCM test with pre-computed residuals
rgcm(
rY,
rX,
alternative = "two.sided",
type = c("quadratic", "max", "scalar"),
...
)
rY |
Vector or matrix of response values. |
rX |
Matrix or data.frame of covariates. |
alternative |
A character string specifying the alternative hypothesis,
must be one of |
type |
Type of test statistic, either |
... |
Further arguments passed to |
Object of class 'gcm
' and 'htest
' with the following
components:
statistic |
The value of the test statistic. |
p.value |
The p-value for the |
parameter |
In case X is multidimensional, this is the degrees of freedom used for the chi-squared test. |
hypothesis |
String specifying the null hypothesis. |
null.value |
String specifying the null hypothesis. |
method |
The string |
data.name |
A character string giving the name(s) of the data. |
rY |
Residuals for the Y on Z regression. |
rX |
Residuals for the X on Z regression. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.