[R] Extracting P-values from the lrm function in the rms library
Christos Argyropoulos
argchris at hotmail.com
Sat Jun 19 13:45:57 CEST 2010
Hi,
mod.poly3$coef/sqrt(diag(mod.poly3$var))
will give you the Wald stat values, so
pnorm(abs(mod.poly3$coef/sqrt(diag(mod.poly3$var))),lower.tail=F)*2
will yield the corresponding p-vals
Christos Argyropoulos
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
More information about the R-help
mailing list