[R] How do I obtain standard error of each estimated coefficients in polr

Spencer Graves spencer.graves at pdf.com
Wed Jun 13 05:29:15 CEST 2007


      I'm confused: 

      Have you considered the 'examples' in the 'polr' help file?  The 
first example ends "summary(house.plr)".  The print of this summary 
includes standard errors.  If you want those numbers for subsequent 
computations, you can try str(summary(house.plr)) or 
names(summary(house.plr)).  If you want to be more sophisticated, 
class(summary(house.plr)) says it is "summary.polr".  Then  
methods(class="summary.polr") says there exists a function 
'print.summary.polr', which is however, 'invisible'.  If you want to see 
it, "getAnywhere('print.summary.polr')" will produce the code. 

      If this does NOT answer your question, please provide commented, 
minimal, self-contained, reproducible code, as requested in the posting 
guide "www.R-project.org/posting-guide.html". 

      Hope this helps. 
      Spencer Graves

adschai at optonline.net wrote:
> Hi,
>
> I obtained all the coefficients that I need from polr. However, I'm wondering how I can obtain the standard error of each estimated coefficient? I saved the Hessian and do something like summary(polrObj), I don't see any standard error like when doing regression using lm. Any help would be really appreciated. Thank you!
>
> - adschai
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list