Hi amanning,

Beta is the type II error. It's the probability of not rejecting H0 when H0 is false.

To calculate beta, first you need to get the rejection/acceptance region based on your H0, H1 and significance level, then you can get the conditional probability of the acceptance region given H0 is false.

Let me know if you have further questions.