您的问题属于缺失值插补问题。
其实您都自己写出公式了! 应该不是问题!
另外,1970-2000一共是31年的数据。
stata对应的指令为ipolate,【这不过是把您写的公式弄成快一点的ado档】
help ipolate
可以查到相关的东西。
假设您的资料为
year pop income
1970 409 80
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980 590 90
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990 898 198
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000 878 300
在stata的command下执行
ipolate pop year, gen(popnew)
ipolate income year, gen(incomenew)
然后您就可以得到
year pop income popnew incomenew
1970 409 80 409 80
1971 427.1 81
1972 445.2 82
1973 463.3 83
1974 481.4 84
1975 499.5 85
1976 517.6 86
1977 535.7 87
1978 553.8 88
1979 571.9 89
1980 590 90 590 90
1981 620.8 100.8
1982 651.6 111.6
1983 682.4 122.4
1984 713.2 133.2
1985 744 144
1986 774.8 154.8
1987 805.6 165.6
1988 836.4 176.4
1989 867.2 187.2
1990 898 198 898 198
1991 896 208.2
1992 894 218.4
1993 892 228.6
1994 890 238.8
1995 888 249
1996 886 259.2
1997 884 269.4
1998 882 279.6
1999 880 289.8
2000 878 300 878 300
其中popnew与incomenew为新缺失值的插补值。