mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
A four-parameter interrupted time series fit (pre-trend, level change, slope change) by OLS, with a Bartlett-kernel HAC covariance, the n/(n-k) small-sample factor and Student t intervals. The tests pin the coefficients, standard errors and intervals to independently computed reference values on contiguous and gapped series.