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??
Tabulate With Weights In StataI have a variable "education" which is 3-level and ordinal and I have a binary variable "urban" whic…
Creating a graph with counts of IDs using 2 different requirementsHi everyone, Hoping to get some advice on how t ocreate a graph for my longitudinal patient panel t…
Fuzzy match across multiple variables within a datasetI have a dataset of about 15000 observations of different patients, many of which are duplicates. Th…
For loopI have a dataset with 30 variables containing one ICD-code each. I need to identify certain specific…
Postdoctoral Employment opportunityDo you have experience in econometrics, Stata, and simulation techniques? We have an immediate openi…
Subscribe to:
Post Comments (Atom)
0 Response to How can I calculate the standard deviation with weight??
Post a Comment