Hi everyone, I wanted to convert a regular date to a monthly date. The regular date variable is named after "DATE" in the attachment. I tried the command gen Mdate = mofd( DATE ), it's working good, but is there any way to specify the range in the regular date while converting to monthly date. For example for days after 2018/09/20 i want it to be converted to as 2018m10 (October not September). Thanks in advance. I am new in the forum, so apologies for any inconvenience.
Related Posts with Converting regular date to a monthly date
Latent class analysis: - gsem- & pseudo R-squaredDear users, This may be a dumb question, but I am trying familiarizing myself with Latent class clu…
Non-linear regression help (constrained output)Dear all, I have been running a non-linear regression on a data-set using the following specificati…
Problem with specifying count data modelsDear Statalists, I am performing nonlinear regression analysis and despite using several books on m…
Stata Command for Graphing placebo test resultsHi Everyone, I am trying to replicate the synthetic control method implemented by Abadie,Diamond, a…
Help with MergeGood Morning, I have some trouble in using the merge command in order to create a panel data on bank…
Subscribe to:
Post Comments (Atom)
0 Response to Converting regular date to a monthly date
Post a Comment