FDA

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/84

flashcard set

Earn XP

Description and Tags

Notes

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

85 Terms

1
New cards

What is functional data?

Functional data are data where each observation is a function, typically a smooth curve, surface, or anything that varies continuously over a domain such as time, space, or frequency.

2
New cards

key assumption of functional data is smoothness

Key assumption is smoothness:

yij = xi(tij) + ij with t in a continuum (usually time), and xi(t) smooth Functional data = the functions xi(t).

3
New cards

Neccessities for functional data? (5)

  • must believably derive from a smooth process

  • process should not be easily parameterizable (should not be able to write down a formula)

  • enough data to resolve the essential features of the process (peaks, zero-crossings, speed... will depend on application)

  • some repetition in the process

  • do not need equally-spaced or perfect measurements

4
New cards

Longitudinal vs Functional data

  • Because of the intense recording, functional data have been customarily modeled with a nonparametric approach.

    • Often smoothness of the functions is assumed.

  • Longitudinal data have traditionally been modeled by a parametric approach, such as a linear mixed-effects model. However, it may not be easy to spot the pattern due to sparsity of and noise in the longitudinal data.

  • Both longitudinal and functional data may be observed with noise (measurement errors).

  • A strength of the FDA approach is its ability to handle noise.

5
New cards

Diescrete to Functional Data

  • Allow evaluation of record at any time point (especially if observation times are not the same across records).

  • Evaluate rates of change.

  • Reduce noise.

  • Allow registration onto a common time-scale.

6
New cards

From Diescrete to Functional Data

knowt flashcard image
7
New cards

Basis Expansion

knowt flashcard image
8
New cards

Fourier Basis Examples

  • Φ(t) = (1,sin(ωt), cos(ωt))

  • Φ(t) = (1,sin(ωt), cos(ωt),sin(2ωt), cos(2ωt),sin(3ωt), cos(3ωt))

  • Φ(t) = (1,sin(ωt), cos(ωt), . . . ,sin(6ωt), cos(6ωt))

9
New cards

Fourier Basis Advantages

  • Only alternative to monomial bases until the middle of the 20th century

  • Excellent computational properties, especially if the observations are equally spaced.

  • Natural for describing periodic data, such as the annual weather cycle

    BUT functions are periodic; this can be a problem if the data are, for example, growth curves. Fourier basis is still the first choice in many fields, such as signal analysis, even when the data are not periodic.

10
New cards

Splines

  • Splines are polynomial segments joined end-to-end

  • Segments are constrained to be smooth at the join

  • The points at which the segments join are called knots

  • The order m (order = degree+1) of the polynomial segments and

  • the location of the knots define the system.

  • Bsplines are a particularly useful means of incorporating the constraints.

11
New cards

Properties of B-Splines

  • Number of basis functions:

order + number interior knots

  • Derivatives up to m − 2 are continuous.

  • B-spline basis functions are positive over at most m adjacent intervals → fast computation for even thousands of basis functions.

  • Sum of all B-splines in a basis is always 1; can fit any polynomial of order m.

  • Most popular choice is order 4, implying continuous second derivatives. Second derivatives have straight-line segments.

12
New cards

B-SplineS: Choosing knots and order

  • The order of the spline should be at least k + 2 if you are interested in k derivatives.

  • Knots are often equally spaced (a useful default)

  • But there are two important rules:

    • Place more knots where you know there is strong curvature, and fewer where the function changes slowly.

    • Be sure there is at least one data point in every interval.

13
New cards

Other Basis

The fda library in R also allows the following bases:

  • Constant φ(t) = 1, the simplest of all.

  • Power t λ1 ,t λ2 ,t λ3 , . . ., powers are distinct but not necessarily integers or positive.

  • Exponential e λ1t , e λ2t , e λ3t , . . .

Other possible bases include

  • Wavelets especially for sharp, local features

  • Empirical we will investigate functional Principal Components

  • Designer see our section on dynamic models: tailoring a basis to data (if you know something about the data) can be much more efficient.

14
New cards

Choosing the Number of Basis Functions

<p></p>
15
New cards

Choosing the Number of Basis Functions Tradeoff

Trade off: Too many basis functions over-fits the data and reflect errors of measurement

Too few basis functions fails to capture interesting features of the curves.

16
New cards

Bias and Variance Trade-Off

<p></p>
17
New cards

Mean Squared Error

knowt flashcard image
18
New cards

Cross Validation

knowt flashcard image
19
New cards

Least Squares

knowt flashcard image
20
New cards

Linear Regression on Basis Functions

knowt flashcard image
21
New cards

Smoothing Penalties

knowt flashcard image
22
New cards

What do we mean by Smoothness?

Some things are fairly clearly smooth:

  • constants

  • straight lines

What we really want to do is eliminate small “wiggles” in the data

23
New cards

The D Operator

knowt flashcard image
24
New cards

The Roughness of Derivatives

knowt flashcard image
25
New cards

The Smoothing Spline Theorem

knowt flashcard image
26
New cards

Computing the Smoothing Spline

knowt flashcard image
27
New cards

Calculating the Penalized Fit

knowt flashcard image
28
New cards

More General Smoothing Penalties

knowt flashcard image
29
New cards

A Very General Notion

knowt flashcard image
30
New cards

Linear Smooths and Degrees of Freedom

<p></p>
31
New cards

Choosing the Smoothing Parameter

knowt flashcard image
32
New cards

Generalized Cross Validation

knowt flashcard image
33
New cards

Understanding the Distribution of Collections of Functions

knowt flashcard image
34
New cards

Variance

knowt flashcard image
35
New cards

Mechanics of PCA

<p></p>
36
New cards

Functional PCA

knowt flashcard image
37
New cards

Re-Interpretation

knowt flashcard image
38
New cards

Why Orthogonality?

knowt flashcard image
39
New cards

PCA and Karhunen-Loève

knowt flashcard image
40
New cards

Computing FPCA

knowt flashcard image
41
New cards

Displays of PCA

knowt flashcard image
42
New cards

Varimax Rotations

<p></p>
43
New cards

Defining New Inner Products

knowt flashcard image
44
New cards

fPCA with Multivariate Functions

knowt flashcard image
45
New cards

Smoothing and fPCA

knowt flashcard image
46
New cards

Including Derivatives

knowt flashcard image
47
New cards

A New Measure of Size

knowt flashcard image
48
New cards

Size and Orthogonality

knowt flashcard image
49
New cards

Scalar to Function: Identification

knowt flashcard image
50
New cards

Scalar to Function: Smoothing

knowt flashcard image
51
New cards

Scalar to Function: Calculating

knowt flashcard image
52
New cards

Scalar to Function: Confidence Intervals

knowt flashcard image
53
New cards

Multivariate and Mixed Functional Linear Regression

knowt flashcard image
54
New cards

Multivariate and Mixed Functional Linear Regression Calculations

knowt flashcard image
55
New cards

Principal Components Regression

knowt flashcard image
56
New cards

Functional PCR

knowt flashcard image
57
New cards

Problems of Inference

knowt flashcard image
58
New cards

Permutation Tests

knowt flashcard image
59
New cards

Diagramatic representation of permutation test

knowt flashcard image
60
New cards

Functional Linear Regression and Permutation F-Tests

knowt flashcard image
61
New cards

Permutation t-Tests

knowt flashcard image
62
New cards

Max t

knowt flashcard image
63
New cards

Functional Response Models

Response is a set of curves

yi(t) i = 1,..., n.

Covariates may be group labels scalar values functions

64
New cards

Partitioning Effects

knowt flashcard image
65
New cards

Permutation Test

knowt flashcard image
66
New cards

Functional Response Models – scalar covariate

knowt flashcard image
67
New cards

Functional Covariates: Concurrent Linear Model

knowt flashcard image
68
New cards

Mechanics

knowt flashcard image
69
New cards

Smoothing and Confidence Intervals

knowt flashcard image
70
New cards

Confidence Intervals

knowt flashcard image
71
New cards

Functional Response Models in General

knowt flashcard image
72
New cards

Estimating a Coefficient Function

knowt flashcard image
73
New cards

Estimating B

knowt flashcard image
74
New cards

Interpretation

knowt flashcard image
75
New cards

Some Useful Restrictions

knowt flashcard image
76
New cards
77
New cards
78
New cards
79
New cards
80
New cards
81
New cards
82
New cards
83
New cards
84
New cards
85
New cards