The stata manual for collapse (p. 7) states that using aweight when calculating the sum with collapse normalizes the weights to sum to number of observations in a group. Can someone please explain what does that exactly mean? How does the exact formula look like for the weights when I calculate the sum in cell? And when should I use what weights (aweight vs f/i/pweight)?
Related Posts with Collapse Weight Normalization
How to model sibling fixed effect?Dear all, I have cross-sectional data that include siblings. Now I need to run an analysis that usi…
what did Stata do when we run a regression on unbalaned data?I am learning how to run a difference in difference model, and my code is areg y treat1996-evergm199…
Are factor variable values important in regressionI am using data that has negative factor variable values and no value = 0. I am removing the negativ…
dis inrange(-1,0,1) gives 0 but should give 1I am working with dates of birth of children before the mothers are diagnosed with a disease. In a w…
Multiple modesHi everyone, I have a dataset that looks like below. For each of the IDs, there are multiple locati…
Subscribe to:
Post Comments (Atom)
0 Response to Collapse Weight Normalization
Post a Comment