Sample weight and use of svy command in regression [message #13752] |
Tue, 19 December 2017 07:40 |
rkchettri
Messages: 19 Registered: November 2017
|
Member |
|
|
Hi DHS experts,
I am using Nepal DHS 2016 data, I am using IR file. For weighting purpose I am using following command:
gen rweight=v005/1000000
svyset v021 [pweight=rweight], strata(v023) vce(linearized) singleunit(missing)
And for the regression purpose I using this command:
svy: logit outcome variable (eg 4anc) predictor variable (eg age of women) , or
I am want to be sure either I am doing correct or not?
Regards,
Resham
|
|
|