Skip to content

Methods · Bayesian statistics · Bayesian regression

Bayesian Fractional Polynomial Regression

Bayesian fractional polynomial regression compares every combination of power transformations of continuous covariates as a linear model under a hyper-g prior, giving posterior probabilities for each covariate's inclusion, its degree of non-linearity and its power terms.

베이즈 분수다항 회귀는 연속 공변량의 거듭제곱 변환 조합을 하나하나 하이퍼-g 사전분포 아래의 선형모형으로 비교해, 각 공변량의 포함 여부와 비선형 정도, 거듭제곱 항의 사후확률을 구합니다.

Is the effect of age on my outcome linear, logarithmic or more curved, and how sure can I be, without running a sequence of significance tests?

나이가 결과에 미치는 효과가 직선인지, 로그 꼴인지, 더 휘어 있는지를 유의성 검정을 줄줄이 하지 않고 확률로 판단할 수 있나요?

Give a numeric outcome and up to three covariates. Each continuous covariate can be excluded or enter as FP1 or FP2 with the standard powers; every combination is a linear model whose marginal likelihood under Zellner's g-prior with a hyper-g prior is computed exactly. The output lists the most probable models, inclusion and non-linearity probabilities, the coefficients of the best model and a model-averaged curve.

When to use Bayesian Fractional Polynomial Regression

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Bayesian fractional polynomial selection with a hyper-g prior gave the highest posterior probability ([value]) to the model [model]; the posterior probability that [covariate] has a non-linear effect was [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-6).

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 Fractional Polynomial Regression on Quorant

Data you need
a table (CSV or Excel) with an outcome variable 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.

Method ID Q15036 · Reviewed 2026-10-25