Description Usage Format See Also Examples
A dataset of S&P 500 intra-day price at one-minute frequence from 9:30 a.m. to 4:00 p.m.. The sample ranges from 02/January/2015 to 29/March/2018, and trading days with missing intra-day observations have been eliminated from the sample.
1 |
a 390 by 788 matrix that each column containing the raw intra-day price discretely observed at daily basis.
1 2 3 4 5 6 7 | # load the data
yd = as.matrix(sample_data)
grid_point = dim(yd)[1]
N = dim(yd)[2]
# smooth data into functional objects by using B-spline bases.
fd = fda::Data2fd(y=yd, argvals=seq(0,1,len = grid_point), fda::create.bspline.basis(nbasis = 32))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.