Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long caseid int person_id str10(arrest_date dispos_date) byte treat str8 race str1 gender str10 bdate float(distance re_arrest prior_arrests numeric_bdate AGE numeric_arrest_date numeric_dispos_date) long(numeric_race numeric_gender) 57514 1 "2012-01-04" "2012-03-27" 0 "HISPANIC" "F" "1985-07-03" . 0 4 9315 26.50513 18996 19079 3 1 39970 1 "2012-07-11" "2012-10-20" 1 "HISPANIC" "F" "1985-07-03" 106 0 4 9315 27.022587 19185 19286 3 1 88413 1 "2013-04-04" "2013-06-22" 0 "HISPANIC" "F" "1985-07-03" 166 0 4 9315 27.753593 19452 19531 3 1 . 1 "2008-06-14" "" . "" "" "" . . 4 . . 17697 . . . . 1 "2010-04-09" "" . "" "" "" . . 4 . . 18361 . . . 40216 5 "2012-03-31" "2013-03-25" 0 "BLACK" "M" "1986-09-27" . 0 2 9766 25.508556 19083 19442 2 2 . 5 "2010-05-20" "" . "" "" "" . . 2 . . 18402 . . . . 5 "2009-06-07" "" . "" "" "" . . 2 . . 18055 . . . 92255 6 "2012-12-09" "2013-11-09" 0 "BLACK" "M" "1991-06-07" . 0 3 11480 21.508556 19336 19671 2 2 . 6 "2009-09-18" "" . "" "" "" . . 3 . . 18158 . . . . 6 "2008-03-16" "" . "" "" "" . . 3 . . 17607 . . . . 6 "2009-01-20" "" . "" "" "" . . 3 . . 17917 . . . 26516 7 "2012-02-25" "2012-03-26" 0 "HISPANIC" "F" "1994-08-24" . 0 0 12654 17.505817 19048 19078 3 1 2913 8 "2012-10-06" "2013-12-29" 1 "BLACK" "M" "1978-04-04" . 0 5 6668 34.50787 19272 19721 2 2 6304 8 "2013-04-06" "2013-07-07" 0 "BLACK" "M" "1978-04-04" -267 1 5 6668 35.00616 19454 19546 2 2 . 8 "2009-08-05" "" . "" "" "" . . 5 . . 18114 . . . . 8 "2011-05-06" "" . "" "" "" . . 5 . . 18753 . . . . 8 "2010-06-18" "" . "" "" "" . . 5 . . 18431 . . . . 8 "2011-06-17" "" . "" "" "" . . 5 . . 18795 . . . 82277 9 "2012-01-12" "2012-11-08" 0 "ASIAN" "F" "1994-07-11" . 0 2 12610 17.505817 19004 19305 1 1 31881 9 "2013-09-25" "2013-12-29" 1 "ASIAN" "F" "1994-07-11" 321 0 2 12610 19.20876 19626 19721 1 1 . 9 "2011-02-06" "" . "" "" "" . . 2 . . 18664 . . . 11354 10 "2013-07-03" "2014-12-13" 1 "HISPANIC" "M" "1984-12-30" . 0 3 9130 28.5065 19542 20070 3 2 . 10 "2009-08-15" "" . "" "" "" . . 3 . . 18124 . . . . 10 "2010-10-29" "" . "" "" "" . . 3 . . 18564 . . . . 10 "2009-06-03" "" . "" "" "" . . 3 . . 18051 . . . end format %td numeric_bdate format %td numeric_arrest_date format %td numeric_dispos_date label values numeric_race numeric_race label def numeric_race 1 "ASIAN", modify label def numeric_race 2 "BLACK", modify label def numeric_race 3 "HISPANIC", modify label values numeric_gender numeric_gender label def numeric_gender 1 "F", modify label def numeric_gender 2 "M", modify
0 Response to Difference in Difference
Post a Comment