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
Synthetic control for MicrodataI am using IPUMS microdata to run a differences-in-differences model and I want to augment it with a…
optimize issue with evaluator in a class Hi, I have the following two functions defined as public in the class nelogit_fp. Code: // ML d2…
Using numbers from tabulate var1 var2 into mcciDear Statalists, I need to perform a lot of McNemars using mcc or mcci (with a preference for mcci)…
Instrumental variable with ordinal dependent variable(reject the parallel test)Dear all, I am using the instrumental variable approach. My X variable is a binary variable, and Y …
Setting up a two-dimensional binary linear programming problemI am trying to solve a tricky (for me) 2D binary LP problem. Suppose I have a rectangular matrix B (…
Subscribe to:
Post Comments (Atom)
0 Response to Change date variable to one stata can read
Post a Comment