Code:
. list hhidpn kidid k1age k2agebg k3agebg k4agebg k5agebg k6agebg k7agebg k8agebg k9agebg k10agebg k11agebg k12agebg kabyearbg if hhidpn == 920672010 , sepby(hhidpn) +------------------------------------------------------------------------------------------------------------------------------------------------------------+ | hhidpn kidid k1age k2agebg k3agebg k4agebg k5agebg k6agebg k7agebg k8agebg k9agebg k10agebg k11agebg k12agebg kabyea~g | |------------------------------------------------------------------------------------------------------------------------------------------------------------| 128812. | 920672010 9206720101 . . . . . . . . . .m .m 37 1977 | 128813. | 920672010 9206720102 . . . . . . . . . .m .m 28 1986 | +------------------------------------------------------------------------------------------------------------------------------------------------------------+
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long hhidpn str10 kidid byte(k1age k2agebg k3agebg k4agebg k5agebg k6agebg k7agebg k8agebg k9agebg k10agebg k11agebg k12agebg) int kabyearbg 920672010 "9206720101" . . . . . . . . . .m .m 37 1977 920672010 "9206720102" . . . . . . . . . .m .m 28 1986 end
0 Response to Filling in missing data from previous values?
Post a Comment