Data aggregation in crowdsensing application

Thank you for the quick response. I started writing the code but I have another doubt: how can I aggregate the mean from users’ measurements to one general mean? In general how can I aggregate different normal distributions?