该条件即为obs2的自变量取值为缺失时。
请写出stata 语言实现方法。样本自变量有很多很多。观测值也很多很多。使用了很多方法比如:
syntax [varlist]
foreach x of varlist * {
local obs1=3830
local obs2=3831
replace `x'[`obs2']=`x'[`obs1'] if `x'[`obs2']==.
}
系统总显示 “weights not allowed”


雷达卡




京公网安备 11010802022788号







