regr_r2(...)Returns the square of the correlation coefficient (r²)
Works with the following datatypes:
This function works with 2.1 and 3.0 endpoint(s). What does this mean? »
The regr_r2(...) function returns the correlation strength between two sets of numeric values (Numbers). For example, to fetch the square of the correlation coefficient between the typical number of hours assigned and their hourly rate for all employees in the City of Chicago:
The TryIt macro has been disabled until future notice while we upgrade this site to SODA3.
It can also be used in $group aggregations, like this one to get the correlation strength by full or part time status:
The TryIt macro has been disabled until future notice while we upgrade this site to SODA3.