Replication of an AER paper

Dear all,

I would be grateful if somebody could tell me whether he/she has been able to replicate the following codes available at the AER website (aeaweb.org/articles.php?doi= … ac.3.4.112)

I am getting error messages on every single one of them that I am trying to replicate…

Thank you very much in advance…
param_DTT_model.m (904 Bytes)
DTT_FINAL_noE_optim.mod (14 KB)
DTT_FINAL_noE_nog_Friedman_optim.mod (12.1 KB)
DTT_FINAL_noE.mod (12 KB)