The get the imagevar(f)=σ2(11N(x0−¯x)2∑(xi−¯x)2)use the following code in your comment:
![](http://latex.codecogs.com/png.latex?%5Ctextit%7Bvar%7D%28f%29%20%3D%20%5Csigma%20%5E%202%20%5Cleft%20%28%201+%5Cfrac%7B1%7D%7BN%7D%20+%20%5Cfrac%7B%28x_0%20-%20%5Cbar%7Bx%7D%29%5E2%7D%7B%5Csum%20%28x_i-%5Cbar%7Bx%7D%29%5E2%7D%20%5Cright%20%29)
See Comment formatting/Using LaTeX to render mathematics on the wiki for more details. I’ve used codecogs editor and fixed an issue in the URL manually; there are other options listed on the wiki. The LaTeX code for the codecogs editor is this:
\textit{var}(f) = \sigma ^ 2 \left ( 1+\frac{1}{N} + \frac{(x_0 - \bar{x})^2}{\sum (x_i-\bar{x})^2} \right )
The get the image
var(f)=σ2(11N(x0−¯x)2∑(xi−¯x)2)
use the following code in your comment:
See Comment formatting/Using LaTeX to render mathematics on the wiki for more details. I’ve used codecogs editor and fixed an issue in the URL manually; there are other options listed on the wiki. The LaTeX code for the codecogs editor is this: