Interval-Wise Testing for Functional Data (Pini-Vantini)
Curves observed on a common grid are compared by a permutation test of every interval of that grid: the statistic of an interval is the integrated squared difference between group mean curves (or the between-group sum of squares, or the squared mean for one sample). The adjusted p-value at a point is the largest p-value among the intervals that contain it, which keeps the error rate under control interval by interval and so says where on the domain the curves differ, not only whether they differ.
공통 격자에서 관측된 곡선들을 격자의 모든 구간에 대한 순열검정으로 비교합니다. 한 구간의 통계량은 집단 평균 곡선 차이의 제곱을 그 구간에서 적분한 값(또는 집단 간 제곱합, 일표본에서는 평균의 제곱)입니다. 어떤 지점의 조정 p값은 그 지점을 포함하는 모든 구간의 p값 가운데 가장 큰 값이며, 이렇게 하면 구간 단위로 오류율이 통제되어 곡선들이 다른지뿐 아니라 영역의 어디에서 다른지를 말할 수 있습니다.
Two groups of gait curves clearly differ overall; over which part of the stride do they actually differ, with a correction I can defend?
두 집단의 보행 곡선이 전체적으로 다른 것은 분명합니다. 보행 주기의 어느 구간에서 실제로 다른지, 근거를 댈 수 있는 보정을 적용해 알고 싶습니다.
The method returns the pointwise statistic, the unadjusted and the interval-wise adjusted p-value at every grid point, the contiguous stretches of the domain where the adjusted p-value falls below the level, the global p-value of the whole domain, and the number of permutations used or whether they were fully enumerated.
When to use Interval-Wise Testing for Functional Data (Pini-Vantini)
- Curves or spectra are observed on the same grid for every unit
- The question is where on the domain two or more groups differ
- One sample of paired difference curves is tested against zero by sign flips
When to use something else
- Only a global test of equal mean curves is needed : use One-Way Functional ANOVA (L2-Norm, F-Type and Globalized Pointwise F Tests)
- Curves are measured on different grids and have not been interpolated to a common one
- Curves are misaligned in the domain and need warping first : use Curve Registration of Functional Data (Shift and Landmark)
- Groups of curves are to be discovered rather than compared : use Functional Data Clustering (B-Spline Coefficients, L2 k-Means)
Assumptions and requirements
- Curves are independent and exchangeable across groups under the null hypothesis
- Every curve is observed at every grid point
- For the one-sample test the distribution is symmetric about the hypothesised mean
- The smallest attainable p-value is set by the number of permutations
What the analysis reports
- Pointwise statistic and mean difference (or mean) at each grid point
- Unadjusted and interval-wise adjusted p-value functions over the domain
- Contiguous intervals of the domain declared significant at the chosen level
- Global p-value of the whole domain and the number of permutations or exact enumeration
How to report it
Interval-wise testing of two groups on [value] grid points ([value] curves, [value] permutations) gave a global p = [value] and a smallest adjusted p-value of [value]; adjusted p-values were below [value] on [value] ([value]% of the grid).
Related methods
- One-Way Functional ANOVA (L2-Norm, F-Type and Globalized Pointwise F Tests)
- Curve Registration of Functional Data (Shift and Landmark)
- Functional Data Clustering (B-Spline Coefficients, L2 k-Means)
- Permutation Test for Two Groups
- Permutation-Based Multiple Testing (Westfall-Young maxT / minP)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).
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 Interval-Wise Testing for Functional Data (Pini-Vantini) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a grouping variable, a unit (entity) ID and a time variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.