Before running ramsey_moments.m: (1) run ramsey_f.m. This program creates the .mat file ramsey_f.mat (2) run ramsey_ss.m. This program creates the .mat file ramsey_ss.mat. It searches for the ramsey steady state. The variable X0 is the initial condition. X0(1) is the gross annual nominal interest rate and X0(2) is the tax rate). (3) run ramsey_run.m (4) run ramsey_moments.m Sensitivity Analysis: To simulate the model with different parameter values, modify the subfunction structural_parameters.m in ramsey_ss.m. Computing the ramsey steady state under different parameter values might require altering the initial condition X0 in ramsey_ss.m if the ramsey-optimal values of the interest rate and the tax rate are significantly affected by the parameter change.