Skip to main content
2 of 2
deleted 4 characters in body
Nick Cox
  • 59.5k
  • 8
  • 136
  • 212

Your two ways are not different: they give the same result. You can use algebra to check that $$ \frac{x_1+\dotsm+x_n+\bar{x}}{n+1}=\bar{x} $$ where $\bar{x} = \frac{x_1+\dotsm+x_n}{n}$ is the mean.

kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663