Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long state float(year x1 x2 x3 x4) 1 1968 . . 0 0 1 1969 2 . 1 1 1 1970 . . 1 1 1 1971 . . 0 0 1 1972 . . 0 0 1 1973 . . 0 0 1 1974 . . 0 0 1 1975 2 . 0 0 1 1975 . 4 1 1 1 1976 . . 1 1 1 1977 . . 0 1 1 1978 . . 0 1 1 1979 . . 0 0 1 1980 . . 0 0 1 1981 . . 0 0 1 1982 . . 0 0 1 1983 . . 0 0 1 1984 . . 0 0 1 1985 . . 0 0 1 1986 . . 0 0 end label values state state label def state 1 "Alabama", modify
0 Response to creating a variable based on an observation of another variable
Post a Comment