Skip to content

Instantly share code, notes, and snippets.

View homodigitus's full-sized avatar

Murat Ozturkmen homodigitus

View GitHub Profile
@homodigitus
homodigitus / var_model.py
Created January 22, 2022 09:17
var model functions
import warnings
warnings.filterwarnings("ignore")
import pandas as pd
import numpy as np
from stargazer.stargazer import Stargazer
from arch.unitroot import ADF
from statsmodels.tsa.stattools import grangercausalitytests
from statsmodels.tsa.vector_ar.vecm import coint_johansen