Function-on-Scalar Regression (Penalised B-Spline Coefficient Functions)
Function-on-scalar regression models a whole curve per subject, such as a growth curve, a gait cycle or an evoked response, as a function of scalar covariates. Each covariate gets a coefficient function over the curve's domain, represented by penalised B-splines so that it is smooth, with the amount of smoothing chosen by generalised cross-validation.
스칼라 예측 함수 회귀는 성장 곡선, 보행 주기, 유발 반응처럼 대상마다 관측된 곡선 전체를 스칼라 공변량의 함수로 모형화합니다. 공변량마다 곡선 영역 위의 계수 함수를 두고, 벌점 B-스플라인으로 매끄럽게 나타내며 평활 정도는 일반화 교차검증으로 정합니다.
Over which part of the gait cycle does knee angle differ between patients and controls, after adjusting for age?
나이를 보정한 뒤 보행 주기의 어느 구간에서 환자와 대조군의 무릎 각도가 다릅니까?
The method gives each covariate's coefficient function with pointwise confidence bands, the share of the domain where the band excludes zero, the effective degrees of freedom and the functional R-squared.
When to use Function-on-Scalar Regression (Penalised B-Spline Coefficient Functions)
- The outcome is a curve observed on a common grid
- Covariates are scalars (group, age, dose)
- Where along the curve effects occur is of interest
When to use something else
- The predictor is also a curve: use Function-on-Function Linear Regression (Functional Principal Components)
- Only a group comparison of curves is needed: use One-Way Functional ANOVA (L2-Norm, F-Type and Globalized Pointwise F Tests)
Assumptions and requirements
- Curves on the same grid without missing values
- Smooth coefficient functions
- Pointwise intervals assume independent errors along the curve
What the analysis reports
- Coefficient functions with pointwise intervals
- Smoothing parameter and effective df
- Functional R-squared
How to report it
The coefficient function of [value] had pointwise 95% intervals excluding zero over [value]% of the domain.
Related methods
- Function-on-Function Linear Regression (Functional Principal Components)
- One-Way Functional ANOVA (L2-Norm, F-Type and Globalized Pointwise F Tests)
- Functional Principal Component Analysis (FPCA)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-8.
독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-8).
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 Function-on-Scalar Regression (Penalised B-Spline Coefficient Functions) on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items) and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.