Site icon Stata.Professor : Your Partner in Research

Reply To: 12 month rolling percentiles

Thank you for your fast reply! i have 100 variables to execute the command with. Can I combine it with varlist since I do not want to list all of them in the line? Also, i still need to loop with forvalue i= 0.01 (1) 0.99 { since I want to calculate all of the percentiles ? is there a need to generate variables, as I understand gen command does not work with multiple variables. Thanks in advance! best Mike
Exit mobile version