The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Weighting variable in Pakistan 2012/13
Weighting variable in Pakistan 2012/13 [message #10382] Fri, 22 July 2016 07:10 Go to previous message
Emily L is currently offline  Emily L
Messages: 1
Registered: July 2016
Member
Hi,
I am conducting a secondary data analysis using the individual women's file from the Pakistan 2012-13 dataset.
In the 'Guide to DHS Statistics' it states the command to use in SPSS in order to apply the sampling weights, is as follows:

COMPUTE rweight = V005/1000000
WEIGHT by rweight.

I put this into my SPSS syntax and the following error occurs in the output window:
Error #4381 in column 1. Text: WEIGHT
> the expression ends unexpectedly
>execution of this command stops

Column 1 in the data view is the Case ID values. In addition I could not underline 'rweight' in the syntax, if this is (one of) the problems?

Any help would be much appreciated.
Many thanks,
Emily



Kind Regards,
Emily
 
Read Message
Read Message
Previous Topic: SPA survey Tanzania: Setting survey design and using weights for health facilities and health care p
Next Topic: Need to calculate country weight based on facilities when combining two SPA surveys?
Goto Forum:
  


Current Time: Sat Apr 27 00:44:38 Coordinated Universal Time 2024