How to estimate DSGE when R is exogenous and observed?

Try defining an endogenous variable r_obs that you set equal to the exogenous variable (identity mapping) and then set this endogenous as observed