2 Sample Z Test Calculator

Enter the required data to calculate with our 2 Sample Z Test Calculator that is both in basic mode and advanced calculator. Furthermore, read the formula and solved examples to get better understanding.

2 Sample Z Test Calculator

Formula:

 

Z=X1X2(s12n1)+(s22n2)Z = \frac{X_1 – X_2}{\sqrt{\left(\frac{s_1^2}{n_1}\right) + \left(\frac{s_2^2}{n_2}\right)}}

Variables

VariableMeaning
ZZZ-score (difference in terms of standard deviations)
X1X_1Mean of the first sample
X2X_2Mean of the second sample
s12s_1^2Variance of the first sample
s22s_2^2Variance of the second sample
n1n_1Size of the first sample
n2n_2Size of the second sample

Solved Examples:

Example 1:

Given:

  • Mean of the first sample (X_1) = 50
  • Mean of the second sample (X2X_2) = 45
  • Variance of the first sample (s12s_1^2) = 16
  • Variance of the second sample (s22s_2^2) = 25
  • Size of the first sample (n1n_1) = 30
  • Size of the second sample (n2n_2) = 30
CalculationInstructions
Step 1: Substitute the values into the formula:Start with the formula.
Z=5045(1630)+(2530)Z = \frac{50 – 45}{\sqrt{\left(\frac{16}{30}\right) + \left(\frac{25}{30}\right)}}Replace the variables with the given values.
Step 2: Calculate the components of the denominator:Compute the variance ratios.
(1630)+(2530)0.533+0.833\sqrt{\left(\frac{16}{30}\right) + \left(\frac{25}{30}\right)} \approx \sqrt{0.533 + 0.833}Simplify the fractions inside the square root.
Step 3: Add the values inside the square root:Sum the simplified fractions.
1.3661.169\sqrt{1.366} \approx 1.169Take the square root of the sum.
Step 4: Calculate the Z-score:Divide the difference in means by the result from Step 3.
Z=51.1694.28Z = \frac{5}{1.169} \approx 4.28Final Z-score calculation.

Answer: The Z-score is approximately 4.28.

Example 2:

Given:

  • Mean of the first sample (X1X_1) = 60
  • Mean of the second sample (X2X_2) = 55
  • Variance of the first sample (s12s_1^2) = 20
  • Variance of the second sample (s22s_2^2) = 30
  • Size of the first sample (n1n_1) = 40
  • Size of the second sample (n2n_2) = 35
CalculationInstructions
Step 1: Substitute the values into the formula:Start with the formula.
Z=6055(2040)+(3035)Z = \frac{60 – 55}{\sqrt{\left(\frac{20}{40}\right) + \left(\frac{30}{35}\right)}}Replace the variables with the given values.
Step 2: Calculate the components of the denominator:Compute the variance ratios.
(2040)+(3035)0.5+0.857\sqrt{\left(\frac{20}{40}\right) + \left(\frac{30}{35}\right)} \approx \sqrt{0.5 + 0.857}Simplify the fractions inside the square root.
Step 3: Add the values inside the square root:Sum the simplified fractions.
1.3571.165\sqrt{1.357} \approx 1.165Take the square root of the sum.
Step 4: Calculate the Z-score:Divide the difference in means by the result from Step 3.
Z=51.1654.29Z = \frac{5}{1.165} \approx 4.29Final Z-score calculation.

Answer: The Z-score is approximately 4.29.

What is  2 Sample Z Test Calculator ?

The 2 Sample Z Test Calculator is a statistical tool used to compare the means of two independent samples to determine if there is a significant difference between them. This test is particularly useful when you want to know if the difference in sample means is large enough to be considered statistically significant.

The Formula calculates the Z-score, which tells you how many standard deviations the difference between the two means is from the expected difference (usually zero). This calculator is commonly used in fields such as medicine, economics, and social sciences to make informed decisions based on sample data.

 

Similar Posts

  • Milliradian Distance Calculator

    Multiply the size of the target (SS) by 27.8, then divide by the observed milliradian (mradmrad). The Milliradian Distance Calculator simplifies range estimation by leveraging the angular measurement of milliradians (mrad). This method is commonly used in shooting, hunting, and military applications to determine the distance to a target based on its size and the…

  • Multiplying 3 Fractions Calculator

    To multiply three fractions, multiply their numerators together to get the new numerator and their denominators together to get the new denominator. Then, simplify the resulting fraction if possible. The Multiplying 3 Fractions Calculator is a helpful tool for multiplying three fractions or mixed numbers quickly and accurately. Multiplying fractions is a key concept in…

  • Gear Inch Calculator

    To calculate gear inches, multiply the tire’s rolling diameter by the result of dividing the chainring teeth by the rear cog teeth.  The Gear Inch Calculator is a tool used by cyclists to evaluate and compare gearing setups for different riding conditions. It calculates the effective wheel size, which indicates how far a bicycle travels…

  • 3dB Rule Calculator

    Explore this 3db Rule Calculator. It is both in basic and advanced mode. Kindly put original power (watts) value to calculate power after 3db reduction. Welcome to 3db Rule Calculator, a powerful online calculator used in telecommunication and audio engineering to understand the signal attenuation. Formula The formula is: P2=P110(310)P2 = \frac{P1}{10^{\left(\frac{3}{10}\right)}}​ Where: P2P2 is…