Dear All,
I am a new user in Stata.
I am having a basic question and would kindly ask for your help. I want to change the data format from string to the date format (MMYYYY). I have tried this formula date(Date2, "MY") and then created the monthly format (Date3). However, the format is not what I expected.
Many thanks for your support,
Chi
Related Posts with Formatting and managing dates, from String to MMYYYY format
Am I correct with the tow step GMM syntax?Hello dear Stata users, I am doing research on working capital management and firm performance with…
group data in a panel setDear Statalist, Here is a part of the sample data, which shows the gender of each employee in 3500 …
Generate random points from a given point coordinatesHi, I have a database of coordinates (lat, lon) and I would like to randomly generate a set of new …
Error Component Random Parameter Logit Model with Correlated Errors in STATA 16Hi everyone, I am trying to estimate an Error Component Random Parameter Logit Model with Correlated…
Error Component Random Parameter Logit Model with Correlated ErrorsHi everyone, I am trying to estimate an Error Component Random Parameter Logit Model with Correlated…
Subscribe to:
Post Comments (Atom)
0 Response to Formatting and managing dates, from String to MMYYYY format
Post a Comment