calogica / dbt-expectations

Port(ish) of Great Expectations to dbt test macros
https://calogica.github.io/dbt-expectations/
Apache License 2.0
1.04k stars 126 forks source link

Add Modified Z-Score anomaly detection #210

Open clausherther opened 1 year ago

clausherther commented 1 year ago

see: https://www.statology.org/modified-z-score/

For timeseries, requires:

or, we'd test across fixed window via row_condition, i.e. date >= last 30 days etc