Lorenz.Suggestions {LorenzRegression} | R Documentation |
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)
Arguments
suggestions |
either a character string 'OLS' or a numeric matrix with at most |
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 |
Value
A matrix with at most popsize
rows and with a number of columns equal to the number of explanatory variables minus one.
See Also
[Package LorenzRegression version 2.2.0 Index]