A positive duration can have a distribution whose logarithm is symmetric even though the duration itself is not. In a lognormal model, the mean and standard deviation of the logarithm do not directly describe the center and spread in milliseconds. Confusing these two spaces changes the model before any probability is calculated. A separate source of confusion is software terminology: a parameter called location can mean an additive physical offset rather than the mean of a logarithm.
Consider an invented duration X. Define Z = ln(X/t_ref), where t_ref is one millisecond, and suppose Z is normal with mean mu = ln(10) and standard deviation sigma = ln(2). The logarithm acts on a dimensionless ratio. This is a mathematical example, not a claim that a robot's observed durations follow this distribution. No timing experiment, fitted dataset, or statistical-library call was executed.
Start with the median
The normal distribution of Z is symmetric about mu, so half its probability lies below mu. Because exponentiation is increasing, half the probability of X lies below t_ref exp(mu). The physical median is therefore 10 milliseconds. Multiplying or dividing that median by two changes Z by exactly one sigma: 20 milliseconds corresponds to one standard deviation above the log mean, while 5 milliseconds corresponds to one below it.
The associated cumulative probabilities are approximately 0.841344746 at 20 milliseconds and 0.158655254 at 5 milliseconds. These are symmetric probabilities in log space around the median. They are not equal additive displacements around an arithmetic mean: the physical changes are plus 10 milliseconds and minus 5 milliseconds.
Why the arithmetic mean rises
The physical mean is E[X] = t_ref E[exp(Z)]. Its derivation explains why simply exponentiating the log mean misses an extra factor. Inside the normal-density integral, combine the exponent z with -(z-mu)^2/(2 sigma^2). Completing the square gives -(z-mu-sigma^2)^2/(2 sigma^2) + mu + sigma^2/2.
The remaining shifted normal density integrates to one. Thus E[X] = t_ref exp(mu + sigma^2/2). With sigma = ln(2), the mean is approximately 12.715371297 milliseconds. It exceeds the 10-millisecond median because the exponential mapping stretches the upper side more than it compresses the lower side. The mean of the mapped variable is not generally the mapped mean.
The same moment method gives variance = t_ref^2 exp(2 mu + sigma^2)[exp(sigma^2)-1]. Here it is approximately 99.725714316 square milliseconds, and the physical standard deviation is approximately 9.986276299 milliseconds. Sigma itself is dimensionless; substituting sigma = 0.693147 as if it were a millisecond standard deviation would describe a different distribution.
The mode introduces another distinction
The highest-density physical duration is approximately 6.185031378 milliseconds, below both the median and the mean. To see why, the density in physical x includes a factor 1/x from the logarithmic change of variable. Apart from constants, its logarithm is -ln(x/t_ref) - [ln(x/t_ref)-mu]^2/(2 sigma^2). Differentiating with respect to ln(x/t_ref) locates the maximum at mu - sigma^2.
Therefore the physical mode is t_ref exp(mu - sigma^2). Exponentiating the most likely value of Z alone would give the median, not this physical-density mode. Density height depends on the coordinate measure: equal-width bins in milliseconds differ from equal-width bins in logarithmic duration. Probabilities of corresponding intervals still agree after the correct transformation.
Map software parameters explicitly
SciPy's official lognorm documentation uses s for the shape parameter. For the zero-offset model here, s = ln(2), scale = 10 milliseconds, and loc = 0. Its scale corresponds to the physical median. Mu is ln(scale/t_ref) in our dimensionally explicit notation; it is not the value supplied as the additive loc parameter.
Now define Y = X + 5 milliseconds. The corresponding physical offset is loc = 5 milliseconds. The median becomes 15 milliseconds and the mean becomes approximately 17.715371297 milliseconds. The transformed quantity that is normal is ln[(Y - 5 milliseconds)/t_ref]. The logarithm of Y/t_ref itself does not become normal merely because Y is a shifted lognormal variable.
NIST distinguishes a zero-location, two-parameter form from a shifted general form. Its scale and standard-form moment formulas require attention to that convention. In the shifted case, the full physical median includes the offset; reading a scale label without checking the density's argument can hide that addition.
Units and spread are separate choices
Expressing the original duration in seconds changes its physical scale to 0.010 seconds and its mean to approximately 0.012715371297 seconds. Sigma remains ln(2). If the reference is also converted to 0.001 seconds, X/t_ref and mu remain unchanged. If instead one declares a new reference of one second, the log location becomes ln(0.010). A logarithmic location therefore needs its reference convention, while a consistent change of units does not alter the underlying probabilities.
A unit-free spread check is the coefficient of variation, physical standard deviation divided by physical mean. For this zero-offset model it is sqrt[exp(sigma squared) - 1], approximately 0.785370404. Converting milliseconds to seconds changes numerator and denominator by the same factor and leaves their ratio unchanged. Adding a five-millisecond offset instead leaves standard deviation unchanged while increasing the mean, so that ratio changes. A shift and a change of units therefore cannot be treated as the same parameter operation.
Finally, keep the median at 10 milliseconds but double sigma to 2 ln(2). The mean rises to approximately 26.140638154 milliseconds even though the median stays fixed. A single center parameter cannot describe this change in upper-tail weighting. A stated lognormal model should identify its offset, physical scale or median, log spread, and units before using any derived statistic.
Sources checked October 24, 2026: the official SciPy lognorm reference and NIST lognormal handbook page linked below establish parameter conventions and standard formulas. All chosen durations and the worked transformations are original examples. Concept illustration: a robot workstation image supplies context, not timing measurements or evidence that a lognormal model fits a real system.
Reference links:
SciPy: scipy.stats.lognorm: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.lognorm.html
NIST/SEMATECH: Lognormal Distribution: https://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm