Hi,
As my post title states, I have data with varied hyphenated intervals such as '3-6', '1-5', '10-12', and so on, and I want to convert these into their consituent integers delimited by commas. So '3,4,5,6', '1,2,3,4,5', and '10,11,12', respectively. Does anyone have any ideas as to how this could be done?
Thank you
Related Posts with Ideas on how to convert a hyphenated interval (e.g. '5-8') into its constituent integers delimited by commas (e.g. '5,6,7,8')?
Dropping duplicates takes more that 24 hr.Dear stata forum, I am quite new to Stata and I ran into an issue. I have panel data with quarterly…
Generating Mean Values for a variable based on 2 conditions in Panel DataHi, I have panel data of150+ companies for the years 2001-19. I have divided these years between pr…
If condition with loopsHi, I would like to fill out the out of sample stock returns based on factor values (LogSize DY MOM…
Out of sample calculationsHello, I am looking for a solution to expand my matrices in Mata for some out of sample calculation…
MI for MAR Panel DataHello, I am hoping someone might be able to point me to code that would allow me to perform multipl…
Subscribe to:
Post Comments (Atom)
0 Response to Ideas on how to convert a hyphenated interval (e.g. '5-8') into its constituent integers delimited by commas (e.g. '5,6,7,8')?
Post a Comment