Sunday 20 September 2015

self study - Confusion regarding pdf of circularly symmetric complex gaussian rv


Considering a random variable $x$ that takes in values from a complex domain. Its real and imaginary components are totally uncorrelated. I am following this link and also studying this document.


In the wikipedia link, the pdf for a single observation is given and $k =2$ for bivariate gaussian as my assumption is that the real and imaginary are totally uncorrelated and are gaussian respectively. There is a 2 in the denominator in the pdf but the log likelihood for the complex case does not have any 2 in the denominator. The log-likelihood for $k=2$ would be $$-N \ln| \Sigma| - (x_n) {|\Sigma|}^{-1}(x_n)^H - k N \ln \pi$$ where $\mu=0$ as I am assuming zero mean r.v $x$




  • Confusion 1:


    I was thinking that the variance of $x$ was $$\Sigma = \begin{bmatrix}\sigma_1^2 & 0\\ 0& \sigma_2^2\end{bmatrix}\,\text.$$ So for $N$ samples (observation), the joint pdf would turn out to be $$P_x(x_1,x_2,...,x_N) = \prod_{n=1}^N\frac{1}{\pi \sigma^2_x} \exp \bigg(\frac{-{({x_n})}^H ({x_n})}{\sigma^2_x} \bigg)$$ where $\sigma^2_x = [\sigma_1^2,\sigma_2^2]$. Would there be a 2 in the denominator of the pdf and what is the correct pdf expression?





  • Confusion 2:


    In the document, the expression for the pdf for complex case looks different from the wikipedia link. Are they the same but maybe I am missing some link between them? Which pdf should I use?




  • Confusion 3:


    When simulating the r.v in Matlab with zero mean and variance 1, I am halving the variance because the real and imaginary part's variance should add up to 1. Then, would the pdf also contain half of the variance as $\sigma^2_x/2$?





Answer




Let me try to establish the relation between the univariate PDF for a real Gaussian and the univariate PDF for a complex proper (i.e. circular symmetric) Gaussian.


You know that
$p_x(x)=\frac{1}{\sqrt{2\pi\sigma^2}}\exp(\frac{-x^2}{2\sigma^2})$ is the PDF of a real-valued Gaussian with variance $\sigma^2$. We write $x\sim\mathcal{N}(0,\sigma^2)$ to denote that $x$ is a random variable that follows a real-valued Gaussian with zero mean and variance $\sigma^2$.


Now, let $z=a+jb$ be a circular symmetric random variable with real part $a$ and imaginary part $b$. In a circularly symmetric Gaussian random variable, the real and imaginary part are i.i.d., i.e. $a\sim\mathcal{N}(0,\sigma^2)$ and $b\sim\mathcal{N}(0,\sigma^2)$. Since $a,b$ are independent, their joint PDF is the product of their PDFs.


$$p_z(z=a+jb)=\frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(\frac{-a^2}{2\sigma^2}\right)\cdot\frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(\frac{-b^2}{2\sigma^2}\right)$$


which gives the PDF of the complex variable $z$ at the value $a+jb$. We can reformulate this to $$\begin{align}p_z(z=a+jb)&=\frac{1}{2\pi\sigma^2}\exp\left(\frac{-(a^2+b^2)}{2\sigma^2}\right)\\&=\frac{1}{2\pi\sigma^2}\exp\left(\frac{-z^*z}{2\sigma^2}\right)\\&=\frac{1}{2\pi\sigma^2}\exp\left(\frac{-\|z\|^2}{2\sigma^2}\right)\end{align}$$


We also write for this case that $z$ follows a circular Gaussian distribution and denote this by $z\sim\mathcal{CN}(0,2\sigma^2)$. Why is it suddenly $2\sigma^2$ (i.e. the double variance compared to the uni-variate, real case? Well, because $E[\|z\|^2]=2\sigma^2$ since it consists of a real and an imaginary part (which are independent and hence their variance adds up together).


So, to sum up:



  • if $x\sim\mathcal{N}(0,\sigma^2)$, then $p_x(x)=\frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(-\frac{x^2}{2\sigma^2}\right)$


  • if $z\sim\mathcal{CN}(0,\sigma^2)$, then $p_z(z)=\frac{1}{\pi\sigma^2}\exp\left(-\frac{z^*z}{\sigma^2}\right)$


Does this answer your confusions?


No comments:

Post a Comment

readings - Appending 内 to a company name is read ない or うち?

For example, if I say マイクロソフト内のパートナーシップは強いです, is the 内 here read as うち or ない? Answer 「内」 in the form: 「Proper Noun + 内」 is always read 「ない...