fbpx

LinRegSlope (MDX)

Returns the slope of the linear regression (a -> y = a*x + b)

Parameters

Name Type Cardinality Default value
  set-expression  one   
y values  numeric-expression  one   
x values  numeric-expression  one   

Return

numeric-value

Description


Returns the slope value of the linear regression using least square estimator (Wikipedia).

y = a * x + b , returns a == slope

See Also

LinRegIntercept LinRegPoint LinRegR2 LinRegSlope

Examples

XMLA Properties

Find here the value of the XMLA properties when not specified otherwise.