Continuous-Time Autoregression CAR(p) for Irregularly Spaced Series
Fits a stationary continuous-time autoregression of order 1 or 2 to observations taken at irregular times. Between two observations the process moves by the exact transition of the stochastic differential equation, so the Kalman filter gives the exact likelihood whatever the gaps. Measurement error can be added. Order 1 is the Ornstein-Uhlenbeck process.
불규칙한 시점에 관측한 자료에 1차 또는 2차 연속시간 자기회귀 모형을 적합합니다. 두 관측 사이의 이동을 확률미분방정식의 정확한 전이로 계산하므로 간격이 어떻든 칼만 필터로 정확한 우도를 얻습니다. 측정오차를 넣을 수 있으며 1차 모형은 오른스타인-울렌벡 과정입니다.
Blood markers were measured at irregular visits; how quickly does a deviation from the patient's mean level fade?
불규칙한 방문 때마다 측정한 혈중 지표에서 평균에서 벗어난 값이 얼마나 빨리 사라지는지 알고 싶습니다.
The autoregressive coefficients with standard errors, the characteristic roots and time scales, the noise SD, the mean, optional measurement-error SD, and standardised innovations with a Ljung-Box check.
When to use Continuous-Time Autoregression CAR(p) for Irregularly Spaced Series
- Observation times are unequally spaced
- The persistence must be expressed per unit of time
- Observations may carry measurement error
When to use something else
- Equally spaced data: use ARIMA Model
- Several subjects with random effects and serial correlation: use Hierarchical Linear Modeling (HLM)
Assumptions and requirements
- Stationary Gaussian process
- Order 1 or 2 describes the dependence
- Time recorded on a numeric or date scale
What the analysis reports
- Coefficients a_1, a_2 with standard errors
- Roots and characteristic time scales
- sigma, mean and measurement-error SD
- Log-likelihood, AIC, BIC
- Standardised innovations
How to report it
A CAR(1) fitted to [value] irregular observations gave a = [value] (SE [value]), a correlation time of [value] days.
Related methods
How this method is validated
이 방법의 검증 근거
- R cross-check. 5 reported values agree with R (stats::arima) within a tolerance of 1e-5; the largest observed difference is 1e-6.
R 교차 검증. R(stats::arima) 대조: 보고 값 5개가 허용오차 1e-5 안에서 일치합니다(관측된 최대 차이 1e-6).
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (19 values) agree with R (psych::describe, stats::quantile, stats::t.test, stats::shapiro.test) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, stats::quantile, stats::t.test, stats::shapiro.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 19개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 2 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Continuous-Time Autoregression CAR(p) for Irregularly Spaced Series on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome variable
- 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
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.