Title: A general heterogeneous binary Markov model with an application to shopping behaviour