exportin equation to excell

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

huseyinky
Posts: 18
Joined: Mon Apr 20, 2009 1:59 pm

exportin equation to excell

Postby huseyinky » Tue Apr 21, 2009 10:10 am

Dear all,

Is it possible to export several equations to excell?

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

Re: exportin equation to excell

Postby EViews Gareth » Tue Apr 21, 2009 10:17 am

You're going to have to explain what on earth you mean by that....

huseyinky
Posts: 18
Joined: Mon Apr 20, 2009 1:59 pm

Re: exportin equation to excell

Postby huseyinky » Tue Apr 21, 2009 10:32 am

For example I run several regression and save them as eq1, eq2 etc (about 100 equations) . I want to export thesee quation results to excell. Otherwise I have to open equations by one by and copy coefficietns and test statistics then paste on excell.

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

Re: exportin equation to excell

Postby EViews Gareth » Tue Apr 21, 2009 10:34 am

Best way is to write a program that loops through each of your equations, freezing the results into a table then writing the table to disk as a csv file.

huseyinky
Posts: 18
Joined: Mon Apr 20, 2009 1:59 pm

Re: exportin equation to excell

Postby huseyinky » Tue Apr 21, 2009 10:38 am

Thank you Gareth

Is there any example for this type of program? May be I can modify it.

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

Re: exportin equation to excell

Postby EViews Gareth » Tue Apr 21, 2009 10:49 am

Code: Select all

create u 100 series y=nrnd series x1=nrnd series x2=nrnd equation e1.ls y c x1 equation e2.ls y c x2 for %eqname e1 e2 freeze(mytab) {%eqname}.stats %name = "c:\temp\" + %eqname + "_table" mytab.save %name d mytab next

huseyinky
Posts: 18
Joined: Mon Apr 20, 2009 1:59 pm

Re: exportin equation to excell

Postby huseyinky » Tue Apr 21, 2009 11:06 am

Thank you very much Gareth


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests