SLOPE (PQL - xl)

This function calculates the slope of a linear regression

  • Library: PQL \ Spreadsheet \ Statistical
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

SLOPE(known ys, known xs)

Function Arguments

Name

Description

Type

Optional

known ys

Array of dependent values (y’s)

StringOrNumber

known xs

Array of independent values (x’s)

StringOrNumber

Comments

This function is the same as the Microsoft Excel 'SLOPE' function - using the same inputs, logic and outputs.