I want to create a function that does hypothesis testing. One of the parameter is alpha, given alpha I want to get rejection region (by lookin up z-score table) how can I do this using python?
for example: if I input alpha=0.05 it should return [-1.96, 1.96]