Can anyone tell me the proglem in the second statement. When I apply the first statement it went fine the purpose is to take the mean value of capx for all built=1 But second statement gives an error.
gen all = 1
table all if built == 1, c(mean capx) format(%9.2f)
Code:
table all if F.built == 1 & built == 0, c(mean capx) format(%9.2f) variable id not found r(111);
Comment