Alice, 发表于 2017-5-22 19:15 
楼主,我也是这种情况,缺失一年数据,请问最后怎么补呢?
Setup
. webuse ipolxmpl2, clear
Show years for which the circulation data are missing
. tabulate circ year if circ == ., missing
Create icirc containing a linear interpolation of circ on year for missing values of circ and perform this
calculation separately for each magazine
. by magazine: ipolate circ year, gen(icirc)
用插值法填补