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.
For a better answer, give use a data example using dataex. We'd have to guess what you are working with otherwise. See more on how and why of dataex in the FAQ: https://www.statalist.org/forums/help#stata
Comment