joris meys
2008-Dec-13 18:11 UTC
[R] Obtaining p-values for coefficients from LRM function (package Design)
Dear all, I'm using the lrm function from the package "Design", and I want to extract the p-values from the results of that function. Given an lrm object constructed as follows : fit <- lrm(Y~(X1+X2+X3+X4+X5+X6+X7)^2, data=dataset) I need the p-values for the coefficients printed by calling "fit". fit$coef (gives a list of only the coefficients) fit$pval, fit$p, fit$pvalue, fit$p.value,... : nothing works str(fit) : no hints there fit[1,4] : gives dimension errors help files don't seem to give me a function that extracts them. Yet, they are calculated and printed, based on the Wald statistics. So they must be reachable. Anybody knows how? Thank you in advance Kind regards Joris [[alternative HTML version deleted]]
Apparently Analagous Threads
- Obtaining p-values for coefficients from LRM function (package Design) - plaintext
- Repost - Possible bug with lrm.fit in Design Library
- Possible bug with lrm.fit in Design Library
- polr (MASS) and lrm (Design) differences in tests of statistical signifcance
- Help understanding lrm function of Design library