gen income=0
forvalues i=1/5669{
if (gongzi[`i']!=.){
replace income=gongzi in `i'
} //此时收入为工资
if (nashui[`i']!=.){
replace income= income in `i' - nashui in `i'
} //在上句执行后,收入为上面的工资减去纳税
}
问题是:replace income= income in `i' - nashui in `i' 是错的,应该怎么修改?