Re: [R] Extracting P-values from the lrm function in the rms library

2010-06-19 Thread Frank E Harrell Jr
On 06/19/2010 10:30 AM, David Winsemius wrote: On Jun 19, 2010, at 7:45 AM, Christos Argyropoulos wrote: 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-v

Re: [R] Extracting P-values from the lrm function in the rms library

2010-06-19 Thread David Winsemius
On Jun 19, 2010, at 7:45 AM, Christos Argyropoulos wrote: 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 It will, although it may appear as magic t

Re: [R] Extracting P-values from the lrm function in the rms library

2010-06-19 Thread Christos Argyropoulos
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 __