Ait-Sahalia Nonparametric Test of a Diffusion Specification
The Ait-Sahalia test checks a diffusion model through the stationary distribution it implies. The model's marginal density (normal for Vasicek, gamma for CIR) is fitted by minimum distance to a kernel density estimate of the observed levels, and the remaining squared distance is standardised into a z statistic. Because the asymptotic version over-rejects in persistent series, a parametric-bootstrap p-value from the fitted model is also reported.
아이트-사할리아 검정은 확산모형이 함의하는 정상분포로 모형을 점검합니다. 모형의 주변밀도(바시첵은 정규, CIR은 감마)를 관측값의 커널 밀도추정에 최소거리로 맞춘 뒤 남은 제곱거리를 표준화해 z 통계량을 만듭니다. 점근 검정은 지속성이 강한 계열에서 과도하게 기각하므로 적합한 모형에서 모의한 모수적 붓스트랩 p값도 함께 냅니다.
Is the distribution of this interest-rate (or other mean-reverting) series consistent with the stationary density of a Vasicek or CIR diffusion?
이 금리(또는 평균회귀하는) 계열의 분포가 바시첵이나 CIR 확산의 정상밀도와 맞습니까?
The method returns the minimum distance M, the bandwidth, the asymptotic z statistic and p-value, a parametric-bootstrap p-value, the fitted stationary-density parameters, and a table comparing the kernel and model densities on a grid.
When to use Ait-Sahalia Nonparametric Test of a Diffusion Specification
- You want to test whether a one-factor diffusion fits the level distribution of a stationary series.
- You are choosing between normal (Vasicek) and gamma (CIR) stationary laws for a short rate.
- You want a specification check that does not depend on the time step.
When to use something else
- You want to estimate the diffusion parameters: use Ornstein-Uhlenbeck Process Estimation
- The series is a random walk without mean reversion: use Geometric Brownian Motion Estimation and Simulation
Assumptions and requirements
- The process is stationary and mixing
- Values are observed at roughly equal intervals
- For CIR, values are strictly positive
What the analysis reports
- Distance M and z statistic
- Asymptotic and bootstrap p-values
- Fitted stationary density parameters
- Kernel versus model density table
How to report it
The Ait-Sahalia marginal-density test of the CIR specification (n = [value], bandwidth [value]) gave z = [value], asymptotic p = [value] and parametric-bootstrap p = [value].
Related methods
- Ornstein-Uhlenbeck Process Estimation
- Kessler Approximate Likelihood Estimation of a Diffusion
- CKLS Short-Rate Model (GMM with Nested Model Tests)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy.
독립 계산. SciPy 대조 참조 시험 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 Ait-Sahalia Nonparametric Test of a Diffusion Specification on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable 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.