| GeDS-class {GeDS} | R Documentation |
GeDS Class
Description
A fitted GeDS object returned by the functions NGeDS or
GGeDS inheriting the methods from class "GeDS". Methods
for functions coef, knots, print, predict,
plot, and lines are available.
Slots
TypeCharacter string indicating the type of the regression performed. One of
"LM - Univ","LM - Biv"or"GLM - Univ"corresponding to the Normal univariate GeDS, the Normal bivariate GeDS performed byNGeDSand the generalized (GNM-GLM) univariate GeDS performed byGGeDS.Linear.KnotsVector containing the locations of the knots of the second order GeDS spline fit generated at stage A.
Quadratic.KnotsVector containing the locations of the knots of the third order GeDS spline fitted in stage B.
Cubic.knotsVector containing the locations of the knots of the fourth order GeDS spline fitted in stage B.
Dev.LinearDeviance of the second order GeD spline fit of stage A.
Dev.QuadraticDeviance of the third order GeD spline fit of stage B.
Dev.CubicDeviance of the fourth order GeD spline fit of stage B.
RSSVector containing the deviances of the second order spline fits computed at each GeDS iteration in stage A.
LinearList containing the results from running a
SplineRegfunction used to fit the second order spline of stage A.QuadraticList containing the results from running
SplineRegfunction used to fit the third order spline in stage B.CubicList containing the results from a
SplineRegfunction used to fit the fourth order spline in stage B.StoredMatrix containing the knot locations estimated at each step of stage A.
ArgsList containing the input arguments passed on the
Fittersfunctions.Callcallto theFittersfunctions.NintknotsThe final number of internal knots of the second order GeD spline fit of stage A.
itersNumber of iterations performed in stage A of the GeDS fitting procedure.
GuessesInitial values for the coefficients used at each iteration of stage A in order to estimate the spline coefficients. Since the initial values are used only in the IRLS procedure, this slot is empty if the object is not created by
GGeDSorGenUnivariateFitterfunctions.CoefficientsMatrix containing the fitted coefficients of the GeD spline regression component and the parametric component at each iteration of stage A.
devianceVector containing the deviances of the second order spline fits computed at each IRLS iteration in stage A. Since the IRLS procedure is used only in
GGeDSorGenUnivariateFitter, this slot is empty if the object is not created by one of these functions.iterIrlsVector containing the numbers of IRLS iterations for all iterations of stage A cumulatively. Since the IRLS procedure is used only in
GGeDSorGenUnivariateFitter, this slot is empty if the object is not created by one of these functions.stopinfoList of values providing information related to the stopping rule of stage A of GeDS. The sub-slots of
stopinfoarephis,phis_star,oldintcandoldslp. The sub-slotphisis a vector containing the values of the ratios of deviances (or the difference of deviances if theLRstopping rule was chosen). The sub-slotsphis_star,oldintcandoldslpare non-empty slots if theSRstopping rule was chosen. They contain respectively\hat{\phi}_{\kappa},\hat{\gamma}_0and\hat{\gamma}_1computed at each iteration of stage A, see Dimitrova et al. (2023).FormulaThe model
formula.extcalltermstermsobject containing information on the model frame.
References
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: doi:10.1016/j.amc.2022.127493