Ratios to RBC Models

If I have the results of my RBC model, how can I calculate, for example, the Consumption-to-GDP ratio, and then compute its mean and variance in Dynare?


You can define a new variable c_y_ratio=c/y. Dynare will then show its mean and variance if you compute moments with stoch_simul. Of course, that requires a model that is not linearized.