Take the 2-minute tour ×
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

I have a dependent variable, credit rating, and it is a limited dependent variable. Independent variables are profitability, firm size, stock return, etc.

I was advised to use Stata and run regression with fixed effects and then predict yhat in order to obtain a target rating that a certain firm wants to target in this way: xtreg dependent independent, fe with regression equation below:

Credit rating = $\alpha + \beta_1$R&D $+\beta_2$Size $+\beta_3$Selling Expense $+\beta_4$Market to Book $+\beta_5$Profitability $+\beta_6$Operating Risk $+\beta_7$Tangibility + error term

Then run predict yhat in order to get a proxy for the credit rating a certain firm wants to target.

The dependent variable credit rating is limited, so is the panel regression for the model: xtreg, fe oK, or should an ordered probit model be used instead? (In other studies with credit ratings they use ordered probit.)

And if a probit model should be used, what command is the corresponding command predict yhat (in the case of xtreg fe) for the ordered probit model? Or in other words, how do I get the rating that a firm wants to target (from the panel regression with xtreg, fe and then predict yhat for the fitted values) from the ordered probit model?

share|improve this question
Unless you focus your question a bit more on the statistical differences between linear fixed effects and ordered probit this question is likely to be flagged as off-topic. Otherwise, since the main part of it is about the corresponding Stata commands StackOverflow might be the better platform to ask your question on. –  Andy Jul 5 at 20:47

1 Answer 1

up vote 1 down vote accepted

If linear fixed effects or order probit are the only two available options for you then the linear fixed effects model is the better choice. Unless you have very strong reasons to believe that there is no unobserved heterogeneity among your firms it is important to account for these unobserved fixed effects as otherwise you are unlikely to obtain consistent estimates. Generally there is a lot of unobserved time-invariant heterogeneity among firms so rejecting fixed effects is unlikely.

However, I do believe that there are other options available to you like the fixed effects ordered logit estimator by Baetschmann et al. (2013). Another paper which might be of interest to you is Riedl and Geishecker (2012). They discuss conditions under which it is better to choose

  • linear fixed effects
  • binary re-coding schemes (they discuss several available alternatives)
  • the Baetschmann et al. (2013) estimator

and which of those alternatives have good properties in small and large samples.

In terms of predictions in Stata you can still use the predict command after oprobit (see the Stata manual on oprobit postestimation).

share|improve this answer
Andy I love you man !!! I've never had econometrics and I never wanna have it ^. I have read that same manual on predict postestimation and it seems to me it only gives probabilities or percentages/decimals whereas with the "predict yhat" with linear fixed effects I am getting integers, hence my stupid question was which command can get roughly the same output. –  ivobaren Jul 5 at 23:42
Ah yes, I forgot about that. Whilst the default predict after xtreg is linear prediction (predict yhat, xb) you need to specify this for nonlinear models. So after the oprobit command you can use predict yhat, xb. If you found this answer useful you can accept it as answer to your question by ticking the check mark underneath the voting buttons :-) –  Andy Jul 5 at 23:58
Your great answers saved me vast amount of efforts in reading econometrics, statistical literature and stata manuals which I wouldn't understand .. :) –  ivobaren Jul 6 at 2:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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