Hello there,
I have been trying to estimate a simple NK model. I'm estimating all parameters but those that are functions of other parameters (in this case only kappa) I would like to be read from a different file. I have read a a lot about stady state files but whenever I declare it here it doesn't seem to work. Basically I declare all parameters I would like to estimate in the parameter section before the model except kappa (the slope of the NK Phillips Curve). I know I can do the following:
var c R infl mc n y a;
varexo e_a;
parameters bet phi phip rhoa theta sigma;
setparams_basicnk;
model(linear);
#kappa=(((1-bet*theta)*(1-theta))/theta);
and then go on estimating the model which works fine. But I would like this kappa parameter to be read from a separate matlab file. Whenever I try that it simply can't recognize that such a parameter exists. Could you please help me on that?
Many thanks in advance,
Peter