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 ?
0 Response to Help: weights not allowed r(101)
Post a Comment