AttentionNo6483 t1_j0cc1bi wrote on December 15, 2022 at 4:49 PM Reply to comment by CuriousJam in [D] Simple Questions Thread by AutoModerator Take a look at the loss function. The regression line minimizes across the entire data set (which is why outliers can impact it). If you want to focus on local maxima you would want to do piecewise regression. Permalink Parent 2
AttentionNo6483 t1_j0cc1bi wrote
Reply to comment by CuriousJam in [D] Simple Questions Thread by AutoModerator
Take a look at the loss function. The regression line minimizes across the entire data set (which is why outliers can impact it). If you want to focus on local maxima you would want to do piecewise regression.