I have time series data and I am trying to calculate/identify the 0.5 percentile and 99.5 percentile for a specific variable for each year. In this case, I have ROA values for banks from 1992-2015. I've tried using centile but the output of centile was different from sum, as proven why here.
For this case, the data is simple. Just ROA values for each bank (about 10,000 observations per year) and the corresponding year.
I'm not sure if pctile is appropriate for time series data, as I'd like to identify the .5 and 99.5 percentiles for each year.
Any help would be greatly appreciated.
For this case, the data is simple. Just ROA values for each bank (about 10,000 observations per year) and the corresponding year.
I'm not sure if pctile is appropriate for time series data, as I'd like to identify the .5 and 99.5 percentiles for each year.
Any help would be greatly appreciated.
Comment