You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Please read the FAQ. There you’ll find advice on sharing command/data/output.
This is the best approach to entail a helpful reply.
That being said, a) the black color is for numerical variables; b) the first line of the loop is probably mistyped, since there is an underline sign; c) I suspect that type mismatch relates to the code itself; you may check _merge for the discrepancies.
Comment