Hi!
I have learnt (via this fantastic forum), how to insert by betacoefficient in the legend of the graph. Can you also help me how I can insert my number of observations and my p-value?
regress HGB Total_CO2 if(SEX==0), robust
local betahat1= `:di %5.3f _b[Total_CO2]'
quietly eststo crude: margins, at(Total_CO2=(0(1)10)) post
When adding this line it does not give me the obeservations: local n1= `:di %5.3f _n'
And how do I add the p-value?
Thank you!
Anna
I have learnt (via this fantastic forum), how to insert by betacoefficient in the legend of the graph. Can you also help me how I can insert my number of observations and my p-value?
regress HGB Total_CO2 if(SEX==0), robust
local betahat1= `:di %5.3f _b[Total_CO2]'
quietly eststo crude: margins, at(Total_CO2=(0(1)10)) post
When adding this line it does not give me the obeservations: local n1= `:di %5.3f _n'
And how do I add the p-value?
Thank you!
Anna
Comment