I'm trying to create a nice scatter plot with some panel data that's coloured, the problem is that it isn't displaying all of the data for some reason.
The code I used is
scatter X? Y, mcolor(blue orange black pink red lime purple maroon teal olive_teal cyan magenta
They're identified by a variable called regionNum of which there are 12. It seems to happily display 9 of them, but misses off 3.
Example : https://i.imgur.com/EV40KWj.png
Doing a regular scatter
scatter Y X
Returns a scatter of all the data : https://i.imgur.com/Mb8duGe.png
Related Posts with Panel Data Scatter Plot Not Displaying All Data
Multilevel binomial logistic regression model with three levels does not convergeDear Statalist users, I am trying to fit a multilevel logistic regression model with a three-level …
replace the value of variableHi, I am new to Stata. In my case, I have a variable equal to 1, 2,3,4,5 and my task is to make the …
Poisson Regression with Hausman Taylor instrumental variables estimatorI have a panel data. The dependent variable is a count variable, so a Poisson regression is more app…
ARDL and estimating a shock for dummyDear all, I am trying to estimate the effect of an observed trade shock (the entrance of China in W…
Update Stata code for retrieving COVID data?I've greatly enjoyed running Chuck Huber's Stata code that automated the download of COVID data from…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Scatter Plot Not Displaying All Data
Post a Comment