Skip to content

Commit f79ec55

Browse files
committed
update wording around error model
1 parent 2a5f77c commit f79ec55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/notebooks/graded_intervention_time_series_single_channel_ols.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
" - **Saturation transforms** (optional): Model diminishing returns using Hill, logistic, or Michaelis-Menten functions when appropriate\n",
2222
"- **Baseline controls**: Include confounders and natural trends in the regression\n",
2323
"- **{term}`Counterfactual` analysis**: Estimate causal effects by zeroing or scaling interventions\n",
24-
"- **HAC standard errors**: Robust inference accounting for autocorrelation and heteroskedasticity\n",
24+
"- **Error model for autocorrelation**: Time series data typically exhibits autocorrelation (temporal dependence in residuals), which requires special handling for valid inference. This can be addressed through multiple approaches including HAC (Newey-West) standard errors or ARIMAX error models (see detailed discussion below).\n",
2525
"\n",
2626
"Transfer functions can be as simple as a distributed lag (adstock only) or can combine multiple transformations (e.g., saturation followed by adstock). The key is to match the functional form to the expected dynamics of the intervention.\n",
2727
"\n",

0 commit comments

Comments
 (0)