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?
Handling addresses in STATAHi! address in the dataset is in the following format: 59 NORTH STREET, PLAINFIELD, MASSACHUSETTS, 0…
Difference-in-difference and TreatmentHello, I am supposed to use a difference and difference model to estimate the effect of mergers on …
How to merge two graphs in STATA into one with A,B labels?I am reading a paper from PNAS. Their figure 1 is as below Array Normally, when running the graph…
Importing CSV with multiine text dataI am trying to import a CSV file in which some of the columns contain multiline text data. See below…
Mean t-test including fixed effectsI would like to do a Mean t-test which takes out fixed effects. Does anyone know a Stata formula for…
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