Implementing the Yang and Allenby (2003) model, in R to prove the spatial and demographic dependencies between consumers using Gibbs within Metropolis-Hastings algorithm.
All the outputs can be seen here: https://drive.google.com/drive/folders/1GMaQB7Nob4zyUBFxT4OIfplpAViP8OX-?usp=sharing