[Home]

Projects


Projects This page lists a few fun projects related to things we have learned. These are totally optional, and will have no bearing on the marks that you will get. Indeed, unless you are finding the course super easy, I would advise you to think about the projects only after the semester is over.

Project 1

In one of the exercises about $Unif(0,1)$ distribution, we had partitioned $(0,1)$ into a number of equal subintervals, and had permuted them. This "scrambling" had produced a new random variable from an $Unif(0,1)$ random variable. Your first task is to redo that exercise to convince yourself that the new random variable again has $Unif(0,1)$ distribution.

Now take any $X\sim Unif(0,1),$ and split $(0,1)$ into $n$ equal subintervals where $n\in{\mathbb N}.$ Call these subintervals the states, labelled $1,...,n.$ Now split each state into $n$ further subintervals (equal width) called districts, again lablled $1,...,n.$ Thus, effectively you have split $(0,1)$ into $n^2$ subintervals that may be labelled as $(i,j)$ for $i,j\in\{1,...,n\},$ where $i$ denotes the state, and $j$ denotes the district within the state.

Let $Y$ be obtained by scrambling $X$ as follows: Swap $(i,j)$-th subinterval with the $(j,i)$-th subinterval.

Your next task is to find the joint distribution of $(X,Y).$ For this draw the joint distribution of $(X,X)$ as the $45^\circ$ line drawn as a diagonal in the unit square. The entire mass 1 is uniformly distributed along this line. Take $n=2$ and do the swaps in the vertical axis, and sketch how the diagonal line gets split into $n^2=4$ equal pieces and gets redistributed.

Obtain the joint CDF of $(X,Y)$ as the points $\left(\frac in,\frac jn\right).$

Compare with the CDF had $X, Y$ been IID $Unif(0,1).$

Do you notice anything funny?

Project 2

For this project you need to know how to extract pixel values from an image. There are R and Python packages/functions for this purpose. You may Google, or ask me to learn about them.

Take printed text, preferrably large font, black ink on white paper. Hold your camera fixed in from of it, and take 50 greylevel photos of the same thing without moving th camera or the page. Many cameras have a "burst mode" that will help you to take a bunch of photos with a single click. Extract the pixel values for each. Compute $V_{ij}=$ variance of the 50 meaurements of the $(i,j)$-th pixel. Would you expect all the $V_{ij}$'s to be nearly the same? Think, and make a guess. Now actually compute and see.

Can you explain what you see?

Project 3

THere are 5 bridges linking two shores of a river as shown below.
Each brindge is either open or closed with probability $\frac 12$ independently of the others. What is the probability that the man on shore 1 would be able to get to the other shore? Of course, you can compute the probability using brute force enumeration. But there is a smart way to get the answer. Can you find it?