Learn R Programming

LorenzRegression (version 2.2.0)

Lorenz.Suggestions: Defines the suggestions used in the genetic algorithm

Description

Lorenz.Suggestions creates suggestions for the genetic algorithm used to solve the Lorenz regression.

Usage

Lorenz.Suggestions(suggestions, popSize, y, x, pi, x.scale, seed)

Value

A matrix with at most popsize rows and with a number of columns equal to the number of explanatory variables minus one.

Arguments

suggestions

either a character string 'OLS' or a numeric matrix with at most popSize rows and ncol(x) columns.

popSize

population size of the genetic algorithm

y

vector of responses

x

matrix of covariates (after standardization if applied)

pi

vector of normalized weights

x.scale

vector of standard deviations of the covariates

seed

seed used in the generation of the suggestions

See Also

Lorenz.GA