Expectation of inverse of complex Gaussian variables
Afficher commentaires plus anciens
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 commentaires
Bruno Luong
le 3 Jan 2023
Modifié(e) : Bruno Luong
le 3 Jan 2023
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)
Bruno Luong
le 3 Jan 2023
Modifié(e) : Bruno Luong
le 3 Jan 2023
@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
le 3 Jan 2023
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
le 3 Jan 2023
Modifié(e) : Bruno Luong
le 3 Jan 2023
@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
le 3 Jan 2023
Modifié(e) : John D'Errico
le 3 Jan 2023
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
le 3 Jan 2023
@Paul I see I miss to read the comment, thanks. I stand corrected.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





