Logo

statsmodels.tsa.vector_ar.var_model.VAR

class statsmodels.tsa.vector_ar.var_model.VAR(endog, dates=None, freq=None, missing='none')[source]

Fit VAR(p) process and do lag order selection

System Message: WARNING/2 (y_t = A_1 y_{t-1} + \ldots + A_p y_{t-p} + u_t )

latex exited with error [stdout] This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./math.tex LaTeX2e <2011/06/27> Babel <3.9k> and hyphenation patterns for 2 languages loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty ! LaTeX Error: File `utf8x.def’ not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: def) Enter file name: ! Emergency stop. <read *> l.131 \endinput ^^M No pages of output. Transcript written on math.log.
Parameters:

endog : array-like

2-d endogenous response variable. The independent variable.

dates : array-like

must match number of rows of endog

References

Lutkepohl (2005) New Introduction to Multiple Time Series Analysis

Methods

fit([maxlags, method, ic, trend, verbose]) Fit the VAR model
from_formula(formula, data[, subset]) Create a Model from a formula and dataframe.
hessian(params) The Hessian matrix of the model
information(params) Fisher information matrix of model
initialize() Initialize (possibly re-initialize) a Model instance.
loglike(params) Log-likelihood of model.
predict(params[, start, end, lags, trend]) Returns in-sample predictions or forecasts
score(params) Score vector of model.
select_order([maxlags, verbose]) Compute lag order selections based on each of the available information

Attributes

endog_names
exog_names

Previous topic

statsmodels.tsa.vector_ar.dynamic.DynamicVAR.resid

Next topic

statsmodels.tsa.vector_ar.var_model.VAR.fit

This Page