Sorry Mr. Gareth, I don't quite understand what you mean. Could you please be more specific?
Thank you very much!
Search found 9 matches
- Sat Mar 06, 2021 6:39 am
- Forum: Programming
- Topic: Illegal date
- Replies: 6
- Views: 6834
- Fri Mar 05, 2021 3:43 pm
- Forum: Programming
- Topic: Illegal date
- Replies: 6
- Views: 6834
Re: Illegal date
Dear Gareth, I have posted two Excel files, agriculture data are calculated by the previous code. When I tried to run it again, the code works, but when I wanted to run a similar code(attached below) to calculate coal data, the same Eviews notice came out again. I'm using Eviews 10(I'm sorry I forgo...
- Fri Mar 05, 2021 2:04 am
- Forum: Programming
- Topic: Illegal date
- Replies: 6
- Views: 6834
Illegal date
Dear friends, I encountered a problem when I tried to run a program ( I wrote this code because I want to cut a whole time series into several samples according to the date, for example, the data from 2001/1/1-2001/1/31 is a sample, the data from 2001/2/1-2001/2/28 is another sample, and then do reg...
- Mon Jan 25, 2021 7:37 pm
- Forum: Programming
- Topic: How to build a matrix to store coefficients?
- Replies: 2
- Views: 4063
Re: How to build a matrix to store coefficients?
Hello, There's really only two changes needed fix your existing code. First, you don't need to be creating the coefs matrix on every iteration of the loops, that should be done just once before the loops. The number of columns in the matrix can be directly calculated, i.e. 12 * 19 = 228. Second, wh...
- Mon Jan 25, 2021 7:35 pm
- Forum: Programming
- Topic: How to create subsamples by date in batch?
- Replies: 5
- Views: 4466
Re: How to create subsamples by date in batch?
Hello, You can include a series statement in the for loop to create the series, but the details will depend on how you want to name and optionally initialize the series (???). for !i=1 to 240 smpl 2000m1+!i-1 2000m1+!i-1 series ??? = ??? next Thank for your answer very much, Matt. I have created co...
- Mon Jan 25, 2021 5:05 am
- Forum: Programming
- Topic: How to build a matrix to store coefficients?
- Replies: 2
- Views: 4063
How to build a matrix to store coefficients?
Dear friends, I have regressed 228 regressions now, and I want to build a matrix to store the coefficients and here is my code(unsuccessful to build the matrix) . wfopen C:\Users\dell\Desktop\data.xls for !i= 1 to 12 'month for !j=2001 to 2019 'year smpl {!j}m{!i} {!j}m{!i} genr a{!j}{!i} =ri genr b...
- Fri Jan 22, 2021 8:59 pm
- Forum: Programming
- Topic: How to create subsamples by date in batch?
- Replies: 5
- Views: 4466
Re: How to create subsamples by date in batch?
for !i=1 to 240 smpl 2000m1+!i-1 2000m1+!i-1 next Sorry to disturb you again, I also want to know how to generate a corresponding series after generating subsamples? For example, after generating 240 stock price subsamples, 240 new stock price series are also generated. Thank you again for your help!
- Fri Jan 22, 2021 2:50 pm
- Forum: Programming
- Topic: How to create subsamples by date in batch?
- Replies: 5
- Views: 4466
Re: How to create subsamples by date in batch?
Thank you, sir. You've really helped me a lot and I'll try.
- Fri Jan 22, 2021 7:55 am
- Forum: Programming
- Topic: How to create subsamples by date in batch?
- Replies: 5
- Views: 4466
How to create subsamples by date in batch?
Dear friends, Now I have a time series contains daily stock price data from 2000/1/1 to 2020/12/31, what I want is to create 240 monthly subsamples(for example, use the daily data of 2000m01 to create the first monthly subsample, use the daily data of 2000m02 to create the second monthly subsample a...
