Question: how to calculate standard deviation for z test?
Answer: z = (x-μ) / σ, where μ is the population mean and σ is the population standard deviation. Note: if you don't know the population standard deviation or the sample size is below 6, you should use a t-score instead of a z-score.