Question about simulated trajectory

Hi professor, I’m doing deterministic simulation using perfect foresight model,there is a permanent unexpected shock . the simulated trajectory of capital consumption and output are below:




When I do not use dsample command, the output in the first period has a sharp decline, I wanna know how to interpret, is it normal? Can I just plot the trajectory from period 1 instead od 0. Thanks in advance!

That is hard to tell without seeing the codes. Period 0 provides the initial condition. If that was a steady state, then the drop of output in the first period is meaningful.

Thanks professor, I wanna ask does this condition mean the saddle path is not monotonous? Because in the first period the consumption jump to the new saddle path, and the it declines for a few periods, so it is capital.

It looks like the jump onto the saddle path is not monotonous. But I don’t know your model.

runner_perfect_foresight.m (3.6 KB)
perfect_foresight.mod (7.6 KB)
Thanks professor.There are the codes. Please help me. Thanks for your time!

The comp_omegabare.m is missing.

comp_omegabare.m (540 Bytes)
Sorry, this is the file.

I cannot reproduce the problem in cleaned up files:
perfect_foresight.mod (7.7 KB)
comp_omegabare.m (540 Bytes)
runner_perfect_foresight.m (3.6 KB)