BivariateFitters | R Documentation |
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
)
X |
A numeric vector containing |
Y |
A numeric vector containing |
Z |
A vector of size |
W |
A design matrix with |
weights |
An optional vector of size |
indicator |
A contingency table (i.e., frequency of observations) for the
independent variables |
beta |
Numeric parameter in the interval |
phi |
Numeric parameter in the interval |
min.intknots |
Optional parameter specifying the minimum number of
internal knots required in Stage A's fit. Default is |
max.intknots |
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 |
q |
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
|
Xextr |
Boundary knots in the |
Yextr |
Boundary knots in the |
show.iters |
Logical variable indicating whether or not to print fitting
information at each step. Default is |
tol |
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. |
stoptype |
A character string indicating the type of GeDS stopping rule
to be used. It should be either |
higher_order |
A logical defining whether to compute the higher
order fits (quadratic and cubic) after stage A is run. Default is
|
Xintknots |
A vector of starting internal knots in the |
Yintknots |
A vector of starting internal knots in the |
family |
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. |
A "GeDS"
class object, but without the formula
,
extcall
, terms
and znames
slots.
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: \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.amc.2022.127493")}
NGeDS
, GGeDS
and UnivariateFitters
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.