Hi everyone,
I generated a variable (gen perc=.) and would like to give it a certain value every few rows. Like the below:
I believe I have to do a loop, but couldn't find any similar example in the forum. Could you please help me with the code?
Thank you,
I generated a variable (gen perc=.) and would like to give it a certain value every few rows. Like the below:
perc |
p10 |
p50 |
p90 |
p10 |
p50 |
p90 |
p10 |
p50 |
p90 |
Thank you,
Comment