Censored Regression with Autoregressive Errors (Detection Limits, SAEM)
Regresses a time series on covariates when some values are only known to lie below (or above) a detection limit and the errors follow a stationary autoregression. The censored and missing values are drawn from their truncated normal conditionals inside a stochastic approximation EM algorithm, so the estimates maximise the exact likelihood; standard errors come from Louis' identity.
일부 값이 검출한계 아래(또는 위)에 있다는 것만 알려진 시계열을 공변량으로 회귀하면서 오차가 정상 자기회귀를 따른다고 봅니다. 중도절단값과 결측값을 확률근사 EM 안에서 절단정규 조건부분포로 뽑아 정확한 우도를 최대화하고, 표준오차는 루이스 항등식으로 구합니다.
Weekly phosphorus concentrations are often below the detection limit; is there a downward trend once the autocorrelation is accounted for?
주간 인 농도가 자주 검출한계 아래로 나옵니다. 자기상관을 감안해도 감소 추세가 있는지 알고 싶습니다.
Regression coefficients with standard errors and p-values, AR coefficients, innovation variance, counts of censored and missing values and the convergence path.
When to use Censored Regression with Autoregressive Errors (Detection Limits, SAEM)
- A series has values below or above a detection limit
- Errors are autocorrelated
- Some measurements are missing in an equally spaced series
When to use something else
- Independent observations with censoring: use Tobit Regression Model
- Only summaries of nondetects are needed: use Nondetect (Left-Censored) Data Summary Statistics
Assumptions and requirements
- Equally spaced observations
- Gaussian stationary AR(p) errors
- Censoring limits known for every censored value
What the analysis reports
- Coefficients, standard errors, z and p
- AR coefficients and innovation variance
- Number of censored and missing values
- SAEM path and convergence check
How to report it
A regression with AR(1) errors and [value] censored values gave a trend of [value] per week (SE [value], p = [value]); phi_1 = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- R cross-check. 7 reported values agree with R (stats::arima, numDeriv::hessian) within a tolerance of 1e-5; the largest observed difference is 9e-7.
R 교차 검증. R(stats::arima, numDeriv::hessian) 대조: 보고 값 7개가 허용오차 1e-5 안에서 일치합니다(관측된 최대 차이 9e-7).
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (48 values) agree with R (psych::describe, lmtest::bptest, stats::quantile, stats::t.test) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, lmtest::bptest, stats::quantile, stats::t.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 48개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 3 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation).
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과.
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 Censored Regression with Autoregressive Errors (Detection Limits, SAEM) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome 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
- 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.