Hi. I would like to create a scatterplot using two dummy variables, however, as you may guess, simply using the "scatter" command will not be useful in this case. I am trying to visually examine the relationship between the migration of a household member and the educational attainment of the child in the migrant's household. My independent variable therefore is = 1 if a household member lives abroad and 0 otherwise. My dependent variable is = 1 if the child in the migrant's household attends school and 0 otherwise. Could you please help me with this graph? Thank you.

My data looks like this:
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(school migrant)
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
0 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
0 0
1 0
1 0
1 0
1 0
1 0
1 0
1 0
end