Hi,
Sorry to be that guy, but I can't find any stata help files or forum posts to clear this up. If anyone can recommend a change to my code that would be great.
I've overlaid two lowess scatter plots onto one graph using the code below quite easily:
lowess d_Originality_Lv Complex_Problem_Solving_Lv , addplot(lowess d2_Originality Complex_Problem_Solving_Lv)
However, when the graph is generated it shows only the observations for the first variable, 'd_Originality_Lv', against the independent var 'Complex_Problem_Solving_Lv'. The lowess lines show the relationship I want to convey, but if I could have observation dots for both the sets of data overlaid in slightly different colours, this would give some substance to the different forms of the lowess lines.
I can't find any way to code the legend or graph code to show both sets of observations. Also, the output is okay right now and I wouldn't want to specify a legend(...) command and lose the other legend elements which appear automatically because I don't quite know how to code them myself. I could potentially work it out if need be, though.
Thanks in advance.
Related Posts with Simple addplot syntax - how do I graph 2 sets of observations on one graph?
changing numbers that surround decimalsI have 18,000 observations in a variable, which I have cleaned down to 60 left to address. They are …
matching husband-wife and father-daughter observations and generating new variablesDear Statlisters I am working on household survey data. Here I have variables on responses by house…
Cox regressions for Twitter data (proportional hazards)Dear all, first and foremost a happy new year to all of you! In my current research project, I am …
Computing Average/Mean ROC Curve and AUC among different observersDear all, I was wondering if it would be possible to compute a mean ROC curve, with corresponding m…
Contingent valuation methodI am using CVM to estimate mean WTP for a conservation program. WTP is elicited in both cash value a…
Subscribe to:
Post Comments (Atom)
0 Response to Simple addplot syntax - how do I graph 2 sets of observations on one graph?
Post a Comment