Hi everyone,
Just curious to know if there a command in Stata which will plot for me the slope of the fitted line below?
Thanks.
These are the commands I used to get to the figure above:
gen hhsize2 = hhsize * hhsize
reg pscore hhsize hhsize2
predict yhat
twoway (scatter yhat hhsize)
Just curious to know if there a command in Stata which will plot for me the slope of the fitted line below?
Thanks.
These are the commands I used to get to the figure above:
gen hhsize2 = hhsize * hhsize
reg pscore hhsize hhsize2
predict yhat
twoway (scatter yhat hhsize)
Comment