This repo contains the codes in R and Cpp to replicate the original proposal of Linkletter (2007) of a Bayesian Spatial Process Models for Social Network Analysis and our proposal using an estimation of the likelihood function based on Raftery et al. (2012). The reader interested in theoretical details can consult this document.
- Linkletter, C. D. (2007). Spatial process models for social network analysis. PhD thesis, Citeseer.
- Raftery, A. E., Niu, X., Hoff, P. D., and Yeung, K. Y. (2012). Fast inference for the latent space network model using a case-control approximate likelihood. Journal of Computational and Graphical Statistics, 21(4):901–919.