regr_intercept(...)
Returns the y-intercept of the linear least squares fit
Works with the following datatypes:
This function works with 2.1 endpoint(s). What does this mean? »
The regr_intercept(...)
function returns the y-intercept of a linear least squares fit of two sets of numeric values (Numbers). For example, to obtain the linear least squares fit y-intercept between the typical number of hours assigned and their hourly rate for all employees in the City of Chicago:
It can also be used in $group
aggregations, like this one to get the y-intercept by full or part time status: