Finding the 3rd Number to Keep Variance Unchanged

  • Context: MHB 
  • Thread starter Thread starter Yankel
  • Start date Start date
  • Tags Tags
    Variance
Click For Summary
SUMMARY

The discussion centers on determining a third number, \( y \), to be added to the set \{0, 2\} such that the variance remains unchanged when calculated using the formula for population variance, \( \sigma^2 = \frac{1}{n} \sum (x_i - \mu)^2 \). The initial variance is calculated as \( \sigma^2 = 1 \). The equations derived include \( \mu = \frac{1}{3}(0 + 2 + y) \) and \( \sigma^2 = \frac{1}{3}[(0 - \mu)^2 + (2 - \mu)^2 + (y - \mu)^2] = 1 \). This leads to a quadratic equation in \( y \), highlighting the need for the expected mean \( \mu \) to avoid losing a degree of freedom.

PREREQUISITES
  • Understanding of population variance calculation
  • Familiarity with quadratic equations
  • Knowledge of mean and its significance in statistics
  • Basic algebra skills for solving equations
NEXT STEPS
  • Study the derivation of population variance formulas
  • Learn how to solve quadratic equations effectively
  • Explore the implications of degrees of freedom in statistical calculations
  • Investigate the differences between population and sample variance
USEFUL FOR

Students, statisticians, and data analysts who are interested in understanding variance calculations and the effects of adding data points to a dataset.

Yankel
Messages
390
Reaction score
0
Hello

I have a problem solving this question...

to the numbers 0 and 2, we want to add a 3rd number, such that the variance won't change. What is the 3rd number ?

(when I say variance I mean dividing by n, not by n-1)

thanks !
 
Physics news on Phys.org
Yankel said:
Hello

I have a problem solving this question...

to the numbers 0 and 2, we want to add a 3rd number, such that the variance won't change. What is the 3rd number ?

(when I say variance I mean dividing by n, not by n-1)

thanks !
The variance is the square root of the sum of the differences from of the data points from the mean so... $\sigma^2=\frac{1}{2}\left[(0-1)^2+(2-1)^2\right]=1$. If we add the new point $y$, we will need to solve the system of equations. $\mu=\frac{1}{3}\left[ 0+2+y\right]$ and $\sigma^2=\frac{1}{3}\left[(0-\mu)^2+(2-\mu)^2+(y-\mu)^2\right]=1$ This will give a quadratic equation in $y$
 
TheEmptySet said:
The variance is the square root of the sum of the differences from of the data points from the mean so... $\sigma^2=\frac{1}{2}\left[(0-1)^2+(2-1)^2\right]=1$. If we add the new point $y$, we will need to solve the system of equations. $\mu=\frac{1}{3}\left[ 0+2+y\right]$ and $\sigma^2=\frac{1}{3}\left[(0-\mu)^2+(2-\mu)^2+(y-\mu)^2\right]=1$ This will give a quadratic equation in $y$

If we divide the variance by n instead of by (n-1), we can only do so if the expected mean $\mu$ is given.
Otherwise we would lose a degree of freedom.

So the set of equations should be:

$\sigma^2=\frac{1}{2}\left[(0-\mu)^2+(2-\mu)^2\right]$
$\sigma^2=\frac{1}{3}\left[(0-\mu)^2+(2-\mu)^2+(y-\mu)^2\right]$

This does introduce the problem that we have more unknowns than equations.
 
I like Serena said:
If we divide the variance by n instead of by (n-1), we can only do so if the expected mean $\mu$ is given.
Otherwise we would lose a degree of freedom.

So the set of equations should be:

$\sigma^2=\frac{1}{2}\left[(0-\mu)^2+(2-\mu)^2\right]$
$\sigma^2=\frac{1}{3}\left[(0-\mu)^2+(2-\mu)^2+(y-\mu)^2\right]$

This does introduce the problem that we have more unknowns than equations.
Maybe I am misunderstanding something but the way I read the problem was if we have the data set $\{0,2 \}$ we can calculate the mean and variance directly. Now if a new data set is created by adding one other point $\{0,2,y \}$. We can now calculate the new population mean and the new variance of this three point data set. Now we can just solve for what $y$ needs to be. I will wait for clarification from the OP on this.
 

Similar threads

  • · Replies 42 ·
2
Replies
42
Views
5K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
5
Views
5K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K