EE 520: Random Processes (Fall 2026). Due: October 30, 2026, 11:59 PM PT. Instructor: John Lipor.
Submit your work as a PDF through the course submission system. If you need an accommodation or an alternate format, contact the instructor.
Note: For all questions asked in this course, unless the question is simply asking about definitions, please justify all answers. Stating the correct answer without justification will earn no credit. For example, if you write down a string of equations, each successive equation should be accompanied by some justification such as “by the additivity axiom” or “because the outcomes are equally likely” or “by the distributive property of set operations.” You do not need to justify algebra.
In wireless propagation, the received power in decibels is well modeled as Gaussian, (this is log-normal shadowing). The linear-scale power is .
Derive the PDF of using the monotone change-of-variables formula. This distribution has a name: identify it. (Session 7 introduces this transform and leaves the derivation to you.)
A receiver loses lock when the linear power drops below a threshold . Compute the outage probability two ways: directly from the PDF of , and by transforming the event into decibels and using . Confirm that the two agree, and state which you would actually use.
One sentence: why is there a derivative in the change-of-variables formula? (Hint: densities are not probabilities.)
The envelope of a complex Gaussian channel gain is Rayleigh, with CDF
Derive the inverse-CDF sampler: given , give the explicit formula that produces a Rayleigh draw, and justify why has CDF . (Session 7 derives the exponential sampler in class and leaves the Rayleigh case to you.)
Implement it using uniform draws only (no
np.random.rayleigh), and histogram
samples against the PDF. Turn in your plot and your
code. From now on you know what the library samplers are doing.
Two candidate noise models for a range sensor have the same variance: and a Laplace distribution with matching variance.
Compute under each model. By what factor do they differ?
You observe one reading standard deviations away from the predicted range. Under which noise model is this reading more plausibly “just noise” rather than a faulty sensor? Answer with a computed ratio, then give one sentence on why tail behavior, not variance, is the modeling decision that matters here.
Parts (a) and (b) suggest that the ratio of the two tail probabilities keeps growing. Prove it. First show that for every , where is the upper-tail probability and is the standard normal density (see Session 6). Hint: in , every in the range of integration satisfies . Then use this bound to show that as .
An acoustic source at the origin insonifies scatterers whose ranges are iid . The first echo to arrive comes from the nearest scatterer. Find the PDF of the first-echo range using the CDF method, and compute its mean.
A target is present () with prior . You must decide “present” or “absent.” A correct call is worth , a false alarm costs , a miss costs , and a correct rejection is worth .
Compute the expected utility of each immediate action and the optimal act-now decision.
Before deciding, you may buy (for units) one sensor reading with and . Compute the value of the measurement: the expected utility of acting optimally after , averaged over , minus the act-now value. Should you buy?
Session 7 left a question open: how does the value of a measurement depend on the prior? Keep the utilities and the sensor of part (b), let be a general prior, and let be the value of the measurement before its price is paid. Show that is piecewise linear in and write it out explicitly. Hint: for each reading , find the priors for which the best action after seeing is “present.” Then answer the following.
on two whole intervals of priors, not just at and . Find them, and explain in one sentence why the reading is worthless there.
Find where peaks and its peak value. Explain why the peak sits at that prior and not at .
For which priors is the reading worth its price of ?
Neural networks sometimes need a learnable on/off switch: whether to keep a unit when pruning a network, or a binary hidden variable in a generative model. The switch should be on with a probability set by a real parameter , which training adjusts by following derivatives. The trouble is that a switch is a step function of : its derivative is zero everywhere except at a single jump, so derivatives carry no information about which way to move . A fix used in practice, the binary Concrete (or Gumbel-sigmoid) relaxation, builds the switch from Gumbel noise.
Let and be independent standard Gumbel random variables (Session 6), and let . Define the hard switch and, for a temperature , the relaxed switch
Using Session 7’s representation with , write in terms of two independent random variables and . Find by integrating the joint density of over the appropriate region of the plane (sketch the region). You should obtain the standard logistic CDF. Find the density of , show that it is symmetric about , and conclude that .
Derive the density of on using the monotone change-of-variables formula. Show that for every , so rounding the relaxed switch recovers the hard switch exactly. Then show that when and , is , and explain in one sentence why this had to happen, using an idea from Session 7.
Before running: with , predict the shape of the histogram of for a small temperature, , and for a large one, . Where does the probability pile up, and does the fraction of samples above change with ?
Implement the relaxed switch using uniform draws only, and draw samples of for each of with . Histogram each against your density from part (b). Finally, hold the noise fixed and show that In one or two sentences, explain the trade-off training faces when choosing .
Turn in: your prediction versus the outcome, the three plots, the fraction of samples above for each , and your code.
The assistant was asked: “ models a normalized interference power; a nonlinear stage outputs . Find the PDF of .” It answered:
This solution contains exactly one error.
Identify the first line that goes wrong.
Name the violated principle in one sentence, citing the session.
Fix the density, and give a one-line diagnostic (dimensional or normalization) that would have exposed the error without redoing the derivation.
One sentence: why is this a mistake a language model plausibly makes?
Flagging a correct step as an error costs credit; certifying correctness is part of the skill.