Got any suggestions on exporting results into excel, just interested in coefficients.
Thanks Greg
multiple dependent variables
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
multiple dependent variables
Put them into a matrix, then save the matrix to disk as a csv file. The programming guide has examples.
-
gregjackson05
- Posts: 12
- Joined: Mon Apr 25, 2011 4:33 pm
Re: multiple dependent variables
Hi Gareth,
Haven't quite cracked that exporting program.
Is there no way to export mass equation results with the eview tabs. I thought OPEN - AS MODEL might be an option???
You will have worked out I'm no computer programmer and unless I read a specific example relating to my problem I struggle.
Any hints appreciated
Greg
Haven't quite cracked that exporting program.
Is there no way to export mass equation results with the eview tabs. I thought OPEN - AS MODEL might be an option???
You will have worked out I'm no computer programmer and unless I read a specific example relating to my problem I struggle.
Any hints appreciated
Greg
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: multiple dependent variables
As I said above, put them into a matrix. Then write the matrix to disk as a csv or xls. Something like:
Code: Select all
matrix(4,8) coefs '4 = no. of rows (equal to number of regressors), 8=number of dependent variables
!colcounter = 1 'this will keep track of how many columns of the matrix we've filled
for %dep dep1 dep2 dep3 dep4
equation eq{%dep}.ls {%dep} c x1 x2 x3
colplace(coefs, eq{%dep}.@coefs, !colcounter)
!colcounter = !colcounter + 1
next
for %dep dep100 dep101 dep102 dep103
equation eq{%dep}.ls {%dep} c x1 x2 x3
colplace(coefs, eq{%dep}.@coefs, !colcounter)
!colcounter = !colcounter + 1
next
coefs.write(t=xls) "c:\temp\myfile.xls"
-
gregjackson05
- Posts: 12
- Joined: Mon Apr 25, 2011 4:33 pm
Re: multiple dependent variables
THANKYOU
Who is online
Users browsing this forum: No registered users and 2 guests
