Programming the statistical procedures from SAS

Repweights statement with survey procedures

Reply
Occasional Contributor
Posts: 5

Repweights statement with survey procedures

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 ;

run ;

I am missing something here required to recognize the REPWEIGHTS statement. Any ideas?

Thanks

Ask a Question
Discussion stats
  • 0 replies
  • 171 views
  • 0 likes
  • 1 in conversation