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!
Related Posts with How can I calculate the standard deviation with weight??
Comparing variables across rowsHi all, I'm not a frequent Stata user and got stuck on something that I think ought to be fairly si…
Help with extracting strings using regular expressionsHi Statalist. I am trying to use regexs and regexm to extra information from strings. A sample is b…
Duplicates in panel settings. A question that has come up before to forum. I am trying to declare dataset to be a panel and …
Calculating Cumulative H-index with Stata? Hello statalisters, I've been trying to trying to calculate the h index for a large dataset consis…
inquire about Stata rule for abbreviation of variablesFor example, in the dataset, the variable name is Armani_premium. And no var name is Armani. But so…
Subscribe to:
Post Comments (Atom)
0 Response to How can I calculate the standard deviation with weight??
Post a Comment