I am trying to find a sufficient and complete statistics function for $0<\theta<1$ of a sample $X = X_1, \dots, X_n$ from the Geometric Distribution.
We have $f(x;\theta) = (1-\theta)^{x-1}\theta $. Thus :
$$p(x;\theta)=\prod_{i=1}^n(1-\theta)^{x_i-1}\theta=\theta^n\prod_{i=1}^n (1-\theta)^{x_i-1}$$
$$=$$
$$\theta^n(1-\theta)^{\sum_i^n (x_i-1)} = \theta^n\exp\bigg\{(1-\theta)\ln\bigg(\sum_{i=1}^n(x_i-1)\bigg)\bigg\}$$
$$=$$
$$\theta^n\exp\bigg\{(1-\theta)\sum_{i=1}^n\ln(x_i-1)\bigg\}$$
This is an expression of the form of the Exponential Distribution Family and since the support does not depend on $\theta$, we can conclude that it belongs in the exponential distribution family. Thus, a sufficient and complete statistics function for $\theta$, is :
$$\sum_{i=1}^n\ln(x_i-1) \longrightarrow T(x) = \sum_{i=1}^n\ln x_i$$
Question : Is my approach and my conclusion correct ? Thanks in advance for your time.