bothsidesmodel.chisquare {msos} | R Documentation |
Test subsets of
are zero
Description
Tests the null hypothesis that an arbitrary subset of the 's
is zero, based on the least squares estimates, using the
test as
in Section 7.1. The null and alternative are specified by pattern matrices
and
, respectively. If the
is omitted, then the
alternative will be taken to be the unrestricted model.
Usage
bothsidesmodel.chisquare(
x,
y,
z,
pattern0,
patternA = matrix(1, nrow = ncol(x), ncol = ncol(z))
)
Arguments
x |
An |
y |
The |
z |
A |
pattern0 |
An |
patternA |
An optional |
Value
A 'list' with the following components:
- Theta
The vector of estimated parameters of interest.
- Covtheta
The estimated covariance matrix of the estimated parameter vector.
- df
The degrees of freedom in the test.
- chisq
statistic in (7.4).
- pvalue
The p-value for the test.
See Also
bothsidesmodel
, bothsidesmodel.df
,
bothsidesmodel.hotelling
, bothsidesmodel.lrt
,
and bothsidesmodel.mle
.
Examples
# TBA - Submit a PR!