$X_1,X_2,...,X_n$ are iid random variables having pdf $$f_X(x|\theta) = (\theta + 1)\theta x(1-x)^{\theta-1}I_{(0,1)}(x)$$
Give a one-dimensional sufficient statistic.
I started to solve this by factoring $\theta$ away from x as much as possible and ended up with
$$f(x|\theta) = x/(1-x) I_{(0,1)}(x) \theta(\theta + 1)(1-x)^{\theta}$$
Is this the right way to go about this?
By the factorization criterion $$ \prod_{i=1}^n f_{X_i}(x; \theta) = (\theta + 1)^n\theta^n \prod_{i=1}^n ( 1 - x_i )^{\theta} \times \prod_{i=1}^n \frac{x_i}{(1-x_i)} $$ hence $h(X) = \prod_{i=1}^n \frac{x_i}{(1-x_i)}$ and $g(\theta; X) = \prod_{i=1}^n ( 1 - x_i )^{\theta}$, so the MSS is $f(X) = \prod_{i=1}^n ( 1 - x_i )$.