anova.genloglin method function offers second-order Rao-Scott and bootstrap adjusted model comparison and goodness-of-fit (Pearson and LRT) statistics appropriate for evaluating models estimated by the genloglin function.## S3 method for class 'genloglin':
anova(object, model.HA = "saturated", type = "all", gof = TRUE,
print.status = TRUE, ...)'genloglin' produced by the genloglin function."homogeneous" (the homogeneous association model), ""boot" specifies a bootstrapping procedure; "rs2" specifies a Rao-Scott second-order adjustment; "all" spemodel.HA = "saturated", model comparison statistics and goodness-of-fit statistics are identical, so only one original.arg and test.statistics.
original.arg is a list containing the following objects:
model:genloglin function.}model.HA:model.HA argument.}gof:gof argument.}rs.resultslrt.gof.rs:lrt:lrt.gof:B.discard:p.chisq.boot:p.lrt.boot:p.lrt.gof.boot:df:p.value:df:p.value:df:p.value:df:p.value:boot = TRUE in the call to the genloglin function.## For examples see help(genloglin).Run the code above in your browser using DataLab