Hi, I am new to STATA. My data has 6 periods, 1 in pre-treatment (1983). The dependent variable is LIT, and the others are covariates. Under14 is the treatment term (1, if 6 <= AGE <= 13, 0 if 14 <= AGE <= 17) and post1986 (1, if YEAR > 1986, 0 otherwise) is the post-term. The problem is I have no data for the treatment year 1986.
URBAN: 1 for urban, 0 for rural
SEX: 1 for male, 0 for female.
NCHILD: number of children in a family.
FAMSIZE: number of members in the family.
STATE: geographical states of India.
LIT: literacy rate (1, if literate, 0 otherwise).
Periods: 1983, 1987, 1993, 1999, 2004, 2009.
Control group - 14-17 years and, treatment group - 6-13 years.
This is an example of my data, which has more than 900k observations.
The treatment was implemented in a single period, 1986, and therefore not staggered. Also, if it is helpful, my DiD model was meant to be a TWFE model, but I had to drop the time-fixed effects due to multicollinearity with the Post1986 term.
I have already tried several ways of creating the plots, also in RStudio, but I think I am getting them wrong. If anyone could please help me with the syntax, it would be really helpful. Thank you!
URBAN: 1 for urban, 0 for rural
SEX: 1 for male, 0 for female.
NCHILD: number of children in a family.
FAMSIZE: number of members in the family.
STATE: geographical states of India.
LIT: literacy rate (1, if literate, 0 otherwise).
Periods: 1983, 1987, 1993, 1999, 2004, 2009.
Control group - 14-17 years and, treatment group - 6-13 years.
This is an example of my data, which has more than 900k observations.
YEAR | STATE | URBAN | FAMSIZE | AGE | SEX | LIT | Post1986 | Under14 | NCHILD |
1983 | J&K | 0 | 6 | 8 | 0 | 0 | 0 | 1 | 0 |
1987 | Andhra Pradesh | 0 | 9 | 10 | 0 | 0 | 1 | 1 | 1 |
1990 | Delhi | 0 | 23 | 16 | 1 | 0 | 0 | 1 | 0 |
2004 | West Bengal | 1 | 23 | 6 | 0 | 0 | 0 | 1 | 0 |
I have already tried several ways of creating the plots, also in RStudio, but I think I am getting them wrong. If anyone could please help me with the syntax, it would be really helpful. Thank you!
Comment