but the zip file contains couple of files including:
1- Example 1,2, 3 and so on...
2- GNP82.DAT
3-RRADJ.DAT
4-PROCS (a program file)
5-MAXSEEK (a program fiile)
6-EXDATA.TXT (another data file)
Question:
could you please on how to proceed step-by-step to make this program work?
I though the model program (MAXEEK) should have been on the same file
Please show me where to start , in which directory should we save all of these files?
I tried to save them all into the examples directory on my gauss but
Please help me understand how do i replicate this Hamilton Gauss program.
12 Answers
0
- Using your operating system (Windows, Mac, Linux), create a folder to use for this project.
- Place all the above files in this directory.
- Open the file you just created in the GAUSS Project Folders Window.
- Set your GAUSS working directory to this folder.
- Open the 'MAXSEEK' and 'PROCS' files in GAUSS, by double-clicking on it in the Project Folders Window.
- Check the bottom of the 'MAXSEEK' and 'PROCS' files to make sure there is not a strange character that looks like this SUB. If you see that, delete it.
- Run the 'MAXSEEK' file.
If you have any trouble with this, please post a very specific question (exactly what you did and exactly what error you found) and we will happily guide you.
0
Thanks a lot...
I id exactly what you said and there is only 3 errors messages
1 - G0008: Syntax error 'endp' [procs. line 153]
where i have this: endp;
2- G0155: Nested procedure definition [MAXEEK, line 182]
where i have this:
proc matpm(xth); @This proc defines the user's conventions for reading
elements of Markov transition probabilities from
parameter vector @
3 - Syntax error "proc matpm(xth)' [MAXEEK, line 182]
where it shows the same as above
0
The errors you are reporting sound exactly like the problem caused by the strange SUB character at the bottom of the file. Can you recheck the bottom of the MAXSEEK and PROCS files? It would be the very last line of the file. I also see that your last message says 'MAXEEK'. Did you type that incorrectly, or is the file you are running actually 'MAXEEK' instead of 'MAXSEEK'?
0
NO there is not 'SUB' at the bottom of both MAXSEEK and PROCS.
but i did not run the PROCS ... I did run only MAXSEEK
I type MAXEEK by error in the previous comment.
0
Dear all
You were right. I removed the "sub"
I am in the right directory, but still have G00290 and G0014 errors:
1 - G0290 : File not found '/Users/GDanon/Desktop/Hamilton89/optimum.lcg' [MAXSEEK, line 178]
2- G0014: File not found ' /Users/GDanon/hauss17/gaussplot/examples/optimum.ext' MAXSEEK, line 231]
Please help on the next step
Danon
0
SORRY line 1
it is
1 - G0290: Libray not found .....
0
This error means that you need to install the GAUSS add-on module, 'Optmum'. Contact Aptech to get 'Optmum'.
0
I understand that you are good at what you do.... Thanks
It works perfect.
But I don't see any graph of the recession probability .
Is there any possibility please.
Best
Danon
0
I modified and added the following to the end of Maxseek
//skis = seqa(nk,1,captst)~skis[.,1:ns];
plotXY(seqa(nk,1,captst),skis[.,1:ns]);
and got a plot. I'm presuming they are the probabilities you want plotted.
0
Unfortunately, i does not work. But thanks a lot for your time.
Best
0
What do you mean it does not work? Do you mean that you do not get a graph, or that it is plotting data that is different than what you are looking for?
0
Indeed I got completely different graph compare to the one i was expecting as in the paper. If i could, i would let you see the output
Your Answer
12 Answers
- Using your operating system (Windows, Mac, Linux), create a folder to use for this project.
- Place all the above files in this directory.
- Open the file you just created in the GAUSS Project Folders Window.
- Set your GAUSS working directory to this folder.
- Open the 'MAXSEEK' and 'PROCS' files in GAUSS, by double-clicking on it in the Project Folders Window.
- Check the bottom of the 'MAXSEEK' and 'PROCS' files to make sure there is not a strange character that looks like this SUB. If you see that, delete it.
- Run the 'MAXSEEK' file.
If you have any trouble with this, please post a very specific question (exactly what you did and exactly what error you found) and we will happily guide you.
Thanks a lot...
I id exactly what you said and there is only 3 errors messages
1 - G0008: Syntax error 'endp' [procs. line 153]
where i have this: endp;
2- G0155: Nested procedure definition [MAXEEK, line 182]
where i have this:
proc matpm(xth); @This proc defines the user's conventions for reading
elements of Markov transition probabilities from
parameter vector @
3 - Syntax error "proc matpm(xth)' [MAXEEK, line 182]
where it shows the same as above
The errors you are reporting sound exactly like the problem caused by the strange SUB character at the bottom of the file. Can you recheck the bottom of the MAXSEEK and PROCS files? It would be the very last line of the file. I also see that your last message says 'MAXEEK'. Did you type that incorrectly, or is the file you are running actually 'MAXEEK' instead of 'MAXSEEK'?
NO there is not 'SUB' at the bottom of both MAXSEEK and PROCS.
but i did not run the PROCS ... I did run only MAXSEEK
I type MAXEEK by error in the previous comment.
Dear all
You were right. I removed the "sub"
I am in the right directory, but still have G00290 and G0014 errors:
1 - G0290 : File not found '/Users/GDanon/Desktop/Hamilton89/optimum.lcg' [MAXSEEK, line 178]
2- G0014: File not found ' /Users/GDanon/hauss17/gaussplot/examples/optimum.ext' MAXSEEK, line 231]
Please help on the next step
Danon
SORRY line 1
it is
1 - G0290: Libray not found .....
This error means that you need to install the GAUSS add-on module, 'Optmum'. Contact Aptech to get 'Optmum'.
I understand that you are good at what you do.... Thanks
It works perfect.
But I don't see any graph of the recession probability .
Is there any possibility please.
Best
Danon
I modified and added the following to the end of Maxseek
//skis = seqa(nk,1,captst)~skis[.,1:ns];
plotXY(seqa(nk,1,captst),skis[.,1:ns]);
and got a plot. I'm presuming they are the probabilities you want plotted.
Unfortunately, i does not work. But thanks a lot for your time.
Best
What do you mean it does not work? Do you mean that you do not get a graph, or that it is plotting data that is different than what you are looking for?
Indeed I got completely different graph compare to the one i was expecting as in the paper. If i could, i would let you see the output