A Model of Marketing Mix, Brand Switching, and Competition