$\displaystyle E(S^{2}) = \frac{1}{n-1} \left{\sum E(X_{i}^{2}) - \frac{1}{n} E \left[ \left(\sum X_{i}\right)^{2}\right] \right}$

Its not parsing.

Printable View

- March 6th 2008, 09:41 PMheathrowjohnnyWhat is wrong with this code?
$\displaystyle E(S^{2}) = \frac{1}{n-1} \left{\sum E(X_{i}^{2}) - \frac{1}{n} E \left[ \left(\sum X_{i}\right)^{2}\right] \right}$

Its not parsing. - March 6th 2008, 09:49 PMheathrowjohnny
never mind: figured it out

- March 6th 2008, 10:13 PMCaptainBlack
1. you need [tex] tags rather than "$"s

2. as {} are meta grouping delimiters used by LaTeX if you want to uses

them as parentheses you have to preceed them with "\"

[tex] \displaystyle E(S^{2}) = \frac{1}{n-1} \left\{\sum E(X_{i}^{2}) - \frac{1}{n} E \left[ \left(\sum X_{i}\right)^{2}\right] \right\}[/tex]

produces:

3. As far as I am aware the \displaystyle is redundant in the LaTeX implemented here.

RonL - March 6th 2008, 10:17 PMheathrowjohnny
Thanks. I was using the $ to illustrate the code.

- March 7th 2008, 02:54 AMCaptainBlack