The LinearRegressionQueue type exposes the following members.

Constructors

  NameDescription
Public methodLinearRegressionQueue
Creates an instance of the LinearRegressionQueue class

Methods

  NameDescription
Public methodAddValue
Adds an item to the queue.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the queue, clearing the list of values used for the calculations.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldStatic memberINFINITE_PERIODS
Pass this value to the constructor if you want to calculations based on all the numbers in the sequence, not just the last n values.

Properties

  NameDescription
Public propertyAverage
The average of the values used to compute the linear regression.
Public propertyFull
Indicates whether the queue is full or not.
Public propertyIntercept
The Y-Intercept value for the linear regression line.
Public propertyPeriods
The number of periods used to for the calculations.
Public propertyRSquared
The R-Squared value of the linear regression.
Public propertySlope
The slope of the linear regression line.
Public propertyStandardError
The Standard Error of the linear regression calculation.
Public propertyStdDev
The standard deviation of the values used to compute the linear regression.
Public propertyXSquareSum
The sum of the squares of the X values used for the linear regression calculation.
Public propertyXSum
The sum of the X values used for the linear regression calculation.
Public propertyXYSum
The sum of the products of the X and Y values used for the linear regression calculation.
Public propertyYSquareSum
The sum of the squares of the Y values used for the linear regression calculation.
Public propertyYSum
The sum of the Y values used for the linear regression calculation.

See Also