General rules for measurement equations

Hello.
I am trying to estimate a DSGE developed in "Bayesian Estimation of an Open Economy DSGE Model with Incomplete Pass-Through" 2005 by Malin Adolfson, Stefan Laseén, Jesper Lindé and Mattias Villani, Sveriges Riksbank Working Paper Series 179. After reading a lot through this forum, I still can't understand how to specify measurement equations. In the paper they have a stochastic unit root trend induced by technology. I have my model stationarized and log liniarized. But as I saw, writing measurement equations is data specific process. Can anyone tell me please general rules in writing measurement equations? I would like to work with raw data, how to ralate raw data to log-liniarized equations? In the paper they offer some formulas for writing measurement equations, but I don't know how to bring this formulas to dynare.
I am trying to estimate a DSGE developed in "Bayesian Estimation of an Open Economy DSGE Model with Incomplete Pass-Through" 2005 by Malin Adolfson, Stefan Laseén, Jesper Lindé and Mattias Villani, Sveriges Riksbank Working Paper Series 179. After reading a lot through this forum, I still can't understand how to specify measurement equations. In the paper they have a stochastic unit root trend induced by technology. I have my model stationarized and log liniarized. But as I saw, writing measurement equations is data specific process. Can anyone tell me please general rules in writing measurement equations? I would like to work with raw data, how to ralate raw data to log-liniarized equations? In the paper they offer some formulas for writing measurement equations, but I don't know how to bring this formulas to dynare.