lrt_nlmm {nlmm} | R Documentation |
Likelihood Ratio Test for Generalized Laplace Mixed-Effects Models
Description
This function is used to perform a likelihood ratio test for two fitted generalized Laplace mixed-effects models.
Usage
lrt_nlmm(object0, object1)
## S3 method for class 'lrt_nlmm'
print(x, digits = max(3, getOption("digits") - 3), ...)
Arguments
object0 |
object of class |
object1 |
object of class |
x |
a |
digits |
a non-null value for digits specifies the minimum number of significant digits to be printed in values. |
... |
not used. |
Value
An object of class lrt_nlmm
is a list containing the following components:
statistic |
the value of the test statistic |
p.value |
the p-value of the test |
df |
either the degrees of freedom of a chi-squared test or the weights of a chi-bar-squared test |
V |
the matrix based on which the weights for the chi-bar-squared test are calculated |
alpha |
values of the shape parameter in the constrained object |
alpha.index |
index of the constrained shape parameter |
chibar |
logical flag. If |
Note
The function lrt_nlmm
is a wrapper for routines developed by Alessio Farcomeni.
Author(s)
Marco Geraci and Alessio Farcomeni
References
Geraci, M. and Farcomeni A. (2020). A family of linear mixed-effects models using the generalized Laplace distribution. Statistical Methods in Medical Research, 29(9), 2665-2682.