Is there any opportunity to create such interval where a variable ($\{\ln(X_i)\}^n_{i=1}$) is the fraction of prices for two periods?

$$
X_i = \frac{price.new_i}{price.old_i}
$$

Please, look at my attempt below. Is everything correct?