02-29-2012 08:39 PM
I am hoping someone may have an idea of what is missing/wrong with the following syntax that will not run.
I am working with data that includes 500 bootstrap replicate weights. As I understand, the survey procedures should recognize pre-existing replicate weights supplied with a dataset. I am using SAS 9.3 in Windows. In the Editor window the REPWEIGHTS appears in red font and the code will not run.
proc surveyreg data=chms varmethod=brr ;
model hba1c = waist ;
repweights bsw1 - bsw500 / df=11 ;
weight wgt_pbde ;
I am missing something here required to recognize the REPWEIGHTS statement. Any ideas?