Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Bonus: A More Complex Model" crushes #7

Open
czucca opened this issue Nov 15, 2021 · 0 comments
Open

"Bonus: A More Complex Model" crushes #7

czucca opened this issue Nov 15, 2021 · 0 comments

Comments

@czucca
Copy link

czucca commented Nov 15, 2021

Hi, I run the bonus model from your vignette two times

formula <- lending_2005 ~  mutual(0.8) + ttriads(0.8) + out2stars(0.8) + 
  sender("log_GDP") + netcov(net_exports_2005) + 
  receiver("log_GDP") + nodemix("G8", base = "No")
result <- gergm(formula,
              covariate_data = covariate_data_2005,
              number_of_networks_to_simulate = 100000,
              thin = 1/100,
              proposal_variance = 0.05,
              MCMC_burnin = 50000,
              seed = 456,
              convergence_tolerance = 0.8,
              target_accept_rate = 0.25)

it crushed my R session twice.

Session info:

> sessionInfo(package = NULL)
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=English_Netherlands.1252  LC_CTYPE=English_Netherlands.1252   
[3] LC_MONETARY=English_Netherlands.1252 LC_NUMERIC=C                        
[5] LC_TIME=English_Netherlands.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7              xaringanExtra_0.5.4     pillar_1.6.4           
 [4] DEoptimR_1.0-9          compiler_4.1.1          plyr_1.8.6             
 [7] SNA4DS_0.12.6           tools_4.1.1             digest_0.6.28          
[10] evaluate_0.14           memoise_2.0.0           lifecycle_1.0.1        
[13] tibble_3.1.5            rle_0.9.2               lattice_0.20-44        
[16] texreg_1.37.5           pkgconfig_2.0.3         rlang_0.4.11           
[19] Matrix_1.3-4            igraph_1.2.7            yaml_2.2.1             
[22] parallel_4.1.1          ergm_4.1.2              GERGM_0.13.0           
[25] xfun_0.27               fastmap_1.1.0           coda_0.19-4            
[28] httr_1.4.2              knitr_1.36              vctrs_0.3.8            
[31] trust_0.1-8             grid_4.1.1              robustbase_0.93-8      
[34] R6_2.5.1                fansi_0.5.0             xaringan_0.22          
[37] rmarkdown_2.11          purrr_0.3.4             magrittr_2.0.1         
[40] ellipsis_0.3.2          htmltools_0.5.2         MASS_7.3-54            
[43] utf8_1.2.2              intergraph_2.0-2        lpSolveAPI_5.5.2.0-17.7
[46] network_1.17.1          RcppParallel_5.1.4      cachem_1.0.6           
[49] statnet.common_4.5.0    crayon_1.4.2           
> 

Please note that GERGM is not attached and I am calling the function with GERGM::gergm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant