Search found 12 matches
- Sat May 19, 2018 9:18 am
- Forum: Programming
- Topic: An introduction to EViews programming.
- Replies: 119
- Views: 652697
Writing a text message to the output file
Hi I want to write a text message to the output file : output(t) c:\out.txt text message ls x1 c x2 Could you please help? I tried to use logmsg and logsave to the above output file. However, only regression result is written to the output file, but not the text message. Thank you very much, Horward
- Tue Apr 18, 2017 10:56 am
- Forum: Estimation
- Topic: Seemingly Unrelated Regressions and robust covariance matrix
- Replies: 23
- Views: 26667
Re: Seemingly Unrelated Regressions and robust covariance matrix
yes. all I see in the help manual are running sur interactively. I have many equations and must write a program.
I am looking for a sample program in the manual illustrating the codes for specifying a simple two equation system of sur. thank you very much.
I am looking for a sample program in the manual illustrating the codes for specifying a simple two equation system of sur. thank you very much.
- Mon Apr 17, 2017 4:22 pm
- Forum: Estimation
- Topic: Seemingly Unrelated Regressions and robust covariance matrix
- Replies: 23
- Views: 26667
Re: Seemingly Unrelated Regressions and robust covariance matrix
Hi,
I am trying to estimate a two equation SUR system sys1 as follows
y c1 x1
z c2 x2
how do I specify the system and estimate sys1.sur? I can't find a sample program in the manual to run sur.
thank you so much, Howard
I am trying to estimate a two equation SUR system sys1 as follows
y c1 x1
z c2 x2
how do I specify the system and estimate sys1.sur? I can't find a sample program in the manual to run sur.
thank you so much, Howard
- Tue Jul 19, 2016 2:10 pm
- Forum: Data Manipulation
- Topic: how to change axis scale?
- Replies: 10
- Views: 17257
Re: how to change axis scale?
Hi, Gareth, thank you so much. My question wasn't written clearly. I have 24 observations. A default plot will label the horizontal axis as 1,2,3,...24. I want to change the label to 0,1,2,...23. How to specify the command? thanks, Howard
- Tue Jul 19, 2016 10:28 am
- Forum: Data Manipulation
- Topic: how to change axis scale?
- Replies: 10
- Views: 17257
Re: how to change axis value?
Hi, I want to do a plot with 24 observations. A default plot labels the horizontal axis as 2,4,6,...24 (obs.1-24). I want to change the horizontal axis to 1,3,5,...23 with the same 24 observations. How do I specify the command in my program? Thanks, Howard
- Wed Nov 11, 2015 11:14 am
- Forum: Data Manipulation
- Topic: PANEL DATA
- Replies: 19
- Views: 14177
Re: PANEL DATA
Ok, I will generate the new data series outside of eviews. Thanks a lot.
- Wed Nov 11, 2015 10:44 am
- Forum: Data Manipulation
- Topic: PANEL DATA
- Replies: 19
- Views: 14177
Re: PANEL DATA
I want to create 3 continuous series: y1 contains only x1 (when h1=1), y2 contains only x1 (when h1=2)...the sample size for each series will be 1/3 of whole sample
- Wed Nov 11, 2015 9:02 am
- Forum: Data Manipulation
- Topic: PANEL DATA
- Replies: 19
- Views: 14177
Re: PANEL DATA
Hi, I have the following series h1 x1 1 0.5 2 0.6 3 0.8 2 -0.5 1 -0.6 3 0.6 ... for each x, I want to create 3 series by: smpl @all if h1=1 y1=x1 smpl @all if h1=2 y2=x1 smpl @all if h1=3 y3=x1 However, y series are not continuous and can't run garch models: arch(1,1) y1 y1(-1) y2(-1) y3(-1) Could y...
- Sun Oct 18, 2015 10:20 am
- Forum: Programming
- Topic: defining multiple groups in nested loop with equality tests
- Replies: 5
- Views: 5554
two-sample equality tests
Hi, I have a series x and a classification variable 'hour' with value 1 or 2. How to write a program to test the difference between the mean, median and standard deviation for the two samples. I understand that two-sample tests can be done interactively but I have many series. How to write a program...
- Thu Jul 09, 2015 8:32 am
- Forum: Programming
- Topic: do freeze not working
- Replies: 8
- Views: 7927
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.
- Thu Jul 09, 2015 7:18 am
- Forum: Programming
- Topic: do freeze not working
- Replies: 8
- Views: 7927
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...
- Wed Jul 08, 2015 4:13 pm
- Forum: Programming
- Topic: do freeze not working
- Replies: 8
- Views: 7927
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 ...