How to represent the variable Et-1 (Xt) in Dynare

@Gabrielr12’s answer is correct. If you want Dynare to do the work of introducing the auxiliary variable, you can use the EXPECTATION operator (see the manual):