Complex aggregations on multiple indices alias

Hi,

If we create multiple indices under an alias and run query aggregations like stats aggregation, how does Elasticsearch compute metrics like Standard deviation? Will the accuracy of these types of metrics be lower than if all the data was on a single index?

Thanks,
Shreedhan