Hi, user of EV 8.1. Please, advice me how to produce panel unit root test results under option 'sum'. I do not want tables to be shown in workfile while processing script. I tried 'do freeze' but it does not work.
Best regards
do freeze not working
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: do freeze not working
Could you provide more details? What exact is the command you're using?
Re: do freeze not working
Dear Gareth, thank you for interest. I figured it out. The problem was mode = overwrite. I used the same var names in a loop.
Can't find output file
Hi,
I am trying to write the output to a file using a batch program. My problems include:
1. I can't find the output file on my computer;
2. Each time the loop runs, the output will show up on the screen, but not to the file
I tried output(t) and got the same result. Could you please help? thanks a lot
load c:\users\documents\research\outrt.wf1
output(r) c:\users\documents\research\out.rtf
for !i=1 to 5
smpl @all if x{!i} > -99
stats x{!i}
next
I am trying to write the output to a file using a batch program. My problems include:
1. I can't find the output file on my computer;
2. Each time the loop runs, the output will show up on the screen, but not to the file
I tried output(t) and got the same result. Could you please help? thanks a lot
load c:\users\documents\research\outrt.wf1
output(r) c:\users\documents\research\out.rtf
for !i=1 to 5
smpl @all if x{!i} > -99
stats x{!i}
next
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: do freeze not working
stats(p) x{!i}
How to extract the mean
Hi
I want to save the mean of x by hour and put it into a series for plot, the print statement works fine, but the value of @mean saved is incorrect. Could you please help? Thanks a lot.
for !i=1 to 5
smpl @all if x{!i} > -99
print x{!i}.statby(min,max,mean,med) hour
smpl 1 24
series y{!i}=@mean({!i})
graph(p) y{!I}.bar
next
I want to save the mean of x by hour and put it into a series for plot, the print statement works fine, but the value of @mean saved is incorrect. Could you please help? Thanks a lot.
for !i=1 to 5
smpl @all if x{!i} > -99
print x{!i}.statby(min,max,mean,med) hour
smpl 1 24
series y{!i}=@mean({!i})
graph(p) y{!I}.bar
next
Last edited by COM446 on Thu Jul 09, 2015 7:53 am, edited 1 time in total.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: do freeze not working
Not entirely sure that this is what you want, but
might do the trick.
Code: Select all
series z = @meansby(x, @hour)Re: do freeze not working
Thanks a lot for your reply. Attached is the output from x.statby. I want to save the 'mean' into a series for plot. However, @mean or @meansby(x, @hour) cannot retrieve the 'mean' below. I couldn't find x.statby from the manual. Any suggestions? Thank you.
Last edited by COM446 on Thu Jul 09, 2015 4:50 pm, edited 1 time in total.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: do freeze not working
If all you want is the plot, then you can do that directly
statby is a series view and is documented as part of the series object.
Code: Select all
y.bar(contract=mean) within(hour)Who is online
Users browsing this forum: No registered users and 1 guest
