fitted.FPCAder | R Documentation |
Combines the zero-meaned fitted values and the mean derivative to get the fitted values for the derivative trajectories. Estimates are given on the work-grid, not on the observation grid. Use ConvertSupport to map the estimates to your desired domain.
## S3 method for class 'FPCAder'
fitted(object, K = NULL, ...)
object |
A object of class FPCA returned by the function FPCA(). |
K |
The integer number of the first K components used for the representation. (default: length(derObj$lambda )) |
... |
Additional arguments |
An n
by length(workGrid)
matrix, each row of which contains a sample.
Liu, Bitao, and Hans-Georg Müller. "Estimating derivatives for samples of sparsely observed functions, with application to online auction dynamics." Journal of the American Statistical Association 104, no. 486 (2009): 704-717. (Sparse data FPCA)
set.seed(1)
n <- 20
pts <- seq(0, 1, by=0.05)
sampWiener <- Wiener(n, pts)
sampWiener <- Sparsify(sampWiener, pts, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.