Hi Statalist users
I run a study to get the effect of the minimum wage increases on the employment rate. Now I run a difference-in-difference analysis and got for some age category very large coefficients.
My method is that I built groups with individuals who have the same characteristics, for example are female and hold a master degree. For this groups I calculated the cap-measure.
I run the following code, to know the dif-in-dif coefficient of the groups containing only people who are 30-39 years old:
numvar ist my time-variable, code is the group-id and anos2=="03" are the 30-39 year old people. avg is my gap measure. I tried to control for the interaction of the gap-measure with time, for the gap-measure itself and for time-fixed effects.
Did I do something wrong in coding or is this result realistic?
I would be very thankful if someone could help me, since I'm really a beginner.
Best
Felix
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
I run a study to get the effect of the minimum wage increases on the employment rate. Now I run a difference-in-difference analysis and got for some age category very large coefficients.
My method is that I built groups with individuals who have the same characteristics, for example are female and hold a master degree. For this groups I calculated the cap-measure.
I run the following code, to know the dif-in-dif coefficient of the groups containing only people who are 30-39 years old:
Code:
reg ln_unemployment_rate indicate avg i.numvar avg i.numvar##c.avg if anos2 == "03" , vce (cluster code)
Did I do something wrong in coding or is this result realistic?
I would be very thankful if someone could help me, since I'm really a beginner.
Best
Felix
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float code int numvar float ln_unemployment_rate str2 anos2 byte anos2_n float avg_GAP_c str3 estu byte isdup str2 nuts1 byte nuts1_n str2 sexo byte sexo_n float(Anzahl_Betroffene post) long estu_n float(indicate Arbeitslosenrate all) 8 222 -.6931472 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 0 2 0 .5 2 8 234 -.6931472 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 1 2 .05259339 .5 2 8 226 -.55961573 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 0 2 0 .5714286 1.75 8 230 -.4054651 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 0 2 0 .6666667 1.5 8 238 -.4054651 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 1 2 .05259339 .6666667 1.5 8 240 -.22314353 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 1 2 .05259339 .8 1.25 8 214 -.15415066 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 0 2 0 .8571429 1.1666666 8 218 0 "01" 1 .05259339 "2" 0 "2" 2 "1" 1 1 0 2 0 1 1 12 238 -.55961573 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 1 2 .04764649 .5714286 3.5 12 226 -.5389965 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 0 2 0 .5833333 3.4285715 12 240 -.4855078 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 1 2 .04764649 .6153846 3.25 12 234 -.427444 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 1 2 .04764649 .6521739 3.0666666 12 222 -.3254224 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 0 2 0 .7222222 2.769231 12 214 -.27443686 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 0 2 0 .76 2.631579 12 230 -.22314353 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 0 2 0 .8 2.5 12 218 -.13353139 "01" 1 .04764649 "2" 0 "4" 4 "1" 1 2 0 2 0 .875 2.2857144 13 240 -.4054651 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 1 2 .3313497 .6666667 1.5 13 238 -.22314353 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 1 2 .3313497 .8 1.25 13 230 -.22314353 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 0 2 0 .8 1.25 13 222 -.2006707 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 0 2 0 .8181818 1.2222222 13 226 -.2006707 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 0 2 0 .8181818 1.2222222 13 214 -.16705407 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 0 2 0 .8461539 1.1818181 13 218 0 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 0 2 0 1 1 13 234 0 "01" 1 .3313497 "2" 0 "4" 4 "6" 6 1 1 2 .3313497 1 1 14 226 -1.0116009 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 0 2 0 .3636364 16.5 14 230 -.55961573 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 0 2 0 .5714286 10.5 14 238 -.45198515 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 1 2 .30434015 .6363636 9.428572 14 234 -.4054651 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 1 2 .30434015 .6666667 9 14 218 -.3101549 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 0 2 0 .7333333 8.181818 14 240 -.2876821 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 1 2 .30434015 .75 8 14 222 -.24116208 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 0 2 0 .7857143 7.636364 14 214 -.21622308 "01" 1 .30434015 "2" 0 "5" 5 "1" 1 6 0 2 0 .8055556 7.448276 15 226 -.6931472 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 0 2 0 .5 8 15 238 -.2876821 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 1 2 .1741187 .75 5.333333 15 214 -.25782913 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 0 2 0 .7727273 5.176471 15 234 -.1823216 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 1 2 .1741187 .8333333 4.8 15 218 0 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 0 2 0 1 4 15 240 0 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 1 2 .1741187 1 4 15 222 0 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 0 2 0 1 4 15 230 0 "01" 1 .1741187 "2" 0 "5" 5 "6" 6 4 0 2 0 1 4 16 240 -.6931472 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 1 2 .06941935 .5 2 16 238 -.6190392 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 1 2 .06941935 .53846157 1.8571428 16 222 -.5389965 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 0 2 0 .5833333 1.7142857 16 230 -.3254224 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 0 2 0 .7222222 1.3846154 16 226 -.2876821 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 0 2 0 .75 1.3333334 16 218 -.2876821 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 0 2 0 .75 1.3333334 16 214 -.14842002 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 0 2 0 .862069 1.16 16 234 -.14310083 "01" 1 .06941935 "2" 0 "6" 6 "1" 1 1 1 2 .06941935 .8666667 1.1538461 17 230 -.4054651 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 0 2 0 .6666667 1.5 17 214 -.3364722 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 0 2 0 .7142857 1.4 17 222 -.2876821 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 0 2 0 .75 1.3333334 17 218 -.2876821 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 0 2 0 .75 1.3333334 17 226 0 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 0 2 0 1 1 17 240 0 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 1 2 .12124364 1 1 17 234 0 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 1 2 .12124364 1 1 17 238 0 "01" 1 .12124364 "2" 0 "7" 7 "1" 1 1 1 2 .12124364 1 1 19 238 -1.446919 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 1 3 1.0230924 .2352941 4.25 19 234 -1.2685113 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 1 3 1.0230924 .28125 3.5555556 19 240 -1.1394343 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 1 3 1.0230924 .32 3.125 19 222 -.7672552 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 0 3 0 .4642857 2.1538463 19 230 -.7339692 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 0 3 0 .48 2.0833335 19 214 -.56798404 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 0 3 0 .56666666 1.764706 19 218 -.4480247 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 0 3 0 .6388889 1.5652174 19 226 -.427444 "01" 1 1.0230924 "3" 0 "1" 1 "1" 1 1 0 3 0 .6521739 1.5333333 20 238 -1.0647107 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 1 3 .09704527 .3448276 2.9 20 226 -.9808292 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 0 3 0 .375 2.666667 20 240 -.8472978 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 1 3 .09704527 .4285714 2.3333333 20 234 -.6931472 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 1 3 .09704527 .5 2 20 222 -.5260931 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 0 3 0 .59090906 1.6923077 20 214 -.4964369 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 0 3 0 .6086956 1.6428572 20 230 -.4924765 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 0 3 0 .6111111 1.6363636 20 218 -.23361483 "01" 1 .09704527 "3" 0 "1" 1 "6" 6 1 0 3 0 .7916667 1.263158 21 240 -1.4271164 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 1 3 .036009464 .24 16.666668 21 234 -1.060872 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 1 3 .036009464 .3461539 11.555555 21 238 -.9808292 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 1 3 .036009464 .375 10.666667 21 226 -.7827593 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 0 3 0 .4571429 8.75 21 230 -.76214 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 0 3 0 .4666667 8.571428 21 218 -.56798404 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 0 3 0 .56666666 7.058824 21 214 -.5520686 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 0 3 0 .57575756 6.947369 21 222 -.4855078 "01" 1 .036009464 "3" 0 "2" 2 "1" 1 4 0 3 0 .6153846 6.5 22 240 -1.0986123 "01" 1 0 "3" 0 "2" 2 "6" 6 0 1 3 0 .3333333 0 22 234 -.9555115 "01" 1 0 "3" 0 "2" 2 "6" 6 0 1 3 0 .3846154 0 22 226 -.737599 "01" 1 0 "3" 0 "2" 2 "6" 6 0 0 3 0 .4782609 0 22 238 -.4924765 "01" 1 0 "3" 0 "2" 2 "6" 6 0 1 3 0 .6111111 0 22 222 -.479573 "01" 1 0 "3" 0 "2" 2 "6" 6 0 0 3 0 .6190476 0 22 218 -.4700036 "01" 1 0 "3" 0 "2" 2 "6" 6 0 0 3 0 .625 0 22 214 -.3022809 "01" 1 0 "3" 0 "2" 2 "6" 6 0 0 3 0 .7391304 0 22 230 -.2719337 "01" 1 0 "3" 0 "2" 2 "6" 6 0 0 3 0 .7619048 0 23 218 -1.299283 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 0 3 0 .27272728 47.66666 23 238 -.6931472 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 1 3 .9331547 .5 26 23 240 -.6061358 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 1 3 .9331547 .54545456 23.83333 23 234 -.597837 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 1 3 .9331547 .55 23.636364 23 230 -.55961573 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 0 3 0 .5714286 22.75 23 226 -.45198515 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 0 3 0 .6363636 20.42857 23 222 -.3483067 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 0 3 0 .7058824 18.416666 23 214 -.2876821 "01" 1 .9331547 "3" 0 "3" 3 "1" 1 13 0 3 0 .75 17.333334 24 226 -.8472978 "01" 1 .05983265 "3" 0 "3" 3 "6" 6 1 0 3 0 .4285714 2.3333333 24 240 -.8109302 "01" 1 .05983265 "3" 0 "3" 3 "6" 6 1 1 3 .05983265 .44444445 2.25 24 230 -.7731899 "01" 1 .05983265 "3" 0 "3" 3 "6" 6 1 0 3 0 .4615385 2.1666667 24 238 -.5108256 "01" 1 .05983265 "3" 0 "3" 3 "6" 6 1 1 3 .05983265 .6 1.6666666 end format %tq numvar label values estu_n estu_n label def estu_n 2 "2", modify label def estu_n 3 "3", modify
Comment