Loading TOC...

math.linearModelIntercept

math.linearModelIntercept(
   $linear-model as math.linearModel
) as Number

Summary

Returns the intercept of the linear model.

Parameters
$linear-model A linear model.

Example

var arr = new Array();
for (i=1; i < 11; i++) { 
  var x = new Array();
  var j = 2 * i + 1;
  x.push(j, i);
  arr.push(x); };
var lm = math.linearModel(xdmp.arrayValues(arr));
math.linearModelIntercept(lm);

  => 1

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy