Hi all, 

While using  the following package and code: 
 
library(rms)
library(Hmisc)
test.trans<-aregImpute(
~ NearestWeekGestation + MaternalBMI + MomAge_Years +  
                       WtGain + ethnicity , n.impute=10
,data=data.1)
 
 test.mod<-fit.mult.impute(BirthWeight_g ~ rcs(NearestWeekGestation,4)
+   
           rcs(MaternalBMI,4) + rcs(MomAge_Years,4)
+ rcs(WtGain,4) + ethnicity   
           ,fitter=ols,xtrans=test.trans,data=data.1)
 
 
How
can I specify for weighted OLS here where I have a defined weight vector w?
 
I
would be highly helped and grateful to you if you kindly reply to my mail.
 
With
Regards,
SADIK  
        [[alternative HTML version deleted]]

______________________________________________
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 commented, minimal, self-contained, reproducible code.

Reply via email to