splitting data into n equal parts (terciles, quartiles,etc)
Posted: Thu May 22, 2014 2:16 am
Hi! I couldn't figure out how to do a splitting into different equal intervals and i don't want to do it manually , so I am wondering which function could I use (I am quite bad with programming, so i'd appreciate if you can write the full code)? I'm interested in a function where you can choose into how many parts to split the data - for example if i choose 0,25 it will take the first quartile and so on. I have version 8. Also, is it possible to do it at the same time for all series or to apply it to the variables included in a group/regression?
Thank you!
Ana
Thank you!
Ana