Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72784

scatteri options

$
0
0
I am graphing 3 way interaction based on plotting points derived from calculating the adjusted mean value of peer support (y) for Black and White males and females at 2 different values of SES (4 & 8). For some reason I am running into issues drawing lines that aren't connected to each other. Does anyone know how to use the connect option to connect the points to draw 4 separate lines? When I use [connect(l)] at the end of the command the 4 separate lines are connected. Using connected after "twoway" results in error. I have looked at all of the manuals for scatteri and scatter and haven't found an example that fits. I also thought that I may have to divide the lines by [ || ] like you would if you want to have a scatter plot with multiple regression lines, but that didn't work either. I have included the syntax I am using below. Thanks so much,

Z

graph twoway scatteri ///
0.96185 4 (3)"BF" ///
0.92185 8 (3)"BF" ///
0.98085 4 (3)"BM" ///
0.78885 8 (3)"BM" ///
0.78185 4 (3)"WF" ///
0.66985 8 (3)"WF" ///
1.00485 4 (3)"WM" ///
0.92085 8 (3)"WM", title(Adj. Mean Value Peer Support, box bexpand) ///
ytitle("Peer Support") xtitle("Subjective Social Status") xlabel(0(2)10)

Viewing all articles
Browse latest Browse all 72784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>