Learn R Programming

midasr (version 0.9)

check_mixfreq: Check data for MIDAS regression

Description

Given mixed frequency data check whether higher frequency data can be converted to the lowest frequency.

Usage

check_mixfreq(data)

Value

a boolean TRUE, if mixed frequency data is conformable, FALSE if it is not.

Arguments

data

a list containing mixed frequency data

Author

Virmantas Kvedaras, Vaidotas Zemlys

Details

The number of observations in higher frequency data elements should have a common divisor with the number of observations in response variable. It is always assumed that the response variable is of the lowest frequency.