Example_GasFurnace

scalation.modeling.forecasting.Example_GasFurnace

The Example_GasFurnace object provides a convenient way to load gas_furnace data.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def loadData(x_strs: Array[String], y_str: String, trim: Int): (MatrixD, VectorD)

Load the gas_furnace data into a matrix for the exogenous variables x and a vector for the response/endogenous variable y.

Load the gas_furnace data into a matrix for the exogenous variables x and a vector for the response/endogenous variable y.

Value parameters

trim

the number of initial rows to trim away (e.g., they are all 0)

x_strs

the column names for the exogenous variables x

y_str

the column name for the endogenous variable y

Attributes

def loadData_y(y_str: String, trim: Int): VectorD

Load the gas_furnace data into a vector for the response/endogenous variable y.

Load the gas_furnace data into a vector for the response/endogenous variable y.

Value parameters

trim

the number of initial rows to trim away (e.g., they are all 0)

y_str

the column name for the endogenous variable y

Attributes

def loadData_yy(y_strs: Array[String], trim: Int): MatrixD

Load the gas_furnace data into a matrix for the variables y.

Load the gas_furnace data into a matrix for the variables y.

Value parameters

trim

the number of initial rows to trim away (e.g., they are all 0)

y_str

the column names for the variables y (e.g., used in a VAR model)

Attributes

Concrete fields

val header: Array[String]