We propose a Simulated Maximum Likelihood estimation method for the random coefficient logit model using aggregate data, accounting for heterogeneity and endogeneity. Our method allows for two sources of randomness in observed market shares - unobserved product characteristics and sampling...