RegressionData

constructor(response: DoubleArray, data: Array<DoubleArray>, hasIntercept: Boolean = true, responseName: String = "Y", predictorNames: List<String> = makePredictorNames(data))

Parameters

responseName

an optional name for the response variable. The default is Y

predictorNames

a list of names to associate with the predictors. The default is X_1, X_2,..., X_k