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"?
Help with xtreg, splines and trends?Hi all, since my last post I have read the FAQs and so this should be a better post; Now, I am doin…
Unzipping fileHello. I am having trouble unzipping a file with Stata. Please see picture attached. …
How to use value labels in graph legend rather than variable namesI have a bar graph with 11 variables (B1_1 - B1_11) and each variable is binary with a label on the …
Time variable issue when trying a difference in difference approachGood day I want to perform a difference in difference regression defined as Code: mi estimate, e…
ASDOC: Dropping base level of factor variablesDear all users pf Statalist I do not find option of the command of asdoc to drop base level of fact…
Subscribe to:
Post Comments (Atom)
0 Response to Does anyone know a clever way to add R2 to "graph twoway lfit"?
Post a Comment