Hi all!
I’m trying to specify the characteristics of my data set with the command svyset, but I’m not completely sure if I’m doing it well and I really appreciate if you can guide me a bit. I’m working with an independent monthly household survey. The survey collect data from individuals and for each date (year and month) I have an individual expansion factor, where, one person represents other hundred people, another one could represent 150, and so on.
I have data from 2008 to 2013. I am trying to use it as a pooled cross section data set, and I want find the effect of a law about extending the weeks of maternity leave that was implemented on July 2011 on job market variables. I only use women and I have a treatment group: women between 20-30 years old and a control group: women 40-50.
I’ve been using this code:
And my estimation is something like this:
I was wondering if the specification reflects what my data set is, and if the regression is well written to get the effect and solve the problem with the standard errors. I was also wondering if it is better to use svy bootstrap for my type of data.
Thanks for your help.
I’m trying to specify the characteristics of my data set with the command svyset, but I’m not completely sure if I’m doing it well and I really appreciate if you can guide me a bit. I’m working with an independent monthly household survey. The survey collect data from individuals and for each date (year and month) I have an individual expansion factor, where, one person represents other hundred people, another one could represent 150, and so on.
I have data from 2008 to 2013. I am trying to use it as a pooled cross section data set, and I want find the effect of a law about extending the weeks of maternity leave that was implemented on July 2011 on job market variables. I only use women and I have a treatment group: women between 20-30 years old and a control group: women 40-50.
I’ve been using this code:
egen monthXyear = group(month year)
svyset monthXyear [pw=fxp], strata(year)Where fxp is the variable containing the expansion factor for each observation.
And my estimation is something like this:
xi: svy : reg DEPENDENT_VAR law2011##fertile CONTROLS i.month i.yearWhere law2011 is a dummy that takes 1 after the law was implemented and fertile is a dummy that takes 1 for the treatment group.
I was wondering if the specification reflects what my data set is, and if the regression is well written to get the effect and solve the problem with the standard errors. I was also wondering if it is better to use svy bootstrap for my type of data.
Thanks for your help.
Comment