Page 1 of 1

Recode the variable values.

Posted: Sun Jul 01, 2012 12:33 pm
by Scrip
Dear all,

I've got a question about e-views.
I've got one variable that contains several values.
I've got the values 1, 2, 3, 4, 5.
Now I want to re-code them as following:
1=5
2=4
3=3
4=2
5=1

Re-coding one by one is not a option because the data-set is way to large.

I don't know how to do it, could somebody help me.


Thanks in advance.

Re: Recode the variable values.

Posted: Sun Jul 01, 2012 12:38 pm
by startz
Dear all,

I've got a question about e-views.
I've got one variable that contains several values.
I've got the values 1, 2, 3, 4, 5.
Now I want to re-code them as following:
1=5
2=4
3=3
4=2
5=1

Re-coding one by one is not a option because the data-set is way to large.

I don't know how to do it, could somebody help me.


Thanks in advance.

Code: Select all

series newseries = 6-oldseries