The null hypothesis \(H_{0}=\frac{1}{4}\) is rejected, and The alternative hypothesis \(H_a=\frac{1}{2}\) is accepted.

If the observed value of \(X_1\), a random sample of size one, is less than or equal to \(3\).

Find the size of Type 1 error, Type 2 error and power of the test.

I have no idea to solve the question. I only know that

###Size of a Type 1 error = Pr[rejecting\(H_0|H_0 \)is true]

###Size of a Type 2 error = Pr[not rejecting[/math]H_0|H_0 [/math]is False]

The sign \(|\) denotes "given that".