Duration Dependence Test for Spells and Runs
A duration dependence test asks whether the chance that a phase ends depends on how long it has lasted. Spells such as expansions, recessions or runs of positive returns are fitted with a hazard model: a Weibull hazard for continuous durations, or a discrete log-logistic hazard for runs counted in periods. A constant hazard means no duration dependence; a rising hazard means older phases are more likely to end.
지속기간 의존성 검정은 한 국면이 끝날 가능성이 그 국면이 이어진 기간에 따라 달라지는지를 묻습니다. 경기 확장과 수축, 양의 수익률이 이어지는 구간 같은 국면을 위험함수 모형으로 적합합니다. 연속 기간에는 와이블 위험함수를, 기간 수로 센 연속 구간에는 이산 로그로지스틱 위험함수를 씁니다. 위험이 일정하면 지속기간 의존성이 없고, 위험이 커지면 오래된 국면일수록 끝나기 쉽습니다.
Do long expansions, recessions or runs become more or less likely to end as they age?
오래 이어진 확장, 수축 또는 연속 구간은 시간이 지날수록 끝나기 쉬워집니까, 어려워집니까?
The method returns the hazard parameters, the likelihood ratio and Wald tests of a constant hazard, and the estimated hazard at typical durations.
When to use Duration Dependence Test for Spells and Runs
- You study whether business-cycle phases die of old age.
- You test for speculative bubbles through runs of abnormal returns.
- Spells can be given directly or derived from runs of a series above a threshold.
When to use something else
- You compare survival curves between groups: use Kaplan-Meier Survival Analysis
- You model covariate effects on the hazard: use Weibull Parametric Survival Model
- You only test randomness of a sequence: use Runs Test for Randomness
Assumptions and requirements
- Spells are independent
- The hazard shape is captured by the Weibull or log-logistic form
- Censoring of the last spell is independent of its length
What the analysis reports
- Shape parameter (Weibull) or log-duration slope (log-logistic) with standard errors
- Likelihood ratio and Wald tests of no duration dependence
- Hazard at selected durations with observed rates
How to report it
A Weibull model for [value] spells ([value] completed) gave alpha = [value] (95% CI [value] to [value]); the test of no duration dependence gave LR chi2(1) = [value], p = [value].
Related methods
- Weibull Parametric Survival Model
- Kaplan-Meier Survival Analysis
- Runs Test for Randomness
- Business-Cycle Turning-Point Dating (Bry-Boschan, BBQ)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with lifelines and statsmodels at a stated tolerance of 1e-5.
독립 계산. lifelines·statsmodels 대조 참조 시험 2건 통과(허용오차 1e-5).
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 Duration Dependence Test for Spells and Runs on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.