Goodness-of-fit methods for STERGM CMLE and CMPLE fits
For now, these are simple wrappers around
plot.gofobject, respectively, to
run goodness-of-fit for formation and dissolution models
separately. This may change in the future.
1 2 3 4 5 6 7 8
Gives the title of the goodness-of-fit plots, which will have "Formation:" and "Dissolution:" prepended to it.
Additional arguments passed through to the respective functions in the
gof.stergm, an object of class
gof.stergm, which is
simply a list with two named elements:
dissolution, each of them a
gofobject returned by
For the others, nothing.
stergm, ergm, simulate.stergm, print.gofobject, plot.gofobject, summary.gofobject, mcmc.diagnostics.ergm
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
data(samplk) # Fit a transition from Time 1 to Time 2 samplk12 <- stergm(list(samplk1, samplk2), formation=~edges+mutual+transitiveties+cyclicalties, dissolution=~edges+mutual+transitiveties+cyclicalties, estimate="CMLE") samplk12.gof <- gof(samplk12) samplk12.gof summary(samplk12.gof) plot(samplk12.gof) plot(samplk12.gof, plotlogodds=TRUE)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.