The numerator of a Pearson Chi-Square Test for a contingency table is square and scaled loss function similar in structure to the loss function used in Ordinary Least Squares, Gradient Descent, and Stochastic Gradient Descent optimization techniques. Discuss these techniques according to their efficiency in optimizing the
loss functions.