A sample of size $n$ is drawn from $\{1,2, \cdots , N \}$ with replacement. Let $X$ denote the minimum of the numbers drawn. Calculate
<p>$(a)$ the PMF of $X,$</p> <p>$(b)$ $\mathrm E (X),$</p> <p>$(c)$ $\mathrm {Var} (X),$</p> <p>$(d)$ If $Y$ denotes the maximum of the numbers drawn$,$ calculate the joint PMF of $X$ and $Y$.</p>
I have found
$$P(X=k)= \frac {(N-k+1)^n - (N-k)^n} {N^n}.$$
But this isn't much helpful in calculating the expectation and variance of the random variable $X$. So how should I proceed in this regard? Please help me.
Thank you very much.
I have found the joint probability of the random variables $X$ and $Y$ as follows $:$
$$P(X=i,Y=j) = \frac {(j-i+1)^n - 2(j-i)^n+(j-i-1)^n} {N^n}.$$ for $i=1,2,\cdots,N$ and $j=1,2,,\cdots,N$.
Is it correct? Please verify it.