Description Usage Arguments Value Note Author(s) References See Also Examples
This function computes the asymptotic likelihood ratio test of two models by comparing twice the different in the log-likelihoods of the models with the Chi-squared distribution with degrees of freedom equal to the difference in the degrees of freedom of the models.
1 |
x1 |
A fitted model as an object that logLik will work for. |
x2 |
A fitted model as an object that logLik will work for. |
boundary |
A flag that reports whether a boundary correction should be made. |
out.tab |
A data frame that summarizes the test. |
jll.diff |
The difference between the log-likelihoods. |
df.diff |
The difference between the degrees of freedom. |
p.value |
The p-value of the statistical test of the null hypothesis that there is no difference between the fit of the models. |
The function does not provide any checks for nesting, data equivalence, etc.
Andrew Robinson and Joe Hilbe.
Hilbe, J.M., and Robinson, A.P. 2013. Methods of Statistical Model Estimation. Chapman & Hall / CRC.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.