I am trying to understand the metrics of a good estimator. For example, the Bernoulli probability of success takes the parameter p. But for $X_1,\ldots, X_n \overset{\textrm{iid}}{\sim}\textsf{Ber}(p^2), $ how would you estimate the $ p^2?$
How would you find $\hat {p^2}= \frac1n\sum_{i=1}^n X_i =\bar X? $ Or similarly $Y_1,\ldots, Y_n \overset{\textrm{iid}}{\sim}\textsf{Ber}(p), $ how would you find, working forwards not backwards, that$\hat p = \frac1n \sum_{i=1}^n Y_i^2 = y^2 $ is a GOOD estimator? I am not following these examples.