Learn R Programming

fpca (version 0.2-1)

easy: An example with M=5 (basis functions) and r=3 (non-zero eigenvalues)

Description

A simulated dataset as an example which corresponds to the "easy" case in the paper

Usage

data(easy)

Arguments

Format

easy is a list with six components (in the given order):
data
data matrix with three columns: column 1--ID, column 2--measurement, column 3--time.
eigenfunctions
true eigenfunctions: generated from cubic Bsplines with M=5 equally spaced knots.
eigenvalues
true eigenvalues: first--1, second--0.66, third--0.52, others--zero.
number_of_basis
true number of basis functions: M=5.
dimension
true dimension of the process: r=3.
error_sd
true error standard deviation: 0.25.

Details

mean curve of the process is zero; principal component scores and errors are all i.i.d N(0,1); there are 200 subjects, and each has 2~10 measurements uniformly distributed on [0,1]; in total there are 1227 measurements