Hello Statalist,
I've a question regarding my dataset. I want to extract the year and month separate from my "first_payment_date" variable but nothing seems to work.
I have uploaded an attachment to see what my dataset looks like. This is for 1 loanid, and then I've 10,000 of different loanids and each loanid has one first payment date.
It looks like stata doesn't recognize that first payment date is a date which stands in this case for May 2007 (200705).
Could someone help me out with this?
Kind regards,
Gabe
Related Posts with Change date variable to one stata can read
Creating a prioritised ethnicity group variableHi all I have hospital admissions data, organised so each observation is an admission. There is a v…
Stata data manipulation filtering, summing and removing duplicates from quarterly observation dataHello dear Statalist, I am quite new with Stata and I could really need help for my thesis. I have…
Collapsing milliseconds data in secondsHi, i have a question in collapsing data. In the data sample below the header is the timestamp in mi…
Local projections impulse responde by country groupIn the following example by Oscar Jorda, I want to add impulse responses by different groups of coun…
Growth rates from Panel dataset.Hi Statalist, I have a panel dataset (monthly survey responses) which is defined by a firm id varia…
Subscribe to:
Post Comments (Atom)
0 Response to Change date variable to one stata can read
Post a Comment