
PutPythonAsWF ( benchmark, app = eviewsapp ) > evp. GetEViewsApp ( instance = 'new', showwindow = True ) > evp. > import pyeviews as evp > eviewsapp = evp. Then call the PutPythonAsWF function to create pages for the benchmark and indicator series: Set showwindow (which displays the EViews window) to True. Load the pyeviews package and create a custom COM application object so we can customize our settings.
EVIEWS REGRESSION SERIES
Series (, index = dtsq, name = 'indicator' ) date_range ( '1998q1', periods = 12, freq = 'Q' ) > indicator = pa. Series (, index = dtsa, name = 'benchmark' ) > dtsq = pa. date_range ( '1998', periods = 3, freq = 'A' ) > benchmark = pa.

> import numpy as np > import pandas as pa > dtsa = pa. We’ll call the annual series “benchmark” and the quarterly series “indicator”:
EVIEWS REGRESSION DOWNLOAD
Or, download the package, navigate to your installation directory, and use: $ python setup.py installįor more details on installation, see our whitepaper. For example, head over to the pyeviews package at the Python Package Index and at a Windows command prompt:
EVIEWS REGRESSION INSTALL

It has the ability to use a higher-frequency series as a pattern for the interpolated series to follow. Chow-Lin interpolation is a regression-based technique to transform low-frequency data (in our example, annual) into higher-frequency data (in our example, quarterly). We’re going to use the popular Chow-Lin interpolation routine in EViews using data created in Python. Here’s a simple example going from Python to EViews. (For more information on COM and EViews, take a look at our whitepaper on the subject.)

This package uses COM to transfer data between Python and EViews. The purpose of the pyeviews package is to make it easier for EViews and Python to talk to each other, so Python programmers can use the econometric engine of EViews directly from Python.
