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.
We ask that you tell us about cross-posting. That is in the FAQ Advice all posters are asked to read before posting.
The aim is that people don't waste their time saying things already said. That failed in this case. Reddit people should be able to look after themselves, but telling them would also have been a good idea.
We ask that you tell us about cross-posting. That is in the FAQ Advice all posters are asked to read before posting.
The aim is that people don't waste their time saying things already said. That failed in this case. Reddit people should be able to look after themselves, but telling them would also have been a good idea.
I initially wrote that I'd answered the question on Reddit (Mr Smith is my Reddit nom de guerre, very long story), but wasn't sure if I should follow through, because I wasn't sure if they were the same poster (pretty different usernames).
Now that Nick has done so, I will add for Sarah's benefit: the general Stata forum policy is that we discourage helping people with homework. We do not know your policy on outside assistance. It benefits people to work through the problems themselves as well. The universities definitely pay their teaching assistants and professors to be responsive to questions. (This is explained in the forum FAQ.) In retrospect, given the do file in the screenshot (which is identical between posts), this might have been a homework problem.
This is a technical question about how a command works, so I'm OK with answering, but I don't feel good answering anything more substantive.
PS, whoever wrote that do file ... I can't see the code, but this is a universal issue with scatterplots of categorical values, and they had to have known this would happen, right?
Be aware that it can be very hard to answer a question without sample data. You can use the dataex command for this. Type help dataex at the command line.
When presenting code or results, please use the code delimiters format them. Use the # button on the formatting toolbar, between the " (double quote) and <> buttons.
Comment