In: Statistics and Probability
Suppose you have N items with values xi from which we want to sample n items with replacement. Each item has its own probability pi of being selected across all times we pick items.

What's the bias for the following estimator of T: 
The bias of an estimator is the difference between this estimator's expected value and the true value of the parameter being estimated.
Given that

So, the bias is given by:
