Given that $X_1, \ldots ,X_n$ are independent random variables, of identical distribution, from a uniform distribution $U(0,10)$, let $\hat{F}(t)$ denotes cdf estimated on a basis of $X_1 \ldots X_n$ in a point t. Find expected value of $\hat{F}(4)$ and variance.
Will $EX$ simply will be $E(0.4)=0.4$? What about the variance?
The empirical distribution function is given by $$ \hat F_n(t)=\frac1n\sum_{i=1}^nI_{\{X_i\le t\}}. $$ Using the linearity of the expectation and the identical distributions, $$ \operatorname E\hat F_n(t)=\frac1n\sum_{i=1}^n\operatorname EI_{\{X_i\le t\}}=\frac1n\sum_{i=1}^nP(X_i\le t)=P(X_1\le t). $$ The variance is given by $$ \operatorname{Var}\hat F_n(t)=\frac1{n^2}\sum_{i=1}^n\operatorname{Var}I_{\{X_i\le t\}}=\frac1nP(X_i\le t)P(X_i>t) $$ since $X_1,\ldots,X_n$ are independent and identically distributed.