I am using the below code to fit a linear regression line, Private_Hospital is a binary variable
graph twoway lfit Private_Hospital_1 Differential_Distance
I would like to show the R2 on the graph if possible, does anyone know how to do this?
i have looked at the help file and no luck so far
0 Response to Does anyone know a clever way to add R2 to "graph twoway lfit"?
Post a Comment