I'm trying to find a confidence interval for a parameter $\theta$, yet I'm not quite sure I'm following the right steps.
The probability function is such that: $$f(x|\theta) = \frac{1}{\theta} x^{-\left(\frac{1}{\theta}+1\right)}$$
I have shown that for a sample of size $n$, $ \sum_{i=1}^{n} \ln(X_i)$ is a sufficient statistic. I am trying to prove that $Q(\theta,x) = \frac{1}{\theta} \sum_{i=1}^{n} \ln(X_i)$ is a pivotal quantity.
To do so, I have to prove that its density is independent of $\theta$. So I did:
$$ P\left(\frac{1}{\theta} \sum_{i=1}^{n} \ln(X_i) \leq a \right) = \sum_{i=1}^{n} P\left( \ln(X_i) \leq \theta a\right) = \sum_{i=1}^{n} P\left(X_i \leq e^{a\theta}\right) $$
Evaluating the integral, it's not hard to show that the density for $Q$ does not depend on $\theta$. Problem is, I considered that: $$ P\left(\frac{1}{\theta} \sum_{i=1}^{n} \ln(X_i) \leq a \right) = \sum_{i=1}^{n} P\left( \ln(X_i) \leq \theta a\right)$$ because it's a sample and then all $X_i$ must be iid. Can I do this step? It seems wrong to me, because I feel I'd have to use a convolution. But the solution interestingly is independent of $\theta$. Can I get any tips?
Thanks!