Estimate Std. Error t value Pr(>|t|)
(Intercept) 10.2758 0.5185 19.817 < 2e-16 ***
rprice2 -1.8581 0.5139 -3.616 0.000696 ***
I would like to use the Std. Error of rprice2 to make other calculations. I know to reference any of the objects in the model, I use the syntax model$object, but what is the syntax for referencing the std errors?
Sorry for the elementary question!
Thanks in advance...
summary()output can be extracted using thecoef()command. If you just want the estimated standard error for the coefficient ofrprice2, use e.g.coef(summary(mod))[2,2]. If you want the corresponding t-statistic, usecoef(summary(mod))[2,3]. – guest Apr 18 '12 at 3:46