Using hidden Markov models to model spatial dependence in a network | Synapse