TITLE: What is the expected maximum out of a sample (size N) from a geometric distribution?
QUESTION [7 upvotes]: Lets say I have a geometric distribution  (of the number X of Bernoulli trials needed to get a success) with parameter p (success probability of a trial).
Assume I randomly sample n elements from this distribution.
My problem is: what is the expected maximum element of such a sample (it should depend on n I guess)? Hopefully it makes sense...
For n=1, e.g. if I only pick a single element from the distribution, the answer would be the mean 1 / p of the distribution. For samples of larger cardinalities?

REPLY [7 votes]: Bennett Eisenberg's paper "On the expectation of the maximum of IID geometric random variables"  (Statistics and Probability Letters 78 (2008) 135-143) gives both my answer already accepted by the OP and mentions the infinite sum you get if you take Michael Lugo's comment on my first answer.  However, the author also says, "these expressions are not so useful" and "There is no... simple expression for... the expected value of the maximum of $n$ IID geometric random variables."   The point of his paper is "to use simple Fourier analysis to show that $E(M_n^*) - \sum_{k=1}^n \frac{1}{\lambda k}$ is very close to 1/2 not only for moderate values of $\lambda$, but also for relatively small values of $n$ and that this difference is logarithmically summable to 1/2 for all values of $\lambda$."  Here, $E(M_n^*)$ is the expectation requested by the OP, and $\lambda$ is defined by $q = 1-p = e^{-\lambda}$.  (The $\lambda$ is the parameter for the corresponding exponential distribution.)  The practical value of Eisenberg's result, of course, is the fact that $\sum_{k=1}^n \frac{1}{k}$ can be closely approximated by $\log n + \gamma$.