2
$\begingroup$

I have a set of observational measurements, each with their unique +/- observational error. I need to take the logarithm of this set of data. My question is, to include the error bars in the logarithm graph is it appropriate to take the logarithm of the values along with the logarithm of their respective errors? For example is it appropriate to say X=1000 +/- 10 and log(x)= 3 +/- 1 ?

$\endgroup$

2 Answers 2

2
$\begingroup$

In log-space, you interpret errors in terms of orders of magnitude. So, $3 \pm 1$ as a log-error represents a difference of one order of magnitude from $10^3$, i.e. the interval $[10^2, 10^4]$, which is dramatic, assuming that your data $X = 10^3 \pm 10$.

You should take the $\log$ of min and max values of $X$, i.e. if $X = 10^3 \pm 10$, then $\log(X) \in [2.995635, 3.004321]$.

$\endgroup$
0
$\begingroup$

Propagation of error (a.k.a. propagation of uncertainty) should be used so that you're plotting the relative error. For Log10, that's:

$$ \frac{\sigma_x}{x \times \ln10} $$

where $\sigma_x$ is the error and $x$ is the measurement.

So your example of $1000 \pm 10$ becomes

$$\log_{10}{1000} \pm \frac{10}{1000 \times \ln10}$$

$$3 \pm 0.00434$$

References:

$\endgroup$
2
  • $\begingroup$ What are $\sigma_x$ and $x$ above? How do they correspond to X and observation error? $\endgroup$
    – dimitriy
    Commented Jul 25, 2023 at 23:48
  • $\begingroup$ @dimitriy clarified. $\endgroup$
    – ZachB
    Commented Jul 26, 2023 at 0:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.