Description Usage Arguments Value See Also Examples
View source: R/bothsidesmodel.lrt.R
Tests the null hypothesis that an arbitrary subset of the β _{ij}'s is zero, using the likelihood ratio test as in Section 9.4. The null and alternative are specified by pattern matrices P_0 and P_A, respectively. If the P_A is omitted, then the alternative will be taken to be the unrestricted model.
1 2 3 4 5 6 7 |
x |
An N x P design matrix. |
y |
The N x Q matrix of observations. |
z |
A Q x L design matrix. |
pattern0 |
An N x P matrix of 0's and 1's specifying |
patternA |
An optional N x P matrix of 0's and 1's specifying the alternative hypothesis. |
A list with the following components:
The likelihood ratio statistic in (9.44).
The degrees of freedom in the test.
The p-value for the test.
bothsidesmodel.chisquare
, bothsidesmodel.df
,
bothsidesmodel.hotelling
, bothsidesmodel
,
and bothsidesmodel.mle
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.