Page 1 of 1

Ordered dependent variable creation

Posted: Tue Jun 22, 2010 12:03 pm
by Joanne
Hi all
I am running an ordered probit model with panel data and my dependent variable is the credit ratings of banks. I know that they need to be in integer form, eg 1, 2, 3 which would correspond with C, C/B and B for example but I am not sure how to create that series. Can anyone help? Thanks

Re: Ordered dependent variable creation

Posted: Tue Jun 22, 2010 12:12 pm
by EViews Gareth
Obviously hard to say without knowing what form your data is in, but something like:

Code: Select all

smpl if rating="C" series ordered = 1 smpl if rating = "C/B" ordered = 2 smpl if rating = "B" ordered = 3
Will do what you want.

You might also be able to use a value map.

Re: Ordered dependent variable creation

Posted: Wed Jun 23, 2010 4:03 am
by Joanne
Thanks so much, it worked!

Re: Ordered dependent variable creation

Posted: Mon Dec 13, 2010 5:34 am
by bg2010
Dear Joanne, I hav just seen your post, since you are trying to do the same thing as I want. How is it actually possible to do a panel estimation AND an ordered dependent variable regression at the same time. In the estimation dialog I have to decide between either one of them. Hence, if I do the orderered dep. variable thing, I can't choose fixed effects anymore (which I want!)
Thanks, best!
Nils