check_mixfreq: Check data for MIDAS regression

View source: R/midaslag.R

check_mixfreqR Documentation

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)

Arguments

data

a list containing mixed frequency data

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.

Value

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

Author(s)

Virmantas Kvedaras, Vaidotas Zemlys


mpiktas/midasr documentation built on Aug. 24, 2022, 2:32 p.m.