how to calculate mean Archive