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')?
How to subset my dataset based on multiply string filters?My data set is very big, so I copy and paste the first 15 rows as a new exemple excel file. Code: …
esttab output format for mixed interaction modelsDear Statalist, I need output the mixed interaction effects using esttab. However, I have two model…
Comparing two coefficients in GMMDear Stata users, I am using the Difference and System GMM approach for estimation and I want to co…
omitted categories among the results of the linear fixed effect regressioinsDear All: I am writing a simple linear regression. I have the following code: reg y i.fourthq##i.typ…
Panel dataHi everyone, Need help with analysing this data. A description of the data: Individuals are biannua…
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