betareg_step_bic(
X,
Y,
direction = "both",
link = "logit",
link.phi = "log",
type = "ML",
trace = FALSE,
max_steps = NULL,
epsilon = 1e-08,
X_phi = NULL,
direction_phi = c("none", "both", "forward", "backward"),
weights = NULL
)
Value
See betareg_step_aic().
Arguments
X
Numeric matrix (n × p) of mean-submodel predictors.
Y
Numeric response in (0,1). Values are squeezed to (0,1) internally.
direction
Stepwise direction for the mean submodel: "both",
"forward", or "backward".
link
Link for the mean submodel (passed to betareg). Default
"logit".
link.phi
Link for precision parameter. Default "log".
type
Likelihood type for betareg, e.g. "ML".
trace
Logical; print stepwise trace.
max_steps
Integer; maximum number of greedy steps (default p).
epsilon
Numeric; minimum improvement required to accept a move
(default 1e-8).
X_phi
Optional matrix of candidate predictors for the precision (phi)
submodel. When direction_phi enables precision updates and X_phi is
NULL, the function reuses X.
direction_phi
Stepwise direction for the precision submodel.
Defaults to "none" (no phi selection). Supported values mirror
direction.
weights
Optional non-negative observation weights passed to
betareg().