Answer:
a) ![E[x]= E[E[X|T]]=E[7T]=7E[T]=\frac{7}{2}](https://tex.z-dn.net/?f=E%5Bx%5D%3D%20E%5BE%5BX%7CT%5D%5D%3DE%5B7T%5D%3D7E%5BT%5D%3D%5Cfrac%7B7%7D%7B2%7D)
b) ![Var[x] = 7E[T]+ 49 Var[T]=\frac{7}{2}+\frac{49}{12}=\frac{91}{12}](https://tex.z-dn.net/?f=Var%5Bx%5D%20%3D%207E%5BT%5D%2B%2049%20Var%5BT%5D%3D%5Cfrac%7B7%7D%7B2%7D%2B%5Cfrac%7B49%7D%7B12%7D%3D%5Cfrac%7B91%7D%7B12%7D)
Step-by-step explanation:
A uniform distribution, sometimes also known as a rectangular distribution, is a distribution that has constant probability and is defined on a interval [a,b].
The Poisson distribution is the discrete probability distribution in order to describe the number of events occurring in a given time period. And is defined with a parameter calles usually
.
Let T the random variable that represent the number of hours between successive train arrivals at the station, and we know that the distribution for T is given by:

The expected value and the variance for an uniform random variable is given by:
![E[T] = \frac{b-a}{2}=\frac{1-0}{2}=\frac{1}{2}](https://tex.z-dn.net/?f=E%5BT%5D%20%3D%20%5Cfrac%7Bb-a%7D%7B2%7D%3D%5Cfrac%7B1-0%7D%7B2%7D%3D%5Cfrac%7B1%7D%7B2%7D)

ANd let X the random variable that represent the number of people who get on the next train, so the conditional distribution X|T is given by:

Since we have a Poisson distribution we can find the expected value and the variance for the random variable X|T
![Var[X|T]=7T](https://tex.z-dn.net/?f=Var%5BX%7CT%5D%3D7T)
We can use this result in order to answer the questions like this:
Part a
Using the properties for expected value we have this:
![E[x]= E[E[X|T]]=E[7T]=7E[T]=\frac{7}{2}](https://tex.z-dn.net/?f=E%5Bx%5D%3D%20E%5BE%5BX%7CT%5D%5D%3DE%5B7T%5D%3D7E%5BT%5D%3D%5Cfrac%7B7%7D%7B2%7D)
Part b
We are interested in Var (X) and in order to find this we can use the following property from conditional probability:
![Var[X]=E[Var[X|T]] + Var[E[X|T]]](https://tex.z-dn.net/?f=Var%5BX%5D%3DE%5BVar%5BX%7CT%5D%5D%20%2B%20Var%5BE%5BX%7CT%5D%5D)
And since we already found Var[X|T] and E[X|T] we have this:
![Var[X]=E[7T] +Var[7T]](https://tex.z-dn.net/?f=Var%5BX%5D%3DE%5B7T%5D%20%2BVar%5B7T%5D)
![Var[x] = 7E[T]+ 49 Var[T]=\frac{7}{2}+\frac{49}{12}=\frac{91}{12}](https://tex.z-dn.net/?f=Var%5Bx%5D%20%3D%207E%5BT%5D%2B%2049%20Var%5BT%5D%3D%5Cfrac%7B7%7D%7B2%7D%2B%5Cfrac%7B49%7D%7B12%7D%3D%5Cfrac%7B91%7D%7B12%7D)