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??
Probit with endogenous binary regressorHello I am using ivprobit for my regression with a binary outcome variable. The help file suggests t…
Correlation Coefficient and logarithmic variablesHi, I am working on some data containing 1400 observations over a 7 year period, whereas the observ…
Generating geographical group variables from Household IDHi, I am using STATA 14, I am interested in generating a new variable from household ID, which is a…
Propensity Score MatchingHi everyone, I am still figuring out PSM for my study.I am having trouble in the first step matchin…
Saving ado fileDear Statalist, I am having difficulties with saving ado file. I don't understand where to save the…
Subscribe to:
Post Comments (Atom)
0 Response to How can I calculate the standard deviation with weight??
Post a Comment