jeweetwel
2009-Jun-23 10:28 UTC
[R] How to assign fixed beta coefficients in lrm for external validation
Hi, I am planning to externally validate a logistic prediction model in a new cohort. Outcome is mortality. The betacoefficients were derived from a previous published article. It seems not possible in R to assign fixed beta coefficients to predictors like lrm (death ~ intercept+beta1*var1+beta2*var2...). How do i solve this problem? Thank you in advance. Joey L -- View this message in context: http://www.nabble.com/How-to-assign-fixed-beta-coefficients-in-lrm-for-external-validation-tp24163452p24163452.html Sent from the R help mailing list archive at Nabble.com.
David Winsemius
2009-Jun-23 12:44 UTC
[R] How to assign fixed beta coefficients in lrm for external validation
On Jun 23, 2009, at 6:28 AM, jeweetwel wrote:> > Hi, > I am planning to externally validate a logistic prediction model in > a new > cohort. Outcome is mortality. The betacoefficients were derived from a > previous published article. It seems not possible in R to assign > fixed beta > coefficients to predictors like lrm (death ~ > intercept+beta1*var1+beta2*var2...). How do i solve this problem?There is an offset model component for features that are assumed fixed. -- David Winsemius, MD Heritage Laboratories West Hartford, CT
Reasonably Related Threads
- Help understanding why glm and lrm.fit runs with my data, but lrm does not
- Help understanding why glm and lrm.fit runs with my data, but lrm does not
- Help understanding why glm and lrm.fit runs with my data, but lrm does not
- Obtaining p-values for coefficients from LRM function (package Design)
- help with predict for cr model using rms package