I have a string variable containing licence plates, names and dates separated by / . As in 122000200106_Cheyrmen, Murauwatpur Panchayat Pacs-02/11 where 11 is 2011, in 121900200198_Shiv Nath Prasad Sah-72/2007 2007 is 2007, and in 121500100430_Dinesh Poddar-02/93 93 is 1993. How can I extract the year in YYYY format? Any suggestions would help, thanks
Related Posts with Splitting strings
Runby for each firm_id and yearHi, I am trying to run a regression for each firm_id (gvkey) and year and store the estimated coeff…
Collapse quarterly dataHello, I have this panel with a monthly date that I converted to a quarterly date. I want to keep a…
Propensity Score Matching (PSM) + Difference-in-Difference (DID) regression with control variablesHi there, I have two-period balanced panel data (200 individuals in both periods), with which I hav…
Can I keep a model, where R-square is very low, (0.1361) but the independent variables seem to be very significant?I used 3 indep var. …
List Unique Data of One or More VariablesI would like to see a list of unique data for one or more variables. Can anyone please suggest how b…
Subscribe to:
Post Comments (Atom)
0 Response to Splitting strings
Post a Comment