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?
Propensity score matchingHi all, I am currently trying to run PSM on STATA14 to compare effect of treatment 1 vs treatment 2…
marginal effect of latent class logit modelI am trying to obtain the marginal effect of the membership variable in latent class logit model Arr…
do file doesn't run well on DropboxHey everyone, we are using Dropbox to collaborate our work in Stata. I wrote a do file that runs pe…
Esttab Output File not generated properlyI am writing the following code: local variables= "taxratesales taxrateVAT" estpost tabstat `variab…
Understanding Stata's default yscale() choiceHi everyone, I am trying to find out how Stata chooses the exact default range of the y-axis. The a…
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