I am looking at a problem form Hogg, Tannis & Zimmerman (Ed. 10), and I am curious if the given problem is calculable (for an upper-level undergrad math/stats course) because of the choice of the parameters.
To respect the authors' copyright, I won't repeat the problem as written, but I will represent the key query: $X_1$ and $X_2$ are i.i.d. with a gamma distribution with parameters shape $k=1$ and scale $\theta=2$ (using the parameterization shown on the Wikipedia page). Let $Y_1=\min(X_1,X_2)$ and $Y_2=\max(X_1,X_2)$ and $Z=\alpha Y_1 + \beta Y_2$. Compute the expected value of $Z$.
My strategy would be to do the following:
- Find the cdf $G_2(y)=P(Y_2 \le y) = F(y)^2$
- Find the pdf $g_2(y) = G_2^\prime(y)$ (using $f(y) = F^\prime(y)$ and the chain rule)
- Find $E(Y_2) = \int_{S_{Y_2}} y g_2(y)\ dy$
- Repeat for $E(Y_1)$ using $G_1(y) = (1-F(y))^2$
- Use the linearity of the expectation operator to find $E(Z)$.
Because I hoped to solve a more general version of the problem, I left the parameters as $k$ and $\theta$ in the gamma function (instead of using the proposed values). This appears to result in a problem that cannot be easily calculated in terms of these parameters (or the size of the random sample, which I also left as an unspecified value $n$).
However, when you plug these given parameters into the gamma function, you get an exponential function. And, the resulting formula is easily calculated for a sample (at least for size $n=2$).
Again, my query is if a general solution is possible (in terms of the given parameters and closed-form solutions) for specific parameters...or perhaps I am missing something in my approach that would simplify the process.