Bayesian Functional Principal Component Analysis
Bayesian functional principal component analysis decomposes a set of curves into a mean curve and a few main modes of variation (eigenfunctions), with posterior uncertainty. Curves are modelled with cubic B-splines under smoothness priors, fitted by Gibbs sampling, and every posterior draw is rotated to orthonormal components, giving posterior means and 95% credible bands for the mean curve, the eigenfunctions, the eigenvalues and the noise variance.
베이즈 함수형 주성분분석은 여러 곡선을 평균 곡선과 몇 개의 주요 변동 양식(고유함수)으로 나누고 그 불확실성까지 구합니다. 곡선을 평활성 사전분포를 둔 3차 B-스플라인으로 나타내 깁스 표집으로 추정하며, 사후 표본마다 직교 성분으로 회전해 평균 함수, 고유함수, 고유값, 잡음 분산의 사후 평균과 95% 신용 구간을 냅니다.
What are the main patterns of variation among my curves, and how certain are their shapes and sizes?
곡선들 사이의 주요 변동 양상은 무엇이며 그 모양과 크기를 얼마나 확신할 수 있습니까?
You get posterior mean eigenvalues with credible intervals and the share of variance each component explains, pointwise posterior means and 95% bands for the mean function and each eigenfunction, the residual variance, and effective sample sizes as a convergence check.
When to use Bayesian Functional Principal Component Analysis
- Each unit is a curve observed on a common time grid, such as growth curves, daily activity or spectra.
- You want uncertainty bands for the eigenfunctions instead of single estimates.
- The curves are noisy and you want smoothing built into the model.
When to use something else
- Curves are sparse or observed at different times per unit: use Functional Principal Component Analysis (FPCA)
- Data are ordinary variables rather than curves: use Principal Component Analysis (PCA)
- Curves differ mainly by timing shifts and should be aligned first: use Curve Registration of Functional Data (Shift and Landmark)
Assumptions and requirements
- All curves observed at the same time points (incomplete curves are dropped)
- Smooth mean and eigenfunctions with Gaussian measurement error
- Enough posterior draws for stable summaries (check the effective sample sizes)
What the analysis reports
- Posterior eigenvalues with 95% credible intervals and variance shares
- Mean function and eigenfunctions with 95% pointwise credible bands
- Residual variance with credible interval
- Effective sample sizes
How to report it
Bayesian FPCA of [value] curves gave a first eigenvalue of [value] (95% CrI [value] to [value]), explaining [value]% of the variance.
Related methods
- Functional Principal Component Analysis (FPCA)
- Probabilistic Principal Component Analysis (PPCA)
- Curve Registration of Functional Data (Shift and Landmark)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with NumPy and direct computations (formulas, enumeration or simulation).
독립 계산. NumPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Bayesian Functional Principal Component Analysis on Quorant
- Data you need
- a table (CSV or Excel) with a unit (entity) ID, a time variable and an outcome variable
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.