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(re_arrest prior_arrests numeric_bdate AGE numeric_arrest_date numeric_dispos_date time) long(numeric_race numeric_gender) float _diff 57514 1 "2012-01-04" "2012-03-27" 0 "HISPANIC" "F" "1985-07-03" 0 4 9315 26.50513 18996 19079 1 3 1 0 39970 1 "2012-07-11" "2012-10-20" 1 "HISPANIC" "F" "1985-07-03" 0 4 9315 27.022587 19185 19286 1 3 1 1 88413 1 "2013-04-04" "2013-06-22" 0 "HISPANIC" "F" "1985-07-03" 0 4 9315 27.753593 19452 19531 1 3 1 0 . 1 "2010-04-09" "" 0 "" "" "" . 4 . . 18361 . 0 . . 0 . 1 "2008-06-14" "" 0 "" "" "" . 4 . . 17697 . 0 . . 0 40216 5 "2012-03-31" "2013-03-25" 0 "BLACK" "M" "1986-09-27" 0 2 9766 25.508556 19083 19442 1 2 2 0 . 5 "2010-05-20" "" 0 "" "" "" . 2 . . 18402 . 0 . . 0 . 5 "2009-06-07" "" 0 "" "" "" . 2 . . 18055 . 0 . . 0 92255 6 "2012-12-09" "2013-11-09" 0 "BLACK" "M" "1991-06-07" 0 3 11480 21.508556 19336 19671 1 2 2 0 . 6 "2009-09-18" "" 0 "" "" "" . 3 . . 18158 . 0 . . 0 . 6 "2008-03-16" "" 0 "" "" "" . 3 . . 17607 . 0 . . 0 . 6 "2009-01-20" "" 0 "" "" "" . 3 . . 17917 . 0 . . 0 26516 7 "2012-02-25" "2012-03-26" 0 "HISPANIC" "F" "1994-08-24" 0 0 12654 17.505817 19048 19078 1 3 1 0 2913 8 "2012-10-06" "2013-12-29" 1 "BLACK" "M" "1978-04-04" 0 5 6668 34.50787 19272 19721 1 2 2 1 6304 8 "2013-04-06" "2013-07-07" 0 "BLACK" "M" "1978-04-04" 1 5 6668 35.00616 19454 19546 1 2 2 0 . 8 "2011-06-17" "" 0 "" "" "" . 5 . . 18795 . 0 . . 0 . 8 "2009-08-05" "" 0 "" "" "" . 5 . . 18114 . 0 . . 0 . 8 "2010-06-18" "" 0 "" "" "" . 5 . . 18431 . 0 . . 0 . 8 "2011-05-06" "" 0 "" "" "" . 5 . . 18753 . 0 . . 0 82277 9 "2012-01-12" "2012-11-08" 0 "ASIAN" "F" "1994-07-11" 0 2 12610 17.505817 19004 19305 1 1 1 0 31881 9 "2013-09-25" "2013-12-29" 1 "ASIAN" "F" "1994-07-11" 0 2 12610 19.20876 19626 19721 1 1 1 1 . 9 "2011-02-06" "" 0 "" "" "" . 2 . . 18664 . 0 . . 0 11354 10 "2013-07-03" "2014-12-13" 1 "HISPANIC" "M" "1984-12-30" 0 3 9130 28.5065 19542 20070 1 3 2 1 . 10 "2010-10-29" "" 0 "" "" "" . 3 . . 18564 . 0 . . 0 . 10 "2009-08-15" "" 0 "" "" "" . 3 . . 18124 . 0 . . 0 . 10 "2009-06-03" "" 0 "" "" "" . 3 . . 18051 . 0 . . 0 49941 11 "2013-03-17" "2013-05-11" 1 "BLACK" "M" "1987-09-13" 0 3 10117 25.508556 19434 19489 1 2 2 1 . 11 "2011-05-09" "" 0 "" "" "" . 3 . . 18756 . 0 . . 0 . 11 "2011-01-31" "" 0 "" "" "" . 3 . . 18658 . 0 . . 0 . 11 "2008-12-16" "" 0 "" "" "" . 3 . . 17882 . 0 . . 0 59616 12 "2013-06-25" "2013-08-23" 0 "ASIAN" "F" "1984-12-22" 0 1 9122 28.5065 19534 19593 1 1 1 0 . 12 "2009-06-03" "" 0 "" "" "" . 1 . . 18051 . 0 . . 0 88153 13 "2012-10-29" "2013-01-21" 1 "BLACK" "M" "1963-04-27" 0 10 1212 49.50856 19295 19379 1 2 2 1 40377 13 "2012-11-04" "2013-03-05" 1 "BLACK" "M" "1963-04-27" 1 10 1212 49.52498 19301 19422 1 2 2 1 39447 13 "2013-07-31" "2013-08-16" 1 "BLACK" "M" "1963-04-27" 0 10 1212 50.26146 19570 19586 1 2 2 1 . 13 "2008-09-05" "" 0 "" "" "" . 10 . . 17780 . 0 . . 0 . 13 "2010-02-21" "" 0 "" "" "" . 10 . . 18314 . 0 . . 0 . 13 "2008-05-16" "" 0 "" "" "" . 10 . . 17668 . 0 . . 0 . 13 "2011-04-16" "" 0 "" "" "" . 10 . . 18733 . 0 . . 0 . 13 "2011-10-26" "" 0 "" "" "" . 10 . . 18926 . 0 . . 0 . 13 "2010-12-28" "" 0 "" "" "" . 10 . . 18624 . 0 . . 0 . 13 "2009-09-09" "" 0 "" "" "" . 10 . . 18149 . 0 . . 0 . 13 "2011-08-07" "" 0 "" "" "" . 10 . . 18846 . 0 . . 0 56468 14 "2013-04-05" "2013-10-09" 1 "BLACK" "M" "1988-10-02" 0 2 10502 24.5065 19453 19640 1 2 2 1 . 14 "2010-01-01" "" 0 "" "" "" . 2 . . 18263 . 0 . . 0 . 14 "2010-09-28" "" 0 "" "" "" . 2 . . 18533 . 0 . . 0 19842 15 "2012-03-31" "2013-09-08" 1 "BLACK" "M" "1971-09-27" 0 6 4287 40.50924 19083 19609 1 2 2 1 96126 15 "2012-06-13" "2012-08-15" 0 "BLACK" "M" "1971-09-27" 1 6 4287 40.71184 19157 19220 1 2 2 0 . 15 "2008-11-30" "" 0 "" "" "" . 6 . . 17866 . 0 . . 0 . 15 "2009-02-06" "" 0 "" "" "" . 6 . . 17934 . 0 . . 0 . 15 "2010-12-01" "" 0 "" "" "" . 6 . . 18597 . 0 . . 0 . 15 "2008-01-22" "" 0 "" "" "" . 6 . . 17553 . 0 . . 0 . 15 "2008-12-31" "" 0 "" "" "" . 6 . . 17897 . 0 . . 0 95551 16 "2012-05-23" "2012-08-02" 1 "HISPANIC" "M" "1975-11-19" 0 4 5801 36.50924 19136 19207 1 3 2 1 . 16 "2008-08-23" "" 0 "" "" "" . 4 . . 17767 . 0 . . 0 . 16 "2009-12-11" "" 0 "" "" "" . 4 . . 18242 . 0 . . 0 . 16 "2008-05-30" "" 0 "" "" "" . 4 . . 17682 . 0 . . 0 . 16 "2008-01-25" "" 0 "" "" "" . 4 . . 17556 . 0 . . 0 97880 17 "2012-05-22" "2012-06-15" 1 "HISPANIC" "M" "1982-11-18" 0 3 8357 29.508556 19135 19159 1 3 2 1 . 17 "2009-06-01" "" 0 "" "" "" . 3 . . 18049 . 0 . . 0 . 17 "2011-03-17" "" 0 "" "" "" . 3 . . 18703 . 0 . . 0 . 17 "2011-09-30" "" 0 "" "" "" . 3 . . 18900 . 0 . . 0 37756 18 "2012-01-10" "2013-06-03" 1 "BLACK" "M" "1974-07-09" 0 10 5303 37.505817 19002 19512 1 2 2 1 26780 18 "2012-04-05" "2013-01-26" 1 "BLACK" "M" "1974-07-09" 1 10 5303 37.741272 19088 19384 1 2 2 1 57949 18 "2012-04-18" "2012-05-27" 0 "BLACK" "M" "1974-07-09" 1 10 5303 37.776867 19101 19140 1 2 2 0 . 18 "2009-08-07" "" 0 "" "" "" . 10 . . 18116 . 0 . . 0 . 18 "2008-10-06" "" 0 "" "" "" . 10 . . 17811 . 0 . . 0 . 18 "2010-01-08" "" 0 "" "" "" . 10 . . 18270 . 0 . . 0 . 18 "2009-11-22" "" 0 "" "" "" . 10 . . 18223 . 0 . . 0 . 18 "2009-11-13" "" 0 "" "" "" . 10 . . 18214 . 0 . . 0 . 18 "2008-12-25" "" 0 "" "" "" . 10 . . 17891 . 0 . . 0 . 18 "2009-11-02" "" 0 "" "" "" . 10 . . 18203 . 0 . . 0 . 18 "2010-05-02" "" 0 "" "" "" . 10 . . 18384 . 0 . . 0 62439 19 "2013-07-08" "2013-09-16" 1 "WHITE" "M" "1987-01-04" 0 2 9865 26.50787 19547 19617 1 4 2 1 39548 19 "2013-09-20" "2014-08-29" 0 "WHITE" "M" "1987-01-04" 0 2 9865 26.71047 19621 19964 1 4 2 0 . 19 "2008-02-16" "" 0 "" "" "" . 2 . . 17578 . 0 . . 0 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 def numeric_race 4 "WHITE", modify label values numeric_gender numeric_gender label def numeric_gender 1 "F", modify label def numeric_gender 2 "M", modify
0 Response to Appropriate model to use
Post a Comment