I am perfoming a robust z-score analysis to remove trends of temporal evolution of a certain variable so that I can compare different years.
It is robust because there are outliers.
My data is somehow a population.
I am applying this method for each year. In each year there is a variable number of data. Some of them have 30 points. Others 500.
What is the minimum size of each year “population” for the median to be a representative statistical measure of the population?