Expectation of inverse of complex Gaussian variables
이전 댓글 표시
Hi there, I just have a mathematic problem. If we consider a Gaussian complex random variable vector
, where each element in
follows zeros mean and variance γ. Is there any close form with γ for
? where
is the norm-2 operation. I have asked the same question in MathOverflow at https://mathoverflow.net/questions/436733/expectation-of-inverse-of-complex-gaussian-variables?noredirect=1#comment1125524_436733.
? where the people in mathoverflow showed that this expectation is infinity mathematically. But in matlab, we can find out that the above expectation can converge to a certain value. So there must be some error that I couldn't find out and misunderstanding. Really appreciate for any comments!
clc;close all;clear all;
num_loop=5000;
N=5;Eh=0;
for i=1:num_loop
h=sqrt(1/2)*(randn(N,1)+1i*randn(N,1));
Eh=Eh+1/norm(h)^2;
end
Eh=Eh/num_loop
댓글 수: 8
Bruno Luong
2023년 1월 3일
편집: Bruno Luong
2023년 1월 3일
People in mathoverflow are correct. Your code does not compute the expextation. It estimates the expectation for random variable that has an expectation, which is NOT the case.
@Bruno Luong Still, though, the empirical means do seem to converge to something as we take more and more samples. It would be good to know if there is a mathematical reason for that, and if that limit can be predicted, even if it is not the statistical mean.
M=1e7;
N=5;
h=sqrt(1/2)*(randn(N,M)+1i*randn(N,M));
x=1./vecnorm(h).^2;
Eh=cumsum(x,2)./(1:M);
loglog(Eh)
@Matt J I think randn cannot capture the math correctness (true), sine it is diverge theoreticlly because normal random variable can get arrbitrally small create singular 1/r close to 0. However for whatever reason, randn rarely create number smaller than this
r=randn(1,1e7);
min(abs(r))
which is very far from arbitrary small to my book. The imperfect of randn() does not matter in most case, matter here.
Note that rand has the same imperfect filling toward 0
r=rand(1,1e7);
min(abs(r))
Paul
2023년 1월 3일
As I understand the linked mathoverflow page, if h is a complex scalar then the expectation is infinite (or does not exist?). But if h is a complex vector, then the expectation is finite.
Bruno Luong
2023년 1월 3일
편집: Bruno Luong
2023년 1월 3일
@Paul, the singularity is 1/r when r goes to 0 for all cases. So the expectation is Inf for all cases as long as P(0) > 0.
John D'Errico
2023년 1월 3일
편집: John D'Errico
2023년 1월 3일
The problem is, if you compute a sample mean from a Monte Carlo simulation, you will get some finite (and random) result. But that does not tell you anything about the population mean. And you are asking how to compute an EXPECTATION, so the population mean. And that has no finite value.
Then I guess you disagree with the commen on the mathoverflow page?
link to comment (make sure to click on "Show 6 more comments"
Bruno Luong
2023년 1월 3일
@Paul I see I miss to read the comment, thanks. I stand corrected.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





