I need some help in my statistics class. How to compute Z of the given are two different sample mean, total number of two sample and the population standard deviation. What I know is that in the formula, sample variance is needed. Is the population standard deviation same with sample variance? Or is there any other way to solve this? Thank you for your answers!
2026-03-24 23:39:18.1774395558
Computing a two-sample Z statistic
1.6k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in STATISTICS
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- Statistics based on empirical distribution
- Given $U,V \sim R(0,1)$. Determine covariance between $X = UV$ and $V$
- Fisher information of sufficient statistic
- Solving Equation with Euler's Number
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Determine the marginal distributions of $(T_1, T_2)$
- KL divergence between two multivariate Bernoulli distribution
- Given random variables $(T_1,T_2)$. Show that $T_1$ and $T_2$ are independent and exponentially distributed if..
- Probability of tossing marbles,covariance
Related Questions in HYPOTHESIS-TESTING
- Neyman-Pearson precision problem
- Rejecting null based on the likelihood ratio test
- What statistical test should I use?
- Should We Use a Paired or Two-Sample Test?
- How to prove inadmissibility of a decision rule?
- Statistics Hypothesis Testing of Continuous Variables
- Experimentally proving bias
- Hypothesis testing: mean comparison
- uniformly most powerful test: binomial distribution
- Can significance check be applied and which one?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
It seems you are trying to make sense of the so-called two-sample Z test. I will show the formula for $Z$ and how to compute it.
Information about the formula. For that test we have two independent samples from different normal populations $\mathsf{Norm}(\mu_1, \sigma_1)$ and $\mathsf{Norm}(\mu_2, \sigma_2),$ where the population means $\mu_1$ and $\mu_2$ are unknown and their standard deviations $\sigma_1$ and $\sigma_2$ are known.
We want to test the null hypothesis $H_0: \mu_1 = \mu_2$ against the alternative $H_a: \mu_1 \ne \mu_2.$
Data are summarized as sample means $\bar X_1 = \frac{1}{n_1} \sum_{i=1}^{n_1} X_{1i}$ and $\bar X_2 = \frac{1}{n_2} \sum_{i=1}^{n_2} X_{2i}.$
Structure of the formula. The numerator of the test statistic $Z$ is the difference $\bar X_1 - \bar X_2$ of the sample means, which is an estimate of the difference $\mu_1 - \mu_2$ of the population means. And the denominator is the standard deviation of the numerator (sometimes called the 'standard error'). So the $Z\text{-statistic}$ is $$Z = \frac{\bar X_1 - \bar X_2}{\sqrt{\frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2}}}.$$ This formula may seem impossibly complicated, but it's entirely manageable if we take the numerator and denominator step-by-step as shown in the example below.
You reject the null hypothesis at the 5% level of significance if $|Z|\ge 1.96$ and do not reject if $-1.96 < Z < 1.96.$
Computation of the formula--Numerical Example. For example, suppose we have $n_1 = 10$ observations from the first population with $\bar X_1 = 27.9$ and $\sigma_1 = 3.$ Also, suppose we have $n_2 = 12$ observations from the second population with $\bar X_2 = 23.4$ and $\sigma_2 = 4.$
Then the numerator of $Z$ is $\bar X_1 - \bar X_2 = 27.9 - 23.4 = 4.5.$
The denominator is as follows. Notice that the formula uses population variances $\sigma_1^2 = 9$ and $\sigma_2^2 = 16.$ Above we were given the population standard deviations $\sigma_1 = 3$ and $\sigma_2 = 4,$ so we must square the standard deviations when computing the denominator. $$\sqrt{\frac{9}{10} + \frac{16}{12}} = \sqrt{2.2333} = 1.494.$$
Finally, $Z = 4.5/1.494 = 3.012.$
Conclusion. Because $|Z| = 3.012 \ge 1.96,$ we reject $H_0$ and conclude that the population means differ.