Fsolve and analytical solution


#1

Hi all,
Is it possible to solve part of a system in a model analytically, and part of it numerically (using fsolve?) Can you quote some examples please? thanks


#2

You mean for the steady state?


#3

Yes, for the steady state


#4

Yes it is.
The technique is the same as in https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Born_Pfeifer_2018/Welfare
which made use of the get_Calvo_theta function.
Best,
Jonathan


#5

A better example would be https://github.com/JohannesPfeifer/DSGE_mod/blob/master/Gali_2010/Gali_2010_calib_target_steadystate.m