AI Regulations in China
AI Regulations in the European Union (EU)
AI Regulations in the US
AI Regulations in India
Model safety
Synthetic & Generative AI
MLOps
Model Performance
ML Monitoring
Explainable AI

Z-Test

Z-test is a statistically significant test used to determine whether two population means are different from each other.

The test can be performed on one or two samples, or on proportions for hypothesis testing. It is used to test the null hypothesis, which states that the mean of a population is equal to a specific value. 

The Z-test is appropriate to use when the population standard deviation is known and the the sample size is large. It is based on the Z-score, which is the number of standard deviations a data point is from the mean. The test helps determine the significance of a set of data, determining the probability of a data point coming from a specific population. 

A one-sample z-test is calculated as follows:

two sample z-test for means formula and examples

Where,

x̄1, x̄2= the mean of samples first and second sample, 

μ1, μ2= the mean of  first and second population

σ1, σ2= the population standard deviation for first  and second population

n1 and n2= number of data points in first and second sample

Z-test is used for categorical features where number of labels is </= 2. The default threshold is 0.05 in AryaXAI.

Liked the content? you'll love our emails!

Thank you! We will send you newest issues straight to your inbox!
Oops! Something went wrong while submitting the form.

Is Explainability critical for your 'AI' solutions?

Schedule a demo with our team to understand how AryaXAI can make your mission-critical 'AI' acceptable and aligned with all your stakeholders.