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
Related Posts with Does anyone know a clever way to add R2 to "graph twoway lfit"?
Criteria to apply xtpcseHello everyone. I have a dataset with N = 178 and T =14 . Is it right to go for panel corrected stan…
Collapse variables by country, category, yearHi! I have the following data (dataex below) and I just want to confirm if I am doing the right app…
Storing the value of a variable from one observation in a local macro or scalarDear Statalist, I'm using Stata 16.0 trying to store a variable value from one observation in a loc…
How would you export ANOVA tablesforeach var in Subclass { anova ATF4Targetgenes `var' export ?????????? } Hello everyone, I have c…
Questions about pseudo-strata/psu in complex survey designHi: This is not a stata related question, so please forgive me if this is not allowed. I am dealin…
Subscribe to:
Post Comments (Atom)
0 Response to Does anyone know a clever way to add R2 to "graph twoway lfit"?
Post a Comment