I am trying to divide this equation into two different lines but I am not able to. I tried to use package breqn but that started giving me some compilation errors on the style file itself.
\frac{ \sum_{n_i\in S_{c_k}} P_{ij} ( x_{i} P(y_i = 1\ |\ x_i = 1) + (1- x_{i}) P (y_i = 1\ |\ x_i=0))}{\sum_{n_i\in S_{c_k}} P_{ij}}
The problem here is \frac{} which prevents me from using align to break the equation.


}right braces than{left braces in that equation. Are there? – thb Jun 4 '12 at 23:58Pon the denominator of the fraction with the subscriptiremoved from it? Or did you wantP_ithere? It's unusual notation to have an empty summation divided by something. – Andrew Stacey Jun 5 '12 at 9:51