# DETECTION AND ESTIMATION

## Learning outcomes of the course unit

Course Objectives:

Objective of the course is to provide the student with the ability to understand and apply the basic rules of detection and estimation theory, and in particular:

- to apply the most common statistical tests in deciding among different hypotheses

- to synthesize the structure of the optimal receiver and analyze its performance in the context of digital transmissions

- to apply the most common statistical estimators

- to synthesize the structure of the optimal filters and analyze their performance in the context of digital transmissions.

The abilities in applying the above-mentioned knowledge are in particular in the:

- design and performance analysis of the decision block in digital receivers

- design and performance analysis of the parameter-estimation blocks in digital receivers

## Prerequisites

Pre-requisites

Entry-level courses in probability theory and Fourier analysis for stochastic processes, such as those normally offered in the corresponding 3-year Laurea course, are necessary pre-requisites for this course.

## Course contents summary

Contents:

1. Detection Theory

1.1 Bayes, MiniMax, Neyman Pearson Tests

1.2 Multiple hypothesis testing MAP and ML tests

1.3 Sufficient statistics

Factorization, Irrelevance, Reversibility theorems

1.4 MAP Test with Gaussian signals. Additive Gaussian noise channel

1.5 Optimal detection of continuous-time signals: discrete representation.

Orthonormal bases and signal coordinates. Gram-Schmidt procedure.

Projection Theorem. Complete bases

1.6 Discrete representation of a stochastic process. Karhunen Leove (KL) basis

1.7 Optimal MAP receiver in AWGN

1.8 Techniques to evaluate error probability

1.9 Composite hypothesis testing: partially known signals in AWGN.

Optimal incoherent MAP receiver structure

1.10 Detection in additive colored Gaussian noise: whitening, Cholesky decomposition

1.11 Detection with stochastic Gaussian signals: Radiometer

2. Estimation theory

2.1 Fisherian estimation

2.1.1 Minimum Variance Unbiased Estimation

2.1.2 Cramer Rao Lower Bound

2.1.3 Maximum Likelihood estimation

2.2 Bayesian estimation

2.2.1 Minimum Mean Square Error estimation

2.2.2 MAP estimation

2.2.3 Linear MMSE estimation

2.2.4 Spectral Factorization and Wiener Filtering

## Course contents

Syllabus (every class = 2 hours)

CLASS 1:

First hour: Course organization, objectives, textbooks, exam details. Sneaky preview of the course, motivations, applications. Second hour: basic probability theory refresher: total probability, Bayes rule in discrete/continuous/mixed versions, double conditioning. A first elementary exercise on binary hypothesis testing.

CLASS 2:

First hour: completion of proposed exercise. Second hour: Bayes Tests.

CLASS 3:

First hour: exercise on Bayes Test (Laplacian distributions) Second hour: MiniMax Test.

CLASS 4:

First hour: esercise on Minimax. Second hour: Neyman Pearson Test with example.

CLASS 5:

First hour: ROC properties. NP test with distrete RVs: randomization. Second hour: Exercise on Bayes, Minimax, Neyman-Pearson tests.

CLASS 6:

First hour: Multiple hypothesis testing, Bayesian approach. MAP and ML tests. Decision regions, boundaries among regions: examples in R^1 and R^2. Second hour: exercise: 3 equally-likely signal "hypotheses" -A,0,A in AWGN noise: Bayes rule (ML) based on the sample-mean (sufficient statistic).

CLASS 7:

First hour: Minimax in multiple hypotheses. Sufficient statistics: introduction. Second hour: Factorization theorem, irrelevance theorem. Reversibility theorem. Gaussian vectors refresher: joint PDF, MGF/CF.

CLASS 8:

First hour: Summary of known main results on Gaussian random vectors: Gaussian MGF, 4th order statistics from moment theorem, MGF-based proof of Gaussianity of linear transformations. Examples of Gaussian vectors: Fading Channel. Second hour: A: MAP Test with Gaussian signals. B: Additive Gaussian noise channel. Decision regions are hyperplanes.

CLASS 9:

First hour: examples of decision regions. Optimal detection of continuous-time signals: motivation for their discrete representation. Second hour: Discrete signal representation: definitions. Inner product, norm, distance, linear independence. Orthonormal bases and signal coordinates.

CLASS 10:

Gram-Schmidt orthonormalization. Detailed example. Operations on signals, and dual operations on signal images.

CLASS 11:

Unitary marices in change of basis. Orthorgonal matrices: rotations and reflections. Orthogonality principle. Projection theorem. Interpretation of Gram-Schmidt procedure as repeated projections. Complete ON bases: motivations and definition.

CLASS 12:

First hour: exercises: 1. product of unitary matrices is unitary. 2. unitary matrix preserves norm of vectors. Projection matrices, eigenvectors, eigenvalues, spectral decomposition. Properties. Second hour: examples of complete bases in L2: the space of band-limited functions, evaluation of series coefficients, sampling theorem, ON check. More examples of complete bases: Legendre, Hermite, Laguerre.

CLASS 13:

Discrete representation of a stochastic process. Mean and covariance of process coefficients. Properties of covariance matrices for finite random vectors: Hermitianity and related properties. Whitening. Karhunen Leove (KL) theorem for whitening of discrete process representation (hint to proof). Statement of Mercer theorem. KL bases.

CLASS 14:

Summary of useful matrices: Normals and their subclasses: unitary, hermitian, skew-hermitian. If noise process is white, any ON complete basis is KL. Digital modulation. Example: QPSK. Digital demodulation with correlators bank or matched-filter bank.

CLASS 15:

First hour: Matched filter properties. Max SNR, physical reason of peak at T. Second hour: back to M-ary hypothesis testing with time-continuous signals: receiver structure. With white noise, irrelevance of noise components outside signal basis. Optimal MAP receiver in AWGN. Basis detector. Signal detector.

CLASS 16:

Examples of MAP RX and evaluation of symbol error probability Pe. First hour: MAP RX for QPSK signals and its Pe. Second hour: MAP RX for generic binary signals, basis detector, reduced complexity signal detector. Evaluation of Pe.

CLASS 17:

First hour: Techniques to evaluate Pe: rotational invariance in AWGN

## Recommended readings

Reference Textbooks

Part I: Detection

[1] J. Cioffi, "Signal Processing and Detection", Ch. 1, http://www.stanford.edu/~cioffi

[2] B. Rimoldi, "Principles of digital Communications", EPFL, Lausanne. Ch 1-4.

[3] A. Lapidoth, "A Foundation in Digital Communication" ETH, Zurich.

[4] R. Raheli, G. Colavolpe, "Trasmissione numerica", Monte Universita' Parma Ed., Ch. 1-5. In Italian.

Part II: Estimation

[5] S. M. Kay, "Fundamentals of statistical signal processing", Vol.I (estimation), Prentice-Hall, 1998.

## Teaching methods

Teaching Methods:

Classroom teaching and In-class problem solving, for a total 72hours.,

All Classes will be held online on Teams in the following Virtual Classroom.

The Team name of the course is "DETECTION AND ESTIMATION-DIA-LM-1-COMMUNICATION ENGINEERING". The Team registration code is

5nxymwq (for those accessing with a guest.unipr.it email).

Classes will be held in the virtual classroom on:

* Wednesday 10:00-12:00; Thursday 11:00-13:00; Friday 11:00-13:00
*

Teaching will work as follows. BEFORE every class, it is YOUR RESPONSIBILITY to watch on your own the corresponding

videolecture

and use the corresponding

class notes.

ID and password to access the videos/slides will be communicated to you in class on the first lecture.

At the scheduled Teams Videomeeting the instructor will go over the main concepts of the videolecture, provide extra examples, and answer the questions you hopefully will have collected along with your doubts/curiosities.

## Assessment methods and criteria

Exams:

Oral only, to be scheduled on an individual basis. When ready, please contact the instructor by email at alberto.bononi[AT]unipr.it by specifying the requested date.

The exam consists of solving some proposed exercises and explaining theoretical details connected with them, for a total time of about 1 hour.

The exam may be split into two distinct parts and scheduled on different days at the student's request: Part 1 Detection; Part 2 Estimation.

At the exam, you can bring your summary of important formulas in an A4 sheet to consult if you so wish. Some sample exercises can be found on the course website.

COVID emergency: The exam will take place online on Teams.

*ONLINE EXAM RULES*

We will be in video-connection on microsoft Teams. Once we agree on a time/date, you will get an invitation: to connect click on the link at the botton of the invitation email on the day of the exam.

At the beginning, you are requested to show at 360 degrees the room where you are taking the exam. You must be alone in the room, with only paper and pen and your allowed A4 summary sheet.

How the exam will proceed depends on whether you have just pen and paper (and a cell phone), or if you have an electronic device where you can write on by hand (eg a tablet)

CASE A) paper and pen:

I will provide you the text of the exam on my shared screen. You can copy that out on your paper sheet.

You are requested to look into the camera when you reply to me, or into your paper sheet when you write.

You are requested to tilt the camera of your PC such that the sheet of paper on which you write is clearly visible and readable by me.

This will allow me to follow your work and guide you towards the solution.

Sometimes you will be asked to take pictures of your work and send it by email/through the Teams chat. Please make sure to reduce the resolution of your camera, so that pictures are more compressed. Or please download the app

Adobe Scan to take compressed pictures, so that you can transmit them easily even on a low bandwidth connection.

CASE B) you have a tablet and can write on it

in that case I will send you a link to an electronic whiteboard

(I use https://whiteboardfox.com/) which we will use as a shared paper sheet to work out your exam, exactly as we used to do in my office.

IMPORTANT NOTICE: Getting help on the internet from others on solving your problem is considered as a delinquent behavior and may lead to your withdrawal from the exam and to possible further sanctions.

## Other informations

FURTHER INFORMATION:

1) Office Hours

Monday 15:00-17:00 (Scientific Complex, Building 2, floor 2, Room 2/19T).

COVID emergency: Meet me on the

"LMCE 20-21" Team Virtual Classroom (same as where Lecture 0 and prep-courses review took place). Please send an email so that we can schedule an appointment.

2) web site of course:

www.tlc.unipr.it/bononi/didattica/TSD/TSD.html

To get userid and password, please send an email to alberto.bononi[AT]unipr.it from your account nome@studenti.unipr.it.