- linear-regression df x yprocedure
Least-squares linear regression of column y on column x. Returns five values: intercept, slope, correlation coefficient r, R^2, and the significance of the slope (use let-values to capture all five).
Least-squares linear regression of column y on column x. Returns five values: intercept, slope, correlation coefficient r, R^2, and the significance of the slope (use let-values to capture all five).