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
Logic operations with generateI have a database with three variables: 27 states, 10 years and a GDP for each year. I want to gener…
Identifying the first & last non-missing AdjClose (i.e. observation) by year for each groupI have 1200 companies that are identified by CIQ_IDs. I also have an id variable within each CIQ_ID,…
How to collate multiple, individual regression outputsLooking for some help on the following: I want to tabulate the univariate association of 8 variable…
Logical operation using generateI have a database with three variables: 27 states, 10 years and a GDP for each year. I want to gener…
Quade's test (non-parametric ANCOVA)Hello Stata users I wondered if you could inform me whether STATA performs the nonparametric ANCOVA …
Subscribe to:
Post Comments (Atom)
0 Response to Formatting and managing dates, from String to MMYYYY format
Post a Comment