我需要 ACF 图中范围的值
I need the values of the ranges that are in the ACF graph
从 ACF 图中,您可以看到蓝色的范围。我需要 ACF 图中范围的值。这个可以找回吗?
您可以为此使用 statsmodels.tsa.stattools.acf
函数:
from statsmodels.tsa.stattools import acf
import pandas as pd
df = pd.read_csv("file.csv")
acf_results = acf(x=df, alpha=0.05)
acf_results[0] #autocorrelation
acf_results[1] #confidence intervals
https://www.statsmodels.org/dev/generated/statsmodels.tsa.stattools.acf.html
从 ACF 图中,您可以看到蓝色的范围。我需要 ACF 图中范围的值。这个可以找回吗?
您可以为此使用 statsmodels.tsa.stattools.acf
函数:
from statsmodels.tsa.stattools import acf
import pandas as pd
df = pd.read_csv("file.csv")
acf_results = acf(x=df, alpha=0.05)
acf_results[0] #autocorrelation
acf_results[1] #confidence intervals
https://www.statsmodels.org/dev/generated/statsmodels.tsa.stattools.acf.html