I was following the formula of book (ref. to pic1) as mentioned, but got a different result of test statistic than what the solution of IAI used (ref. to pic2). Can anyone kindly confirm which formula of Sxy to use in exam?
The formula is Same in both the attached pics. Just divide by n throughout in the solution image attached and you get the same formula.