The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Svy command, r(2000) error message, NFHS-3 India
Re: Svy command, r(2000) error message, NFHS-3 India [message #5438 is a reply to message #4427] Wed, 27 May 2015 07:13 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3167
Registered: February 2013
Senior Member
Here are comments fron Senior DHS Stata Specialist, Tom Pullum:

The children's variables are in the KR file and the domestic violence variables (d*) are in the IR file. You must have done a merge, and I suspect that your problem is with the merge. Sometimes a merge can end up with an empty file. How many cases do you have in the merged file? Can you calculate the desired means WITHOUT the svy command?

Another comment. The pweight option does not require that you divide v005 by 1,000,000. Pweights are automatically normalized to have a mean of one. You could multiply or divide v005 by any number whatever, and it would not alter the results.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: weighting for Services Provision Assessment data
Next Topic: Performing a manual backward stepwise logistic regression in Stata
Goto Forum:
  


Current Time: Mon Oct 7 01:52:56 Coordinated Universal Time 2024