# Statsplots


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

------------------------------------------------------------------------

<a
href="https://github.com/mustafaslanCoto/peshbeen/blob/main/peshbeen/statsplots.py#L16"
target="_blank" style="float:right; font-size:smaller">source</a>

### ccf_plot

``` python

def ccf_plot(
    x, y, lags, # Number of lags to include in the plot.
    alpha:float=0.05, # Significance level for confidence intervals.
    figsize:tuple=(10, 5), # Figure size.
    adjusted:bool=True, # If True, use lag-specific CI (sqrt(n-k)); 
if False, use fixed CI (sqrt(n)).
):

```

*Plot the cross-correlation function (CCF) between two time series.*
