getcoef.ff.interaction: Get the estimated coefficient functions for...

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function is used to calculate the estimates of μ(t), β_i(s,t), γ_{ij}(u,v,t) for function-on-function interaction model (see the description in cv.ff.interaction) based on the output object of cv.ff.interaction, or step.ff.interaction.

Usage

1
getcoef.ff.interaction(fit.obj, t.x.coef=NULL, t.y.coef=NULL)

Arguments

fit.obj

the output object of cv.ff.interaction, or step.ff.interaction

.

t.x.coef

a list of length p of vectors providing the observation time points of predictors on which coefficient functions will be evaluated. If t.x.coef=NULL (default), t.x in cv.ff.interaction or step.ff.interaction will be used.

t.y.coef

a vector of observation time points of response function on which the coefficient functions will be evaluated. If t.y.coef=NULL (default), t.y in cv.ff.interaction or step.ff.interaction will be used.

Value

a list providing the given or selected main effects and interactions, together with the corresponding estimated coefficient functions.

intercept

the vector of estimated μ(t) evaluated at the vector t.y.coef of the observation points for the response function y(t).

main_effects

the index vector of the input main_effects for cv.ff.interaction or the selected main effects by step.ff.interaction.

coef_main

a list of matrices of the estimated values of the coefficient functions of main effect specified by main_effects. Each matrix gives the estimated values of β_i(s,t) at the two-dimensional grid created by the observation point vectors t.x.coef[[i]] and t.y.coef, where i is an index in main_effects.

inter_effects

a matrix of two columns showing the input interactions for cv.ff.interaction or the selected interactions by step.ff.interaction. Each row shows the indices of the pair of functional variables in an interaction or quadratic effect.

coef_inter

a list of three-dimensional arrays of estimated values of the coefficient functions of interaction or quadratic effects specified by inter_effects. Each array gives the estimated values of γ_{ij}(u,v,t) at the three-dimensional grid created by the observation point vectors t.x.coef[[i]], t.x.coef[[j]] and t.y.coef, where the pair i, j is in inter_effects.

Author(s)

Xin Qi and Ruiyan Luo

References

Ruiyan Luo and Xin Qi (2018) Interaction model and model selection for function-on-function regression, Journal of Computational and Graphical Statistics. https://doi.org/10.1080/10618600.2018.1514310

See Also

cv.ff.interaction, step.ff.interaction.

Examples

1
 #See the examples in cv.ff.interaction() and step.ff.interaction().

FRegSigCom documentation built on May 1, 2019, 9:45 p.m.