One of the question on my stats assignment comes as follows:
The n candidates for a job have been ranked n = 1,2,3,...,n. Let X = the rank of a randomly selected candidate, so that X has the following properties:
p(x) = 1/n for x=1,2,3,...,n
p(x) = 0 otherwise
a) Find E(X)
b) Find Var(X)...