I have a list of mean values $\mu_i$ that all consist of a variable amount of values $n_i$ and I calculated each mean's corresponding standard deviation $\sigma_i$.
I want to calculate the mean value of the means ${\mu_1, ..., \mu_i}$:
$\hat{\mu}=\frac{1}{k}\sum_i^k\mu_i $ and calculate a standard deviation. What is the correct formula to use for the standard deviation on the value of the mean of means that takes into account that each mean was calculated with a different amount of values $n_i$?
It is not clear to me if I should use population or sample standard deviation for the $\sigma_i$s.
Note: this is not survey data but rather numerical data and I am trying to calculate the spread in the data of multiple identical measurements.