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 = 0,
max.intknots = 300,
q = 2,
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 = 0,
max.intknots = 300,
q = 2,
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 |
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 zero. |
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 the number of internal knots |
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.