50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


FRegSigCom (version 0.3.0)

getcoef.nonlinear: Get the estimated intercept and nonlinear functions in nonlinear function-on-function model

Description

This function is used to calculate the estimates for μ(t),Fi(x,s,t)s based on the object obtained from cv.nonlinear.

Usage

getcoef.nonlinear(fit.cv, n.x.grid = 50)

Arguments

fit.cv

the object obtained from cv.nonlinear.

n.x.grid

the number of grid points of x. The estimated Fi(x,s,t) is calculated in a three-dimensional grid of (x,s,t). The grid points of s and t are the observation points of Xi(s) and Y(t) used in cv.nonlinear, respectively. The grid of x includes n.x.grid equally spaced values between the minimum and maximum of all the discretely observed values of Xi(s). Default of n.x.grid is 50.

Value

a list containing

mu

the vector of estimated values of μ(t) at the observation points of the response function.

F

a list of length p, the number of functional predictors. Its i-th element is a three dimensional array with estimated values of Fi(x,s,t) on the three-dimensional grid X.grid[[i]]*t.x.list[[i]]*t.y (see below).

X.grid

a list of length p. Its i-th element is the vector of grid points for x and includes n.x.grid equally spaced values between the minimum and maximum of all the discretely observed values of Xi(s).

t.x.list

one of the arguments in cv.nonlinear, specifying the list of the vectors of obesrvation points for Xi(s), 1ip.

t.y

one of the arguments in cv.nonlinear, specifying the vector of obesrvation points of the response curve Y(t).

%% ~Describe the value returned %% If it is a LIST, use %% \item{comp1 }{Description of 'comp1'} %% \item{comp2 }{Description of 'comp2'} %% ...

See Also

cv.nonlinear.

Examples

Run this code
# NOT RUN {
#See the examples in cv.nonlinear().
# }

Run the code above in your browser using DataLab