These are computing engines called by NGeDS and
GGeDS, needed for the underlying fitting procedures.
BivariateFitter(
X,
Y,
Z,
W,
weights = rep(1, length(X)),
indicator,
beta = 0.5,
phi = 0.99,
min.intknots = 0L,
max.intknots = 300L,
q = 2L,
Xextr = range(X),
Yextr = range(Y),
show.iters = TRUE,
tol = as.double(1e-12),
stoptype = c("SR", "RD", "LR"),
higher_order = TRUE,
Xintknots = NULL,
Yintknots = NULL
)GenBivariateFitter(
X,
Y,
Z,
W,
family = family,
weights = rep(1, length(X)),
indicator,
beta = 0.5,
phi = 0.5,
min.intknots = 0L,
max.intknots = 300L,
q = 2L,
Xextr = range(X),
Yextr = range(Y),
show.iters = TRUE,
tol = as.double(1e-12),
stoptype = c("SR", "RD", "LR"),
higher_order = TRUE
)
A "GeDS" class object, but without the formula,
extcall, terms and znames slots.
A numeric vector containing \(N\) sample values of the first independent variable chosen to enter the spline regression component of the predictor model.
A numeric vector containing \(N\) sample values of the second independent variable chosen to enter the spline regression component of the predictor model.
A vector of size \(N\) containing the observed values of the response variable.
A design matrix with \(N\) rows containing other covariates
selected to enter the parametric component of the predictor model (see
formula). If no such covariates are selected, it
is set to NULL by default.
An optional vector of size \(N\) of `prior weights' to be
put on the observations in the fitting process in case the user requires
weighted GeDS fitting. It is NULL by default.
A contingency table (i.e., frequency of observations) for the
independent variables X and Y.
Numeric parameter in the interval \([0,1]\) tuning the knot
placement in stage A of GeDS. See the description of NGeDS or
GGeDS.
Numeric parameter in the interval \((0,1)\) specifying the
threshold for the stopping rule (model selector) in stage A of GeDS. See
also stoptype and Details in the description of NGeDS or
GGeDS.
Optional parameter specifying the minimum number of
internal knots required in Stage A's fit. Default is 0L.
Optional parameter allowing the user to set a maximum
number of internal knots to be added in Stage A by the GeDS estimation
algorithm. Default equals 300L.
Numeric parameter which allows to fine-tune the stopping rule of
stage A of GeDS, by default equal to 2. See Details in the description of
NGeDS or GGeDS.
Boundary knots in the X direction. By default equal to
the range of X.
Boundary knots in the Y direction. By default equal to
the range of Y.
Logical variable indicating whether or not to print fitting
information at each step. Default is FALSE.
Numeric value indicating the tolerance to be used in checking whether two knots should be considered different during the knot placement steps in stage A.
A character string indicating the type of GeDS stopping rule
to be used. It should be either "SR", "RD" or "LR",
partial match allowed. See details of NGeDS or
GGeDS.
A logical defining whether to compute the higher
order fits (quadratic and cubic) after stage A is run. Default is
TRUE.
A vector of starting internal knots in the X direction.
Allows the user to begin Stage A's GeDS algorithm with a linear (least-squares)
spline fit using a predefined vector of internal X knots, instead of
starting with a straight line fit (i.e., with zero internal knots). Note that
this is not available for GenBivariateFitter. Default is NULL.
A vector of starting internal knots in the Y direction.
Allows the user to begin Stage A's GeDS algorithm with a linear (least-squares)
spline fit using a predefined vector of internal Y knots, instead of
starting with a straight line fit (i.e., with zero internal knots). Note that
this is not available for GenBivariateFitter. Default is NULL.
A description of the error distribution and link function to be
used in the model. This can be a character string naming a family function
(e.g. "gaussian"), the family function itself (e.g.
gaussian) or the result of a call to a family function
(e.g. gaussian()). See family for details on family
functions. Note that this argument applies only to GenBivariateFitter.
Dimitrova, D. S., Kaishev, V. K., Lattuada, A. and Verrall, R. J. (2023).
Geometrically designed variable knot splines in generalized (non-)linear
models.
Applied Mathematics and Computation, 436.
DOI: tools:::Rd_expr_doi("10.1016/j.amc.2022.127493")
NGeDS, GGeDS and UnivariateFitters.