- Ideally, you call the log-linearized variables something like N_hat and define
N_hat=log(N)-log(STEADY_STATE(N))
That makes sure the mean is correctly taken care of. - For perfect foresight, mixing linear and nonlinear equations is problematic, because you will care about nonlinearities but only preserve them in some part of the code.
1 Like