[R] Ordinal logistic regression p-values
Frank Harrell
f.harrell at vanderbilt.edu
Tue Aug 30 03:30:13 CEST 2011
Use the rms package to replace Design. Run anova(fit object from lrm) which
produces a matrix from which you can extract P-values. This also handles
the case of multiple degrees of freedom per predictor.
Frank
Debs Majumdar wrote:
>
> Hi,
>
> Are there any packages which prints out p-values for OLR's (like
> `ologit' from Stata)? I want to run a bunch of OLRs and print the p-value
> for the first coefficient from each of them.
>
>
> I checked polr() under MASS and it doesn't.
>
> There's a lrm() function under Design which does print out p-values but I
> couldn't extract p-values from the output.
>
>
> Thanks,
>
> Debs
>
>
> ______________________________________________
> R-help at r-project.org 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.
>
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Ordinal-logistic-regression-p-values-tp3777674p3777768.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list