This repository contains code to implement Minhas, Hoff, and Ward's AMEN model in R and stan, via rstan.
It contains the following files:
00_fixed_effect.stan
: a basic fixed effects model in Stan.01_create_dyadic_data.R
: R01_srm_stan.stan
: A basic social relations model in Stan.02_srm_stan_dyad.stan
: A basic social relations model in Stan, with dyad effects.03_amen_stan.stan
: An implementation of the Additive and Multiplicative Effects Network model in Stan.amen_model_writeup.Rmd
: A.Rmarkdown
writeup, explaining what's going on.amen_model_writeup.pdf
: A.pdf
of said writeup.