A single observation of a random variable having a geometric distribution is used to test the null hypothesis $\theta=\theta_0$ against the alternative hypothesis $\theta=\theta_1 > \theta_0$.
If the null hypothesis is rejected if and only if the observed value of the random variable is greater than or equal to the positive integer $k$ , find expressions for the probabilities of type I and type II errors.
My idea:
Type I error equals $\alpha$, which is the probability that we reject $H_0$ while it is true. Probability of type II error is $\beta$, which is the probability that we accept $H_0$ while $H_0$ is false.
Let's say the Null Hypothetis is rejected, this means that $X\ge k$ ?
I know that that $P(X\ge k ; \theta_0)= 1- \theta_0(1-\theta_0)^{k-1}$. Is this value equal to $\alpha$?
How can I calculate $\beta$? $P(X\ge k ; \theta_1)= \theta_1(1-\theta_1)^{k-1}$.
Who can help me making this clear ? :-)
Thank you for your trouble :-)