I'd appreciate if anyone could help me with this one. I need to plot median and percentile confidence intervals (2.5 and 97.5) instead of mean and CIs (I basically need an alternative of
ciplot)

ciplot continuous_variable, by( time_period)

Here is the dataset.

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input int id float(time_period continuous_variable)
 1 0 18
 1 1 13
 1 2  5
 2 0 18
 2 1 57
 2 2 43
 3 0  0
 3 1 38
 3 2  0
 4 1 63
 4 2  5
 7 0 26
 7 1 11
 7 2  8
 7 3  6
 8 0 67
 8 1 39
 8 2 65
12 0  6
12 1 22
12 2 22
15 0  5
15 1 15
16 0 21
16 1 98
16 2 56
17 0 15
17 1 12
17 2 38
17 3 10
18 0 41
18 1 42
19 0 14
19 1 13
21 0  3
21 1  9
21 2  9
end
label values time_period a
label def a 0 "first", modify
label def a 1 "second", modify
label def a 2 "third", modify
label def a 3 "fourth", modify
Thank you