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
Ordered dependent variable creation
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Ordered dependent variable creation
Obviously hard to say without knowing what form your data is in, but something like:
Will do what you want.
You might also be able to use a value map.
Code: Select all
smpl if rating="C"
series ordered = 1
smpl if rating = "C/B"
ordered = 2
smpl if rating = "B"
ordered = 3
You might also be able to use a value map.
Re: Ordered dependent variable creation
Thanks so much, it worked!
Re: Ordered dependent variable creation
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
Thanks, best!
Nils
Who is online
Users browsing this forum: No registered users and 2 guests
