Represents a statistical model.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public MustInherit Class GeneralLinearModel
C#
public abstract class GeneralLinearModel
C++
public ref class GeneralLinearModel abstract

Methods

IconTypeDescription
Compute()
Computes the model.
ComputeModel()
Implemented by inheritors to perform the model calculations.
Contains(GeneralLinearModel)
Returns a value that indicates whether another GeneralLinearModel is nested within this instance.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetHashCode()
Serves as a hash function for a particular type.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
ResetComputation()
Clears all computed model parameters.
SetAnovaModelRow(Int32, String, Double, Double)
Sets the data of a row in the model's AnovaTable.
SetAnovaRow(AnovaRowType, String, Double, Double)
Sets the data of a row in the model's AnovaTable.
ToString()
Returns a String that represents the current Object.

Fields

IconTypeDescription
static memberDefaultInterceptParameterName
Specifies the default name of the intercept parameter for regression models.

Constructors

IconTypeDescription
GeneralLinearModelNew(Int32, Int32)
Constructs a new statistical model.
GeneralLinearModelNew(Variable, Variable[](), Int32)
Constructs a new statistical model.
GeneralLinearModelNew(VariableCollection, String, String[](), Int32)
Constructs a new statistical model.

Properties

IconTypeDescription
AdjustedRSquared
Gets the adjusted R Squared value for the regression.
AnovaTable
Gets the AnovaTable that summarizes the results of this model.
Computed
Gets a value that indicates whether the regression model has been computed.
DegreesOfFreedom
Gets the total degrees of freedom of the data.
DependentVariables
Gets the collection of dependent variables associated with this model.
FStatistic
Gets the F statistic for the regression.
IndependentVariables
Gets the collection of independent variables associated with this model.
Parameters
Gets the collection of parameters associated with this model.
PValue
Gets the probability corresponding to the F statistic for the regression.
ResidualSumOfSquares
Gets the sum of squares of the residuals of the model.
RSquared
Gets the R Squared value for the regression.
StandardError
Gets the standard error of the regression.

Remarks

This is an abstract base class and cannot be instantiated directly. Instead, use one of the inherited types, as listed in the table below:

ClassDescriptionOneWayAnovaModelOne way between subjects analysis of variance.OneWayRAnovaModelOne way within subjects analysis of varianceTwoWayAnovaModelTwo way between subjects analysis of variance.SimpleRegressionModelA simple linear regression model with one independent variable.LinearRegressionModelA multiple linear regression model with multiple independent variables.PolynomialRegressionModelA polynomial linear regression model with one independent variable.

Note to inheritors: When you inherit from GeneralLinearModel, you must override ComputeModel(). You should also populate the AnovaTable by calling SetAnovaRow(AnovaRowType, String, Double, Double) and/or SetAnovaModelRow(Int32, String, Double, Double).

Inheritance Hierarchy

System.Object
  Extreme.Statistics.GeneralLinearModel