G0014 : File not found 'D:\gauss16\examples\ ectj.dec' [acdestimation.proc, line 2]

HI

I set the workdirectory in e:/gauss/acd, and run a code appearing a error "G0014 : File not found 'D:\gauss16\examples\ ectj.dec' [acdestimation.proc, line 2]".  Based on error massage, I put the  ectj.dec files in D:\gauss16\examples\,  and still appearing the same erro, why?

library cml, pgraph;
#include ectj.dec;
#include my_functions.src;
#include ACD_estimation.src;

omega=0.5;
alpha=0.2;
_beta=0.7;
T=10000;

y=acd_simu(omega,alpha,_beta,T);
nr=rows(y);
/********************************************************************************/
cmlset;
_cml_algorithm = 4;
_cml_linesearch = 2;
_cml_covpar = 3;
_cml_MaxIters = 200;
par= 0.10|0.05|0.90;
var=vcx(y);
P=1;
q=1;

model= "EACD";
exo = 0;
noexog =0;
{parameter,f0,g,cov,retcode1}=CMLprt(cml(y,0,&li_acd,par));
cls;
"";
"";
"===============================================================================";
" Estimated Results ";
"===============================================================================";
format /ld 16,3;
print "omega|alpha|_beata" parameter[1:3];
"";
/*-------------------------------------------------------------------------------*/
proc(1)=acd_simu(omega,alpha,_beta,T);
local e_t, x_t, mu_t, x_mean, nobs;
local x, mu;
nobs=round((T)^(1/2));
e_t=rndgam(T+nobs,1,1);
x_t=ones(T+nobs,1);
mu_t=ones(T+nobs,1);
x_mean=1/(1-alpha-_beta)*omega;
x_t[1,.]=x_mean;
mu_t[1,.]=x_mean;

for i(2 ,(T+nobs),1);
mu_t[i,.]=omega+alpha*x_t[i-1,.]+_beta*mu_t[i-1,.];
x_t[i,.]=mu_t[i,.]*e_t[i,.];
endfor;

x=x_t[(nobs+1):(T+nobs),.];
mu=mu_t[(nobs+1):(T+nobs),.];
retp(x);
endp;

 

3 Answers



0



Try this:

  1. Place all of the files for this project in the same directory.
  2. Set your GAUSS working directory to this location.
  3. Run the file.

If you still get the same error, run these two commands and post the output that you get from them:

cdir(0);
filesa("*");

The cdir command will print out your GAUSS current working directory and the second will print out the list of all files in the current working directory.

aptech

1,773


0



In accordance with the above approach, try do this, but failed. And all files in the same working directory



0



Could you run these two commands and post the output that you get from them:

cdir(0);
filesa("*");

aptech

1,773

Your Answer

3 Answers

0

Try this:

  1. Place all of the files for this project in the same directory.
  2. Set your GAUSS working directory to this location.
  3. Run the file.

If you still get the same error, run these two commands and post the output that you get from them:

cdir(0);
filesa("*");

The cdir command will print out your GAUSS current working directory and the second will print out the list of all files in the current working directory.

0

In accordance with the above approach, try do this, but failed. And all files in the same working directory

0

Could you run these two commands and post the output that you get from them:

cdir(0);
filesa("*");

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy