Home  /  Resources & Support  /  FAQs  /  Stata Graphs  /  Scatterplot with overlaid fractional-polynomial prediction plot by variable

Scatterplot with overlaid fractional-polynomial prediction plot by variable

Commands to reproduce PDF doc entries
webuse auto
twoway scatter mpg weight || fpfit mpg weight ||, by(foreign, total row(1))
[G-2] graph twoway scatter
[G-2] graph twoway fpfit
[G-3] by_option

Regression fit plots
     
     
     
     
     
Main page          Next group