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
Help with Regression CommandsI am supposed to display a graph comparing the results by gender and students of multiple variables.…
Invalid Name Using ReplaceHello, I was trying to replace the value of some variables. My code is: replace a867_2900 = 375000…
Random effect panel regression for Exchange rate's influence on exportsDear Community, I am new on this forum and hope to proceed in the correct way and according to rules…
Don't understand what marginsplot is doing.I have run a simple regression model followed by a request for margins as follows: Code: . regSco…
Create a categorical from several continuous variables?Hi all, Back with another simple question on variable creation that is nonetheless stumping me. I h…
Subscribe to:
Post Comments (Atom)
0 Response to Change date variable to one stata can read
Post a Comment