In this contribution we used a method of logistic regression analysis to estimate consumer's behaviour in case of buying a freely saleable drugs. We model consumer's shopping behaviour i.e. buy or don't buy through two predictor variables, especially we used variables income, age of the consumer. During the fitting the analytical model we implemented for estimation regression coefficients the maximal likelihood method.