Dear All,

I have survey data. It's collected through stratified sampling method. I set a weight which means the inverse of the probability of the observation is included. Therefore,when I calculate the mean or run regression, I should use "pweight". But pweight can't be used to calculate sd, then what should I do to calculate the standard deviation? (I use "collapse" to calculate mean\median\sd)

Thank you!

I have survey data. It's collected through stratified sampling method. I set a weight which means the inverse of the probability of the observation is included. Therefore,when I calculate the mean or run regression, I should use "pweight". But pweight can't be used to calculate sd, then what should I do to calculate the standard deviation? (I use "collapse" to calculate mean\median\sd)

Thank you!

## Comment