EXPORT REGRESSION TO EXCEL
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
EXPORT REGRESSION TO EXCEL
I want to export all my regression tables to excel.
I tried the function write, WRITE(T=XLS,T,B2,s=data) e:\these\data\these.xls
However, it did not work.
Which function should i use to do it ?
I tried the function write, WRITE(T=XLS,T,B2,s=data) e:\these\data\these.xls
However, it did not work.
Which function should i use to do it ?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: EXPORT REGRESSION TO EXCEL
What exactly do you mean by "all my regression tables"?
Re: EXPORT REGRESSION TO EXCEL
I did 4 OLS regression on my diferent portfolios.
I want to export automaticaly the results from the OLS regression into excel in order to present my results on word afterwards.
I want to export automaticaly the results from the OLS regression into excel in order to present my results on word afterwards.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: EXPORT REGRESSION TO EXCEL
If you only have 4, I'd say just copy and paste.
Programmatically, if you want to get the exact same output as in each regression, then you'll have to freeze each equation into a table, then use table.save to save it to disk.
You might be better off looking at the eqtabs add-in which takes all the information from all the regressions in your workfile, summarises it into one table, and then saves that to an Excel file.
Programmatically, if you want to get the exact same output as in each regression, then you'll have to freeze each equation into a table, then use table.save to save it to disk.
You might be better off looking at the eqtabs add-in which takes all the information from all the regressions in your workfile, summarises it into one table, and then saves that to an Excel file.
Re: EXPORT REGRESSION TO EXCEL
In fact i have 4 regression for each model i run.
I am analyzing liquidity timing, market timing and volatility timing on different dates.
So i have around 30 regression in total.
If i do understand what you said, i should create a table for each regression in order to extract it ?
I am analyzing liquidity timing, market timing and volatility timing on different dates.
So i have around 30 regression in total.
If i do understand what you said, i should create a table for each regression in order to extract it ?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: EXPORT REGRESSION TO EXCEL
If you want the entire regression output, yes.
Another way to do it would be to create a spool object, put all the equations into the spool, then save the spool to disk as an RTF file, and bypass Excel all together.
Another way to do it would be to create a spool object, put all the equations into the spool, then save the spool to disk as an RTF file, and bypass Excel all together.
Re: EXPORT REGRESSION TO EXCEL
How do i create a table to extract it afterwards on a excel file or compatible file ?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
EXPORT REGRESSION TO EXCEL
Code: Select all
freeze(mytab) eq.stats
Re: EXPORT REGRESSION TO EXCEL
I tried this without any success
'freeze[mytab] eq.stats
'tab1.save(t=xls) e:\these\data\essai1.xls
'freeze[mytab] eq.stats
'tab1.save(t=xls) e:\these\data\essai1.xls
Re: EXPORT REGRESSION TO EXCEL
I tried this without any success
'freeze[mytab] eq.stats
'tab1.save(t=xls) e:\these\data\essai1.xls
What should i do ?
'freeze[mytab] eq.stats
'tab1.save(t=xls) e:\these\data\essai1.xls
What should i do ?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: EXPORT REGRESSION TO EXCEL
You need parenthesis, not brackets.
Re: EXPORT REGRESSION TO EXCEL
It said tab1 is not defined 
Re: EXPORT REGRESSION TO EXCEL
i did it wrong the first time, but it's still saying SAVE IS NOT A VALID VIEW
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: EXPORT REGRESSION TO EXCEL
What is the exact command(s) you're using?
Re: EXPORT REGRESSION TO EXCEL
freeze gmm1
gmm1.save (t=xls) gmm
gmm1.save (t=xls) gmm
Who is online
Users browsing this forum: No registered users and 2 guests
