Dear statalist,
This might be an easy question, but I didn't figure out how to do this. Say I have a set of years, 2010, 2014, 2015, 2019, 2020 etc, I want to create two dates, start date and end date, to account for the first day and last day of the year, e.g., 01jan2010 and 31dec2010, how to create these two variables? Thanks a lot for your help.
Related Posts with how to create the start and end date for a year
Out of sample predicted probabilities from probitHello everyone, I'm trying to replicate output produced by the NY Federal Reserve, but am a bit con…
Fixed Effects Model with time invariant (one-time thing) independent variableDear users, I am using National Longitudinal Survey of Youths (NLSY). My research question is: Doe…
weakivtest invalid syntax r(198)I am running fixed-effect instrumental variable panel regression. The data is unbalanced panel. The …
help with system GMM.Hi, I am trying to estimate a model that contains 30 countries N-30 and T=20. my research question i…
Generating a 1-0 variable if any of a varlist has a valueHello, I have a dataset that includes data from a baseline survey, post-intervention survey, and on…
Subscribe to:
Post Comments (Atom)
0 Response to how to create the start and end date for a year
Post a Comment