In a discussion on this forum lognormal distribution, standard-deviation and (physical) units the cumulative distribution function (PDF) of the lognormal distribution was analysed. The conclusion was that `$\ln(x)$, and hence, $\mu$ and $\sigma$, are unit-free'.
While this seems plausible to me, I have an issue with the unit of the probability density function, given by
$$f(x) = \dfrac1{x \sigma\sqrt{2\pi}} \exp{\dfrac{-(\log x-\mu)^2}{ 2\sigma^2}}$$
$\log x$ is dimensionless, by taking the ratio of $x$ with its unit, $[x]$, i.e. $\log(x/[x])$ [1]. If $\mu$ and $\sigma$ are dimensionless it means that they are calculated based on dimensionless $x$.
Question 1
Is $x$ in the denominator of $\dfrac1{x \sigma\sqrt{2\pi}}$ also dimensionless? If it is, this would mean that $f(x)$ is dimensionless. Is this correct?
Question 2
Because in general the PDF has units of inverse random variable units, as discussed in [2], I deduce that the units of a PDF are dependent on the distribution. Is that correct?
References
[1] Matta, Massa, Gubskaya & Knoll, (2011), Can One Take the Logarithm or the Sine of a Dimensioned Quantity or a Unit? Dimensional Analysis Involving Transcendental Functions, Journal of Chemical Education, Vol 88, No. 1
[2] https://www.phy.ornl.gov/csep/mc/node13.html - Introduction to Monte Carlo Methods by the Computational Science Education Project (Oak Ridge National Laboratory)
Update
Taking into account @whuber comments, the PDF reads in fact $$f(x)=\dfrac1{x\sigma\sqrt{2\pi}} \exp\dfrac{-(\log \dfrac{x}{[x]} - \mu)^2}{2\sigma^2}$$ with $[x]$ the dimention of $x$. $\mu$ and $\sigma$ being dimensionless. Only in this form $f(x)dx$ is dimentionless probability. Is this sensible?