regressionData

fun regressionData(responseName: String, linearModel: LinearModel, coded: Boolean = true): RegressionData(source)

The regression data to perform the regression of the linear model

Defaults to coded (±1) levels, the standard convention for regression on a designed experiment; the raw-data methods (replicatedDesignPointsAsDataFrame, replicatedDesignPointsWithResponse) default to coded = false instead.

Return

the data necessary to perform the regression analysis

Parameters

responseName

the name of the response variable in the regression

linearModel

the linear model specification for the regression

coded

if true perform the regression with the coded variables. The default is true.