Recode the variable values.

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

Scrip
Posts: 1
Joined: Sun Jul 01, 2012 12:22 pm

Recode the variable values.

Postby Scrip » Sun Jul 01, 2012 12:33 pm

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.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Recode the variable values.

Postby startz » Sun Jul 01, 2012 12:38 pm

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


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest