webuse fillin1,clear
fillin sex race age_group //创造一些缺失值出来
replace x1=x1[_n-1] if x1==.
webuse fillin1,clear
fillin sex race age_group //创造一些缺失值出来
replace x1=x1[_n-1] if x1==.
本文标题:Stata--如何按上一行填补缺失值
本文链接:https://www.haomeiwen.com/subject/zubrxktx.html
网友评论