# Hand Coding the Power of a Test

We want to test if our population average is different from twenty.

We therefore specify the follow zero hypothesis.

\[H_0: \mu = 20\]The alternative hypothesis is

\[H_a: \mu \neq 20\]Accepting

We want to test if our population average is different from twenty.

We therefore specify the follow zero hypothesis.

\[H_0: \mu = 20\]The alternative hypothesis is

\[H_a: \mu \neq 20\]Accepting