Chapter 4 Bulid Functional Data Objects
object of the functional data class fd
in R
An object of fd combines the coefficients with the basis system. In the previous post, we learned that create.bspline.basis
entable one create a system of bsplines. The object class is fdbasis.
add coefficients to the fdbasis to obtain a functional data object fd.
Use the function fd()
in R.
1
|
|
Note that adding coefficients in is different from evaluate a bspline system at a given time point $t$. Suppose $f(x)$ is approximated by a bspline system with basis functions denoted by $\phi_i(x)$. That is,
Thus, evaluating $f(t)$ means that given $t = t_0$ compute $f(t_0)$, which is essentially a vector. Each element in the vector stands for the basis function value when $t = t_0$, i.e., $\phi_i(t_0)$. On the other hand, supply coefficients into the bspline system amounts to given the value of $\beta_i$. Once the coefficients are given, one can evaluate the smoothing system as a single function given $t=t_0$ using R function eval.fd()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Linear Differential Operator or Lfd Class
The notation $Lx$ refers to the application of a linear differential operator L to a function $x$. In general,