Hi:
I would like to reduce the number of ordered categories in my dependent variable. How do I do that with Eviews13?
recoding/modifying a variable
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: recoding/modifying a variable
How would you like to do it?
Re: recoding/modifying a variable
My dependent variable has 11 categories (0-10). I would like to combine categories 0-3, 4-6, and 7-10
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3796
- Joined: Wed Sep 17, 2008 2:25 pm
Re: recoding/modifying a variable
My dependent variable has 11 categories (0-10). I would like to combine categories 0-3, 4-6, and 7-10
Code: Select all
series new = @recode(@inlist(old, "0 1 2 3"),1,NA)
new = @recode(@inlist(old, "4 5 6"),2, new)
new = @recode(@inlist(old, "7 8 9 10"),3, new)Re: recoding/modifying a variable
Thank you for your help. Will try it and will let you know
Who is online
Users browsing this forum: No registered users and 2 guests
