Skip to content

GOF for CMPLE method. Available soon? #108

Answered by krivit
EffeBi-CH asked this question in Q&A
Discussion options

You must be logged in to vote

I don't have time to test this on the CRAN version, but the current version in master seems to work:

library(tergm)
data(samplk)
samplk12 <- tergm(list(samplk1, samplk2) ~ 
  Form(~edges+mutual+transitiveties+cyclicalties) +
  Diss(~edges+mutual+transitiveties+cyclicalties),
  estimate="CMPLE")
samplk12.gof <- gof(samplk12)
print(samplk12.gof)
#> Starting maximum pseudolikelihood estimation (MPLE):
#> Obtaining the responsible dyads.
#> Evaluating the predictor and response matrix.
#> Maximizing the pseudolikelihood.
#> Finished MPLE.
#> Evaluating log-likelihood at the estimate.
#> 
#> Goodness-of-fit for in-degree 
#> 
#>           obs min mean max MC p-value
#> idegree0    0   0 0.61  …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by EffeBi-CH
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants