An Accessory Function for Strategy Selection
This function acts as a switchboard for various regression modelling strategy,
and links these strategies to
strategy(g, method, int, int.adj, model)
a data matrix to which a modelling strategy will be applied.
a list containing the a regression modelling strategy name and strategy-specific parameter values.
logical. If int is TRUE an intercept will be included in the regression model.
logical. If int.adj is TRUE the intercept will be re-estimated after shrinkage is applied to the regression coefficients.
the type of regression model. Either "linear" or "logistic".
For further details, see
The object returned by
strategy depends on the strategy selected in the
compare. For example, if
method = "lsq",
strategy will return
a matrix of regression coefficients, whereas if
method = "boot", strategy
will return a list containing values returned by
This function is not designed to be called directly, but acts as a workhorse