Page 1 of 1

Reshaping Data

Posted: Wed Nov 11, 2015 11:25 pm
by isaiah
Dear All,

Can someone help me on how to reshape the data that I have attached please.

Isaiah

Re: Reshaping Data

Posted: Wed Nov 11, 2015 11:31 pm
by EViews Gareth
That's a very generic question. You're going to have to give a lot more detail before anyone can answer sensibly.

Re: Reshaping Data

Posted: Mon Nov 16, 2015 11:25 pm
by isaiah
Dear Gareth

Sorry that the question was not specific. I would like to reshape the data to be a panel data format. For example:
Bank Country Year Var1 Var2 Var2
HSBC UK 2015 0.2 0.17 0.16
HSBC UK 2014 0.7 0.21 0.19
BARCLAYS US 2015 0.8 0.34 0.41
BARCLAYS US 2014 0.71 0.24 0.51

Hope this will help.

Thanking you in anticipation.

Isaiah

Re: Reshaping Data

Posted: Tue Nov 17, 2015 7:17 am
by EViews Gareth
Where is your year data?

Re: Reshaping Data

Posted: Tue Nov 17, 2015 9:26 am
by isaiah
Dear Gareth

I had attached the data on my previous email. Nevertheless, it is attached herein. I would like to reshape the data to be a panel data format. For example:
Bank Country Year Var1 Var2 Var2
HSBC UK 2015 0.2 0.17 0.16
HSBC UK 2014 0.7 0.21 0.19
BARCLAYS US 2015 0.8 0.34 0.41
BARCLAYS US 2014 0.71 0.24 0.51


Thanking you in anticipation.

Isaiah

Re: Reshaping Data

Posted: Tue Nov 17, 2015 9:36 am
by startz
When I drag-and-dropped the file onto EViews 9, it came up as a bank by year panel. What is it different that you want?

Re: Reshaping Data

Posted: Thu Nov 19, 2015 2:29 am
by isaiah
Dear Startz

I am using Eviews 6 and it does not come as a panel.
isaiah

Re: Reshaping Data

Posted: Thu Nov 19, 2015 7:21 am
by startz
An EViews 6 question is probably going to need the EViews staff for an answer.

Re: Reshaping Data

Posted: Thu Nov 19, 2015 7:39 am
by EViews Gareth
Could you post the workfile that occurs when you open the file in Excel?

Re: Reshaping Data

Posted: Fri Nov 20, 2015 2:13 am
by isaiah
Dear Gareth,

I have attached an excel file that I trying to import to Eviews. I have also tried Eviews 8 students version.

Regards,
Isaiah

Re: Reshaping Data

Posted: Fri Nov 20, 2015 6:39 am
by EViews Gareth
Yes, but we want the EViews file, not the Excel file.

Re: Reshaping Data

Posted: Sun Nov 22, 2015 10:15 am
by isaiah
Dear Gareth,
I have attached a short version of data as Eviews 8 would not let safe the entire data file.