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
Fun Stata fact: You can use scalars instead of locals in while loops, without speed losses in execution.Good afternoon, I was toying around today with measuring the speed of different forms of loops. The…
Heckman identification: normality of porbit and nonlinearity of inverse Mill's ratioDear Statalists, I am using -heckman- command to address the self-selection problem. I read from ma…
Matching with 5 categories (yes/no)Dear all. I'm trying to match 151 cases (1:3) from a group of 1400 controls. I have to match the da…
Breusch-Pagan Lagrange multiplier (LM), Hausman testsDear all, I'm working with panel data and want to decide which model I should use: pooled OLS, Rand…
P-values become insignificant when st errors are clusteredDear StataList Members, Here is my data and I am running cox proportional hazard model using the co…
Subscribe to:
Post Comments (Atom)
0 Response to Collapse Weight Normalization
Post a Comment