Hello everyone,
I would highly appreciate your help with the following:
I have a date-variable in the format such as "31jan2001" (type: long, Format: %td). For my further analysis, I would like to create a new variable which displays only the day-of-month, so the "31" as a numeric number.
I read several posts but I did not find a solution how to do this...
As always, thanks for your support!
Samuel
Related Posts with Date-variable: Extracting day-of-month as numeric
Not displaying the F-Statistics and and Prob value when using robust commandDear Statalist, I am having an balanced panel data set (banks profitability determinants factors) a…
Marginsplot not workingI would like to display a plot with the average marginal effect of nb_ygsibs5 with 95% CIs. This is…
Linear panel data: imposing MA(6) correlation errorsHello Statalist! I'm doing an exercise from Microeconometrics Using Stata, by Cameron and Trivedi, E…
time variable mistakeHi, I have a balanced panel data set with data, for each cross-section, up until 2016 (i=10, t=147)…
variable X not found in list of covariatesI have already read a lot of topic about this issue, but nothing has worked. I have my database wit…
Subscribe to:
Post Comments (Atom)
0 Response to Date-variable: Extracting day-of-month as numeric
Post a Comment