Numerical Components for .NET
Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
public class SimpleRegressionModel : LinearRegressionModel
Public Class SimpleRegressionModel _ Inherits LinearRegressionModel
public ref class SimpleRegressionModel : public LinearRegressionModel
type SimpleRegressionModel = class inherit LinearRegressionModel end
Use the SimpleRegressionModel class to investigate a linear relationship between two variables. The technique used to model such a relationship is called simple linear regression.
SimpleRegressionModel inherits from LinearRegressionModel, but has special constructors that make it easier to create simple regression models. It also defines some members that may be more appropriate for the simple case. For example, the GetRegressionLine()()()() method returns a Line object that represents the resulting regression line.
By setting the Kind property, it is possible to compute linearized versions of non-linear regression functions. When a kind other than linear regression is chosen, a linearization transformation is applied to one or both of the variables before the regression line is computed. The residuals are those of the transformed regression model. The parameter values are transformed back if needed.
Copyright © 2003-2013, Extreme Optimization. All rights reserved. Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc. Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo are registered trademarks of Microsoft Corporation.