Weighted Regressions on Time, Discharge and Season (WRTDS)
Weighted Regressions on Time, Discharge and Season (WRTDS) fits locally weighted regressions of log concentration on time, log discharge and season, then removes year-to-year streamflow variation to give flow-normalized concentration and flux trends.
시간·유량·계절 가중 회귀(WRTDS)는 로그 농도를 시간, 로그 유량, 계절에 국소 가중 회귀한 뒤 해마다의 유량 변동을 걷어내 유량 정규화 농도와 부하의 추세를 구하는 방법입니다.
Has nitrate in this river really declined, or did it just change because of wetter and drier years?
이 하천의 질산염이 정말 줄었나요, 아니면 비가 많고 적은 해 때문에 달라진 것뿐인가요?
WRTDS estimates a separate regression of log concentration for every combination of date and discharge, weighting nearby samples in time, discharge and season with tricube windows, and turns the resulting surface into daily concentration and flux estimates. Averaging each day over all historical discharges for that day of the year gives flow-normalized values, so the trend reflects changes in the river system rather than random weather, and a block bootstrap measures how certain the trend is.
When to use Weighted Regressions on Time, Discharge and Season (WRTDS)
- You have years of water-quality samples and a daily streamflow record
- You want concentration and load trends separated from streamflow variability
- Relationships with discharge and season may change over time
When to use something else
- You have only a short record or no discharge data: use the Seasonal Kendall Trend Test
- Many samples are below detection limits: use a censored WRTDS implementation
Assumptions and requirements
- Log-concentration residuals are roughly normal with locally constant variance
- Samples span the range of discharge and season in each period (about 200 or more samples)
- No censored (below-detection) samples are present
What the analysis reports
- Annual mean and flow-normalized concentration and flux
- Change in flow-normalized concentration and flux between the first and last full years
- Block-bootstrap 90% intervals and likelihood of an upward trend (20 replicates by default; increase for publication)
- Flow-normalized concentration plot
- With more than 3,000 samples, an evenly thinned subset of 3,000 is used
How to report it
Using WRTDS on [n] samples, flow-normalized concentration changed from [value] in [year] to [value] in [year] ([value]%) (90% block-bootstrap CI [value], [value]), and flow-normalized flux changed by [value]%.
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 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 Weighted Regressions on Time, Discharge and Season (WRTDS) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable, an outcome variable and predictor (feature) columns
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.