I have daily data in string format as 1/1/ 2019. The string length is different as there as values e.g. 1/1/2019, 1/23/2019, 12/31/2019, 2/1/2020, 2/29/2020 etc. I need to get it into a monthly numeric data as 20190724, 20200313 etc. I could not mange it with the 'datetime' method. Any help in this regard?
Related Posts with Any precise way to convert dialy to monthly: string 1/1/2019 to numeric 20190101?
Using svyset for melogitHello, I am analyzing a binary outcome (depvar) using melogit so that I may 1) account for the comp…
Wildcards with noccurHi there, Can I use wildcards with the egen function noccur? If not, is there another way to use wi…
Restrict AxisI would like to restrict the x and y axis of a graph that was made using the following command; sca…
Suest command with more than 300 modelsHi all, I'm estimating arond 1000 models where the only thing that changes is the dependent variabl…
qreg converges in Stata/IC 15.0 (& gives reasonable standard errors), but fails to converge in Stata/MP 17.0Dear All, I have a household-level dataset of 511,877 observations, and run a quantile regression o…
Subscribe to:
Post Comments (Atom)
0 Response to Any precise way to convert dialy to monthly: string 1/1/2019 to numeric 20190101?
Post a Comment