SimplerRegression

scalation.modeling.SimplerRegression
See theSimplerRegression companion class

The SimplerRegression companion object provides a simple factory method for building simple regression linear regression models.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(xy: MatrixD, fname: Array[String]): SimplerRegression

Create a Simpler Linear Regression model from a combined data matrix. Take the first column for the predictor and the last column for the response.

Create a Simpler Linear Regression model from a combined data matrix. Take the first column for the predictor and the last column for the response.

Value parameters

fname_

the feature/variable names (defaults to null)

xy

the combined data matrix

Attributes

def apply(x: VectorD, y: VectorD, fname: Array[String]): SimplerRegression

Create a Simpler Linear Regression model, automatically creating a a data/input matrix from the vector x.

Create a Simpler Linear Regression model, automatically creating a a data/input matrix from the vector x.

Value parameters

fname_

the feature/variable names

x

the data/input m-by-1 vector

y

the response/output m-vector

Attributes