CLC00004 Unable to evaluate linReg: coefficient is out of range.

Explanation

The value that you specified for the nParam parameter of the linreg() function is invalid.

User response

Specify either a 0 or a 1 for the nParam parameter. A 0 returns the slope of the linear regression. A 1 returns the intercept of the linear regression.