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"?
Foreach Loop for CAPM regressionHey there, i am trying to do CAPM regressions with daily stock returns for every company over a per…
getting estimated y vale for regressions on subsamples of a panel datasetDear Statalist, I need to have estimated value of an independent variable for a panel data set for …
Abadi's semi-parametric DiD Estimator - Sample characteristicsHi Statalist, I am currently working on dataset using a DiD approach to test the effect of a treatm…
Invalid name errorHi I am trying to run a quantile regression and then plot the ols and quantile regression coefficie…
How to create groups with an equal number of observations?Hi, I have a enormous data set and I would like to create ten groups (country) with an equal number…
Subscribe to:
Post Comments (Atom)
0 Response to Does anyone know a clever way to add R2 to "graph twoway lfit"?
Post a Comment