vector of degrees of freedom to be fitted (defaults to df in model).
xpowers
vector of powers to apply to x (defaults to x power in model).
ypowers
vector of powers to apply to y (defaults to y power in model).
FUN
function to be tabulated (e.g. BICadj or AICadj).
maxIter
maximum number of iterations per fit.
verbose
logical controlling monitoring.
Value
3-way table of returned values by df, x and y powers.
Details
The function provides a convenient way to optimise the model's degrees of freedom
and explore transformations of x and y.
Adjusted BIC is obtained using BICadj, and
is set negative for models failing to converge; the
run-time can be shortened by reducing maxIter appropriately. For models
failing to fit it returns NA.
FUN can be any function returning a single numerical value.