No, The 2 is being multiplied by yi-(B0 + BiXi) OR (-Xi)Hi,
As per my understanding, in the first row the number 2 multiplied by Yi and by (-Xi), only them.
After that, the person factored, and we were left again with Xi and Yi. The - 2 went behind the summation, as it does not vary (it does not have a subscript i).
Is my understanding correct?
View attachment 23935
You need to multiply all the factors (not terms) but you do not multiply the 2 by each of the other two factors!Got it. This implies that they multiplied the 2 only by -Xi and then factored. He doesn't need to multiply by all terms...
Right?