Skip to main content
edited tags
Link
user603
  • 23k
  • 3
  • 88
  • 155
edited title
Source Link
user603
  • 23k
  • 3
  • 88
  • 155

How can I find best points without changing Constrained mean and variance optimization

I have some numbers $X={x_1,x_2,...,x_n}$. I add some small numbers to them and get $Y={y_1,y_2,...,y_n}$ where $y_i=x_i+\epsilon_i$. How can I find $Z={z_1,z_2,...,z_n}$ to minimize $\sum_{i=1}^n(z_i-y_i)^2$ such that $\text{mean}(Z)=\text{mean}(X)$$\hat{\text{mean}}(Z)=\hat{\text{mean}}(X)$ and $\text{var}(Z)=\text{var}(X)$$\hat{\text{var}}(Z)=\hat{\text{var}}(X)$. I have solved it for the simple case of $\text{mean}(X)=0$$\hat{\text{mean}}(X)=0$ and $\text{var}(X)=1$$\hat{\text{var}}(X)=1$. However, the computation is too long for the general case. I wonder if there exist more statistical (hopefully shorter) version of the solution.

Regards

PS: $x_i\in R$

How can I find best points without changing mean and variance

I have some numbers $X={x_1,x_2,...,x_n}$. I add some small numbers to them and get $Y={y_1,y_2,...,y_n}$ where $y_i=x_i+\epsilon_i$. How can I find $Z={z_1,z_2,...,z_n}$ to minimize $\sum_{i=1}^n(z_i-y_i)^2$ such that $\text{mean}(Z)=\text{mean}(X)$ and $\text{var}(Z)=\text{var}(X)$. I have solved it for the simple case of $\text{mean}(X)=0$ and $\text{var}(X)=1$. However, the computation is too long for the general case. I wonder if there exist more statistical (hopefully shorter) version of the solution.

Regards

PS: $x_i\in R$

Constrained mean variance optimization

I have some numbers $X={x_1,x_2,...,x_n}$. I add some small numbers to them and get $Y={y_1,y_2,...,y_n}$ where $y_i=x_i+\epsilon_i$. How can I find $Z={z_1,z_2,...,z_n}$ to minimize $\sum_{i=1}^n(z_i-y_i)^2$ such that $\hat{\text{mean}}(Z)=\hat{\text{mean}}(X)$ and $\hat{\text{var}}(Z)=\hat{\text{var}}(X)$. I have solved it for the simple case of $\hat{\text{mean}}(X)=0$ and $\hat{\text{var}}(X)=1$. However, the computation is too long for the general case. I wonder if there exist more statistical (hopefully shorter) version of the solution.

Regards

PS: $x_i\in R$

edited body
Source Link
remo
  • 267
  • 1
  • 4
  • 13

I have some numbers $X={x_1,x_2,...,x_n}$. I add some small numbers to them and get $Y={y_1,y_2,...,y_n}$ where $y_i=x_i+\epsilon_i$. How can I find $Z={z_1,z_2,...,z_n}$ to minimize $\sum_{i=1}^n(z_i-x_i)^2$$\sum_{i=1}^n(z_i-y_i)^2$ such that $\text{mean}(Z)=\text{mean}(X)$ and $\text{var}(Z)=\text{var}(X)$. I have solved it for the simple case of $\text{mean}(X)=0$ and $\text{var}(X)=1$. However, the computation is too long for the general case. I wonder if there exist more statistical (hopefully shorter) version of the solution.

Regards

PS: $x_i\in R$

I have some numbers $X={x_1,x_2,...,x_n}$. I add some small numbers to them and get $Y={y_1,y_2,...,y_n}$ where $y_i=x_i+\epsilon_i$. How can I find $Z={z_1,z_2,...,z_n}$ to minimize $\sum_{i=1}^n(z_i-x_i)^2$ such that $\text{mean}(Z)=\text{mean}(X)$ and $\text{var}(Z)=\text{var}(X)$. I have solved it for the simple case of $\text{mean}(X)=0$ and $\text{var}(X)=1$. However, the computation is too long for the general case. I wonder if there exist more statistical (hopefully shorter) version of the solution.

Regards

PS: $x_i\in R$

I have some numbers $X={x_1,x_2,...,x_n}$. I add some small numbers to them and get $Y={y_1,y_2,...,y_n}$ where $y_i=x_i+\epsilon_i$. How can I find $Z={z_1,z_2,...,z_n}$ to minimize $\sum_{i=1}^n(z_i-y_i)^2$ such that $\text{mean}(Z)=\text{mean}(X)$ and $\text{var}(Z)=\text{var}(X)$. I have solved it for the simple case of $\text{mean}(X)=0$ and $\text{var}(X)=1$. However, the computation is too long for the general case. I wonder if there exist more statistical (hopefully shorter) version of the solution.

Regards

PS: $x_i\in R$

added 42 characters in body
Source Link
Glen_b
  • 290.5k
  • 37
  • 652
  • 1.1k
Loading
Source Link
remo
  • 267
  • 1
  • 4
  • 13
Loading