Dear all,
I am quite new at Stata. I have to work on a paper by Galor, Özak and Sarid(2020) and the original code contains this:
It always returns "invalid syntax" for the "generate" line, when the exact same code works on my teammates' computers. We are working on the same version of Stata SE 18.0 (on our university server).
I am quite new at Stata. I have to work on a paper by Galor, Özak and Sarid(2020) and the original code contains this:
Code:
local second = `"(secondgen ==1 & parcntr~="")"' local onehalf = `"(firstgen==1 & agearrive<=5 & iso_self~="")"' gen onesec = iso_self if `onehalf' replace onesec = parcntr if `second'
Comment