Hi! I met a mistake in following command:
egen x2 = group(sex re age educ)
gen wm = sex == 1 & re == 1
egen wminc = mean(incwage) [pw=x2] if wm == 1, by(age)
First two lines worked and the mistake reported at the third line: weights not allowed r(101)
Could you please help me solve it ?
Related Posts with Help: weights not allowed r(101)
PMG and ResidualsHi Everyone, I wonder how to calculate the Residuals for the Pool Mean Group (PMG) effect??? Regar…
Cross Sectional Dependence and PMGHi Everyone, How to calculate the Cross Sectional Depednace Test after estimating Pool Mean Group (…
Missing F-Stat for regression with robust SE - Not a problem with singleton dummy variables Dear Statalist community, Currently I am conducting an event study on ad hoc disclosures. The regr…
Problems with spread out rows when using tableHi Statalisters, I seem to have found some unexpected (to me) behaviour from the -table- command. A…
Type missmatch, dropping string observations from a VariableHello, Starting a new thread since I finally need something different from what I had before. How…
Subscribe to:
Post Comments (Atom)
0 Response to Help: weights not allowed r(101)
Post a Comment