Searched refs:y_bar (Results 1 – 2 of 2) sorted by relevance
41 let y_bar = crate::stats::sum(ys) / n; in r_squared() localVariable48 ss_tot = ss_res + (y - y_bar).powi(2); in r_squared()
167 let (x_bar, y_bar) = (self.mean(), other.mean()); in t()168 let (s2_x, s2_y) = (self.var(Some(x_bar)), other.var(Some(y_bar))); in t()171 let num = x_bar - y_bar; in t()