Could someone help me expand this one. n=6.

SSy=sum(y1-ybar)^2

Would it just be like (y1-ybar)^2+(y2-ybar)^2... etc??