Suppose that a manufacturing process makes about $3 \%$ defective items, which is considered satisfactory for this particular product. The managers would like to decrease this to about $1 \%$ and clearly want to guard against a substantial increase, say to $5 \%$. To monitor the process, periodically $n=100$ items are taken and the number $X$ of defectives counted. Assume that $X$ is $b(n=100, p=\theta)$. Based on a sequence $X_{1}, X_{2}, \ldots, X_{m}, \ldots$, determine a sequential probability ratio test that tests $H_{0}: \theta=0.01$ against $H_{1}: \theta=0.05 .$ (Note that $\theta=0.03$, the present level, is in between these two values.) Write this test in the form
$$
h_{0}>\sum_{i=1}^{m}\left(x_{i}-n d\right)>h_{1}
$$
and determine $d, h_{0}$, and $h_{1}$ if $\alpha_{a}=\beta_{a}=0.02$.