I'm new to Stata and I have a dumb question. I have a date variable (indexdate) with the format %tdD_m_Y. I want to create a year/month variable from the date variable so I can examine what's happening to another variable (% imprisoned) month by month. Can anyone help?
regards Don
Related Posts with Extracting a month/year variable from a date
Angrist-Pischke F-Statistic Missing in xtivreg2?Dear all, I have two endogeneous regressors and two instruments. I read that the Kleibergen-Paap rk…
Date-variable: Extracting day-of-month as numericHello everyone, I would highly appreciate your help with the following: I have a date-variable in …
outreg2 for all dataframesHi, I am using Stata 17 and would help in producing tables in all my dataframes. Below is an exampl…
mkspline coefficient interpretation in case of statistical insignificant How can I understand the values of '"p>|t|"? If the p-value of the coefficient is not statistica…
What are the functional form of the fixed-effects regression, random-effects regression and pooled regression?Good morning to the community Stata. I wrote that the functional form of the fixed-effects regressi…
Subscribe to:
Post Comments (Atom)
0 Response to Extracting a month/year variable from a date
Post a Comment