thank you, but how can use this command exactly?
lets assume, the initial variable is called X and I want to generate a new variable Z in order to obtain only values with 0 and 1. would then the command be
genr z = @recode (X=2, 1, 0)
?
Search found 2 matches
- Tue Nov 16, 2010 1:56 pm
- Forum: Data Manipulation
- Topic: Manipulating sample
- Replies: 3
- Views: 3305
- Tue Nov 16, 2010 2:56 am
- Forum: Data Manipulation
- Topic: Manipulating sample
- Replies: 3
- Views: 3305
Manipulating sample
Hello,
I have a sample in which any cell can obtain values between 1 and 4. I would like to change the values 1,3 and 4 into 0 and the value 2 into 1. Can anyone please give me a hint? I use Eviews 6.0
Thanks!
I have a sample in which any cell can obtain values between 1 and 4. I would like to change the values 1,3 and 4 into 0 and the value 2 into 1. Can anyone please give me a hint? I use Eviews 6.0
Thanks!
