Linear Modelingmedium
0:00.0

Given a set of data points (1,2),(2,4),(3,5)(1, 2), (2, 4), (3, 5), calculate the slope β1\beta_1 of the best-fit line using the formula β1=(xixˉ)(yiyˉ)(xixˉ)2\beta_1 = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2}.