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"?
Changing date format in Stata graphsHello, I have daily data from jan 2004 to sep 2017 and I want to have on the x-axis the dates showi…
re-transformation of logged DV give ridiculous valueDear All, I have a quick question. I am not sure what I did wrong here. After I run ivregress 2sls,…
VAR Model Lag Length Code: * Example generated by -dataex-. To install: ssc install dataex clear input float(Dlrgdp Dlo…
Delimit Propensity Score to obtain a better matchingHello, I have a general doubt about PSM. The analyses of the graph (using teffects psmatch) are muc…
Saving multiple file names in one .txt or .dat Dear all, I would like to run Monte Carlo simulation in Mplus using 100 data generated from Stata. …
Subscribe to:
Post Comments (Atom)
0 Response to Does anyone know a clever way to add R2 to "graph twoway lfit"?
Post a Comment