Hi,
I would like to create a graph dot with the median age estimated using stsum. stsum store the median age results in r(p50) but I cannot build a dot graph using that result.
I tried:
stsum, by(wave female rip2 edu2)
local text=r(p50)
graph dot `text', over(wave) over(edu2) over(rip2) by(female) exclude0 legend(on)
But I don't get the right estimates
Here an example of the graph I would like to have:
Thank you
Elisa
I would like to create a graph dot with the median age estimated using stsum. stsum store the median age results in r(p50) but I cannot build a dot graph using that result.
I tried:
stsum, by(wave female rip2 edu2)
local text=r(p50)
graph dot `text', over(wave) over(edu2) over(rip2) by(female) exclude0 legend(on)
But I don't get the right estimates
Here an example of the graph I would like to have:
Thank you
Elisa
Comment