As part of my research I must perform a counterfactual analysis between two different simulated economies, however, I am having trouble with the code. The structure of my counterfactual code is as follows:
- Benchmark model loading.
- Sample size definition.
- Initial values definition (previously estimated values of the parameters and standard deviations of structural shocks are taken as initial values).
- Alternative model loading.
- Alternative model simulation taking into account the initial values.
The error shown is: “Error using load - Number of columns on line 14 of ASCII file Modelo_benchmark.mod must be the same as previous lines”. This makes sense since I am loading a code that defines the economic model and not a database. Given this error I wonder if Im making a concept error in the code or is it just a programmation mistyping. If necessary, I attach the code for the counterfactual analysis and the benchmark model code.