[R] Error message in package:bayesSurv. Why?

2011-04-19 Thread David Foreman
ains 7 columns I can see that an additional chain might be expected, related to the first (child only) survival equation in survreg3, but predictive2 doesn't require an additional survival equation, and I'm completely unable to spot the difference between my version and the working examp

[R] Last post: problem with package rsm: running fit.mult.impute with cph -- sorry, package was rms

2010-12-02 Thread David Foreman
Sorry everybody, temporary dyslexia. Sent from my BlackBerry wireless smartphone __ R-help@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

[R] problem with package rsm: running fit.mult.impute with cph

2010-12-02 Thread David Foreman
Hi all (and especially Frank), I'm trying to use x=T, y=T in order to run a validated stepwise cox regression in rsm, having multiply imputed using mice. I'm coding model.max<-fit.mult.impute(baseform,cph,miced2,dated.sexrisk2,x=T,y=T) baseform is baseform<-Surv(si.age,si=="Yes")~ peer.press +

[R] Error messages with psm and not cph in Hmisc

2010-05-05 Thread David Foreman
the unimputed dataset. Is this a bug, or am I doing something wrong? I particularly want to make use of Design's validation and calibration utilities on multiply imputed data. With many thanks for everyone's help David Foreman Consultant and Visiting Professor in Chi

[R] is.na<- doesn't seem to work with labelled variables?

2010-04-06 Thread David Foreman
7; atomic [1:827] 2 2 2 2 2 2 8 NA 2 2 ... ..- attr(*, "label")= Named chr "In the last yr, you were unfairly treated because of your sex" .. ..- attr(*, "names")= chr "c25a" All suggestions are gratefully received! Best wishes David Foreman Consultant and Vis