sorting data

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

sorting data

Postby EviewsUser1 » Tue Mar 17, 2015 9:40 am

I have two data series in an unstructred work file, 712 obs long (attached). I would like to sort by marg_tax and I want the weights corresponding to each marg_tax to be sorted as well. If I were using EXCEL I would highlight both columns of data and sort by the column containing marg_tax. What are the commands to do this?
Attachments
test_sort.wf1
(17.35 KiB) Downloaded 254 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: sorting data

Postby EViews Gareth » Tue Mar 17, 2015 10:04 am

Code: Select all

sort marg_tax


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest