misspecification Code for "Dealing with misspecification in structural macroeconometric models" (with F. Canova, forthcoming QE)