Description Usage Arguments Value Note See Also Examples
Calculates the likeihood ratio type test statistic (under Normality assumption) for a constrained linear mixed effects model. This is the default test statistic for CLME.
1 |
theta |
estimated coefficients. |
theta.null |
coefficients estimated under the null hypothesis. |
cov.theta |
covariance matrix of the (unconstrained) coefficients. |
... |
additional arguments, to enable custom test statistic functions. |
Output is a numeric value.
This is an internal function, unlikely to be useful outside of CLME-package. To define custom functions, the arguments available are:
theta
, theta.null
, cov.theta
, B
, A
, Y
, X1
, X2
, U
, tsq
, ssq
, Nks
, and Qs
.
Of the additional arguments, B
and A
are identical to those produced by create.constraints
. The rest, Y
, X1
, X2
, U
, tsq
, , ssq
, Nks
, and Qs
, are equivalent to arguments to clme_em
.
Custom functions must produce numeric output. Output may have length greater than 1, which corresponds to testing multiple global hypotheses.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.