Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

import tsa test

>>> import statsmodels.api as sm
>>> from statsmodels.tsa.stattools import grangercausalitytests
>>> import numpy as np
>>> data = sm.datasets.macrodata.load_pandas()
>>> data = data.data[["realgdp", "realcons"]].pct_change().dropna()
Source by www.statsmodels.org #
 
PREVIOUS NEXT
Tagged: #import #tsa #test
ADD COMMENT
Topic
Name
9+1 =