I have three variables: sbp, age and sex. I want to make a scatterplot for the relationship between sbp and age (both continuous variables) for sex groups (male and female). What would be the STATA command for this graph if want to add the linear fit line as well? I made this graph from SPSS (attachment). I want to make a similar one from STATA.

More Inaamul Haq's questions See All
Similar questions and discussions