The LinearRegressionQueue type exposes the following members.
Constructors
Name  Description  

LinearRegressionQueue 
Creates an instance of the LinearRegressionQueue class

Methods
Name  Description  

AddValue 
Adds an item to the queue.
 
Equals  (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
GetHashCode  Serves as a hash function for a particular type. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
Reset 
Resets the queue, clearing the list of values used for the calculations.
 
ToString  Returns a string that represents the current object. (Inherited from Object.) 
Fields
Name  Description  

INFINITE_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
Name  Description  

Average 
The average of the values used to compute the linear regression.
 
Full 
Indicates whether the queue is full or not.
 
Intercept 
The YIntercept value for the linear regression line.
 
Periods 
The number of periods used to for the calculations.
 
RSquared 
The RSquared value of the linear regression.
 
Slope 
The slope of the linear regression line.
 
StandardError 
The Standard Error of the linear regression calculation.
 
StdDev 
The standard deviation of the values used to compute the linear regression.
 
XSquareSum 
The sum of the squares of the X values used for the linear regression calculation.
 
XSum 
The sum of the X values used for the linear regression calculation.
 
XYSum 
The sum of the products of the X and Y values used for the linear regression calculation.
 
YSquareSum 
The sum of the squares of the Y values used for the linear regression calculation.
 
YSum 
The sum of the Y values used for the linear regression calculation.
