0
$\begingroup$

I have data about customers transactions contains: ratings of customer $r_{ci}$ to service $s_m$ which has quality $q_m$. Quality is assumed to be a real value from [0, 1]. Rating is discrete values in $\{1, 2,3,4,5\}$.

My question is: how can i estimate the rating of this customer $c_i$ with a product of quality $q_k$.

$\endgroup$
3
  • 2
    $\begingroup$ Have you thought about an ordered probit or logit? $\endgroup$
    – dimitriy
    Jan 27, 2015 at 2:00
  • $\begingroup$ Thx. I am naive to application of probability and statistics. I want to discover the rating behavior a customer. Is that your recommended methods that i should invest. $\endgroup$ Jan 27, 2015 at 2:17
  • $\begingroup$ Take a look at Greene and Hensher's survey. They also have a book on these topics which I have not seen. These models can be pretty tricky to interpret, so ask questions here. $\endgroup$
    – dimitriy
    Jan 27, 2015 at 2:24

1 Answer 1

3
$\begingroup$

I think the most appropriate approach is to use an ordered probit or ordered logit model. This can accomodate your continuous measure of quality, and also can include other characteristics of your customers, such as age, number of purchases, amount purchased, time spent as a customer, gender, etc. I'm going to assume your data is a random selection of customers, or the full population of all customers. If it is neither (let's say it is a snowball sample or some other convenience sample), these results will likely be biased, unless you have another way to adjust them based on other data you have.

The basics of an ordered logit model are similar to a regular binary logit. Rather than having a single intercept or threshold (the constant in a logit model), you have multiple thresholds or cutpoints that represent the cut off between each level of your ordinal scale. Your output has a single coefficient for each independent variable, which you interpret as the change in log odds (or odds, if exponentiated) of responding in a higher ordinal category associated with a unit increase in your independent variable. Marginal effects can also be estimated which provide the probability that a customer responds in a given level. This is a very useful interpretation.

Ordinal logit and probit models assume proportionality, meaning that the relationship between the independent variables and the change from any two adjacent response categories is proportionally the same. This can (and should) be tested. This can be done using the Brant test of parallel regression assumption. Take a look here for an implementation in Stata and SAS. If your results show that proportionality does not hold, you can run a multinomial logit, where the categories are assumed not to be ordered, or a generalized ordinal logit, which allows the effect on each level to be different though still ordered. See here for more details. It can be implemented in Stata, though I don't know about other programs.

While conceptually an ordinal logit or probit works like a binary logit and probit, I do recommend reading up on the model before running the output, because it is important that you conceptually understand the latent variable interpretation to interpret the output.

$\endgroup$
2
  • $\begingroup$ A nice answer, but I have some nitpicking. The multinomial logit does throw away the information about the ordering and is considerably harder to interpret. The GOL can sometimes predict negative probabilities or ones that don't respect the outcome ordinality, and lacks a latent variable interpretation. You might also add the stereotype logistic to potential candidates, though I don't know of a fully satisfactory alternative for when proportionality is violated, which is fairly often, especially with model misspecification. $\endgroup$
    – dimitriy
    Jan 27, 2015 at 3:05
  • $\begingroup$ Good points, all of them. To me, this is where hypothesis testing must be balanced with reality - kind of like when you eyeball a histogram and it looks normal enough even if a test for normality is violated. If the proportionality assumption is drastically violated, then you have to think hard about the next step; but if the violation doesn't seem that bad in magnitude and in your context, then I may not have a problem going forward. You can always run multiple models and see if your interpretation is consistent. Or you can recategorize the levels. That, of course, loses information as well. $\endgroup$ Jan 27, 2015 at 3:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.