load data, calculate mean and daily activity