I have a set of measurements of the period of a signal i.e. $S = [X_1, X_2, ..., X_N]$ with a 1-standard deviation error of the mean i.e. $\sigma_{\bar{S}} = \dfrac{\sigma_{S}}{\sqrt{N}} $ where $\sigma_{S}$ is the standard deviation related to the set $S$.
My aim is to calculate the mean frequency and the standard deviation of the mean frequency of this set. The frequency is defined as the inverse of the period.
We can follow 2 path:
We simply calculate the frequencies, the mean frequency $\bar{S'}$ from the frequencies set: $S'=[1/X_1, 1/X_2, ...,1/X_N]$ and the standard deviation of the mean frequency with $\sigma_{\bar{S}'} = \dfrac{\sigma_{S'}}{\sqrt{N}} $.
Or we calculate the mean frequency, denoted now $\bar{S''}$ from the mean of period of $S$ i.e. $\bar{S''} = \dfrac{1}{\bar{S}}$. For the frequency error we propagate the error in the following way: $\sigma_{\bar{S}''} = \dfrac{\sigma_{\bar{S}}}{\bar{S''}^2} $
What is the correct procedure to find the mean frequency and its standard deviation?
PS: I have empirically noted that point 2 leads to a higher uncertainty.