Show the NP detector for a Gaussian rank one signal as a Gaussian random process whose covariance matrix is Cs=σA2hhT embedded in WGN with variance σ2 can be written as
T′(x)=(n=0∑N−1x[n]h[n])2
Also, determine PFA and PD.
Hint: The test statistic is a scaled χ12 random variable under H0 and H1
Problem Setup
We are tasked with deriving the Neyman-Pearson (NP) detector for a Gaussian rank-one signal embedded in white Gaussian noise (WGN). The covariance matrix of the signal is given by:
For the same threshold ( \eta ), the probability of detection is:
PD=P(T′(x)>η∣H1)=Qχ12(λ)(σ2∥h∥2η)
Here, ( Q{\chi_1^2} ) and ( Q{\chi_1^2(\lambda)} ) are the complementary cumulative distribution functions (CCDFs) of the central and noncentral chi-squared distributions, respectively.
Summary of Results
The test statistic ( T'(\mathbf{x}) ) is:
T′(x)=(hTx)2
Under ( \mathcal{H}_0 ):
T′(x)∼σ2∥h∥2χ12
Under ( \mathcal{H}_1 ):
T′(x)∼σ2∥h∥2χ12(λ),λ=σ2σA2∥h∥2
Probabilities:
False Alarm:
PFA=Qχ12(σ2∥h∥2η)
Detection:
PD=Qχ12(λ)(σ2∥h∥2η)
P2
A rank one signal is a random signal whose mean is zero and whose covariance matrix has rank one. As such the covariance matrix can be written as Cs=uuT, where u is an N×1 vector.
Show that the signal s[n]=Ah[n] for n=0,1,…,N−1 where h[n] is a deterministic sequence and A is a random variable with E(A)=0 and var(A)=σA2 is a rank one signal
Problem Statement
A rank-one signal satisfies the following:
1. Mean E[s[n]]=0,
2. Covariance matrix Cs of rank one:
Cs=uuT
where u is an N×1 vector.
We need to verify that the signal s[n]=Ah[n] is a rank-one signal, where:
h[n] is a deterministic sequence,
A is a random variable with:
E[A]=0andVar(A)=σA2.
Step 1: Expressing the Signal
The signal s[n] is defined as:
s[n]=Ah[n],n=0,1,…,N−1
In vector form, this can be written as:
s=Ah,
where:
s=[s[0],s[1],…,s[N−1]]T,
h=[h[0],h[1],…,h[N−1]]T.
Step 2: Mean of the Signal
The mean of s is given by:
E[s]=E[Ah].
Using the property of expectation and the fact that A is a random variable with E[A]=0:
E[s]=E[A]h=0⋅h=0.
Thus, the mean of the signal is zero:
E[s[n]]=0.
Step 3: Covariance Matrix of the Signal
The covariance matrix of s is defined as:
Cs=E[ssT].
Substitute s=Ah:
Cs=E[(Ah)(Ah)T].
Simplify:
Cs=E[A2]hhT.
Since E[A2]=Var(A)=σA2 (because E[A]=0):
Cs=σA2hhT.
Step 4: Rank of the Covariance Matrix
The matrix Cs=σA2hhT is a rank-one matrix because it is formed as the outer product of the vector h with itself. Specifically:
1. The rank of hhT is 1 if h=0.
2. Scaling by σA2 does not change the rank.
Thus, Cs is a rank-one matrix.
Conclusion
The signal s[n]=Ah[n] satisfies:
1. E[s[n]]=0,
2. The covariance matrix Cs=σA2hhT is of rank one.
Therefore, s[n]=Ah[n] is a rank-one signal.
P3
We observe two independent samples x[n] for n=0,1 from the exponential PDF:
p(x[n])={λexp(−λx[n])0for x[n]>0,for x[n]<0,
where λ is unknown and λ>0.
The hypothesis testing problem is:
H0:λ=λ0
H1:λ>λ0
We aim to determine:
1. If a uniformly most powerful (UMP) test exists,
2. The test statistic T(x),
3. PFA as a function of the threshold.
Step 1: Likelihood Ratio Test (LRT)
Joint PDF
The two samples x[0] and x[1] are independent and identically distributed (IID). The joint PDF is:
Taking the logarithm (monotonic transformation), we can write:
lnΛ(x)=2ln(λ0λ1)−(λ1−λ0)S,
where S=x[0]+x[1] is the sufficient statistic.
Step 2: Uniformly Most Powerful (UMP) Test
Neyman-Pearson Lemma
For a one-sided hypothesis test (H1:λ>λ0), the Neyman-Pearson Lemma ensures that a UMP test exists if the likelihood ratio Λ(x) is a monotonic function of the sufficient statistic S=x[0]+x[1].
From the likelihood ratio:
Λ(x) increases as S decreases (since (λ1−λ0)>0).
Thus, the UMP test exists, and the test statistic is:
T(x)=S=x[0]+x[1].
Step 3: Test Threshold and Decision Rule
The decision rule for the UMP test is:
Reject H0 if T(x)<η, where η is the threshold.
Step 4: False Alarm Probability (PFA)
Under H0, λ=λ0, and the sufficient statistic S=x[0]+x[1] is the sum of two IID exponential random variables. The sum of two exponential random variables follows a Gamma distribution:
fS(s∣λ0)=λ02sexp(−λ0s),s>0.
The cumulative distribution function (CDF) is:
FS(s∣λ0)=1−exp(−λ0s)(1+λ0s).
The false alarm probability is:
PFA=P(T(x)<η∣H0)=FS(η∣λ0).
Substitute the CDF:
PFA=1−exp(−λ0η)(1+λ0η).
Summary
UMP Test: The UMP test exists.
Test Statistic: T(x)=x[0]+x[1].
False Alarm Probability:
PFA=1−exp(−λ0η)(1+λ0η).
The threshold η can be set to achieve a desired PFA.