rsq = 1 - (SSR / SST) rsq_array.append(rsq)