Last chance! 50% off unlimited learning
Sale ends in
## S3 method for class 'slrm':
anova(object, ..., test = NULL)
"slrm"
."Chisq"
, "F"
or "Cp"
, indicating the
reference distribution that should be used to compute
$p$-values."anova"
, inheriting from
class "data.frame"
, representing the analysis of deviance table.anova
for fitted spatial logistic
regression models (objects of class "slrm"
, usually obtained
from the function slrm
). The output shows the deviance differences (i.e. 2 times log
likelihood ratio), the difference in degrees of freedom, and (if
test="Chi"
) the two-sided $p$-values for the chi-squared tests.
Their interpretation is very similar to that
in anova.glm
.
slrm
X <- rpoispp(42)
fit0 <- slrm(X ~ 1)
fit1 <- slrm(X ~ x+y)
anova(fit0, fit1, test="Chi")
Run the code above in your browser using DataLab