Usage
stepGAIC.VR(object, scope, direction = c("both", "backward", "forward"),
trace = T, keep = NULL, steps = 1000, scale = 0,
what = c("mu", "sigma", "nu", "tau"), k = 2, ...)stepGAIC.CH(object, scope = gamlss.scope(model.frame(object)),
direction = c("both", "backward", "forward"), trace = T, keep = NULL,
steps = 1000, what = c("mu", "sigma", "nu", "tau"), k = 2, ...)
stepGAIC(object, scope = gamlss.scope(model.frame(object)),
direction = c("both", "backward", "forward"),
trace = T, keep = NULL, steps = 1000,
what = c("mu", "sigma", "nu", "tau"), k = 2,
additive = FALSE, ...)
stepGAICAll.A(object, scope = NULL, sigma.scope = NULL, nu.scope = NULL,
tau.scope = NULL, mu.try = TRUE, sigma.try = TRUE,
nu.try = TRUE, tau.try = TRUE, ...)
stepGAICAll.B(object, scope, direction = c("both", "backward", "forward"),
trace = T, keep = NULL, steps = 1000, scale = 0, k = 2, ...)
stepTGD(object, scope, newdata, direction = c("both", "backward", "forward"),
trace = T, keep = NULL, steps = 1000,
what = c("mu", "sigma", "nu", "tau"), ...)
Arguments
object
an gamlss object. This
is used as the initial model in the stepwise search.
scope
defines the range of models examined in the stepwise search.
For the function stepAIC()
this should be either a single formula,
or a list containing components upper
and lower
, both formulae.
direction
the mode of stepwise search, can be one of both
,
backward
, or forward
, with a default of both
. If
the scope
argument is missing the default for direction
trace
if positive, information is printed during the running of
stepAIC
. Larger values may give more information on the
fitting process.
keep
a filter function whose input is a fitted model object and
the associated 'AIC' statistic, and whose output is
arbitrary. Typically 'keep' will select a subset of the
components of the object and return them. The default is n
steps
the maximum number of steps to be considered. The default is
1000 (essentially as many as required). It is typically used
to stop the process early.
scale
scale is nor used in gamlss
what
which distribution parameter is required, default what="mu"
k
the multiple of the number of degrees of freedom used for the
penalty. Only 'k = 2' gives the genuine AIC: 'k = log(n)' is
sometimes referred to as BIC or SBC.
additive
if additive=TRUE
then stepGAIC.CH
is used else stepGAIC.CH
, default value is FALSE
sigma.scope
scope for sigma
if different to scope
in stepGAICAll.A()
nu.scope
scope for nu
if different to scope
in stepGAICAll.A()
tau.scope
scope for tau
if different to scope
in stepGAICAll.A()
mu.try
The default value is is TRUE, set to FALSE if no model for mu
is needed
sigma.try
The default value is TRUE, set to FALSE if no model for sigma
is needed
nu.try
The default value is TRUE, set to FALSE if no model for nu
is needed
tau.try
The default value is TRUE, set to FALSE if no model for tau
is needed
newdata
The new data set where the Test Global Deviance (TGD) will be evaluated
...
any additional arguments to 'extractAIC'. (None are currently
used.)