Description Usage Arguments Value Author(s) See Also Examples
An analysis of deviance and a likelihood-ratio test with p-value. The p-value is greatly exagerated due to selection.
1 2 |
object |
Output from the bestglm function |
SubsetsQ |
List best subsets of each size |
... |
optional arguments |
No value. Output to terminal only.
A.I. McLeod and C. Xu
1 2 3 4 5 6 |
Loading required package: leaps
Fitting algorithm: BIC-leaps
Best Model:
df deviance
Null Model 25 4.436699
Full Model 31 31.000000
likelihood-ratio test - GLM
data: H0: Null Model vs. H1: Best Fit BIC-leaps
X = 26.563, df = 6, p-value = 0.0001748
Note: in this special case with BICq with t =1only fitted model is returned.
With t=1, full model is fitted.
Fitting algorithm: BICq(q = 1)-lm
Best Model:
df deviance
Null Model 456 842.0305
Full Model 516 1009.1015
likelihood-ratio test - GLM
data: H0: Null Model vs. H1: Best Fit BICq(q = 1)-lm
X = 167.07, df = 60, p-value = 4.897e-12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.