php8.5
Home/ Manual/ trader / functions/ trader_linearreg

trader_linearreg

PHP function Edit on GitHub ✎

(PECL trader >= 0.2.0)

Linear Regression

Description

trader_linearreg(array $real, [int $timePeriod]): array

Parameters

real

Real

timePeriod

Period

Return Values

Returns an array with calculated data or false on failure.

Source: reference/trader/functions/trader-linearreg.xml · from the official PHP manual (php/doc-en)