Oh wow, thanks - hadn't thought of that at all. Indeed I had blanks all over the place as I generated the variable lists from a Python file of mine rather than from the PSID website. It's still a bit weird to me that this would manifest itself in the 1997 error (rather than giving an error on the first variable), but in any case it's working now without the blanks.
I guess it's a classical example of a non-STATA user being confused by the syntax STATA uses to call functions...
I guess it's a classical example of a non-STATA user being confused by the syntax STATA uses to call functions...
Comment