summary_revisions: Summary statistics on revisions

View source: R/revisions.R

summary_revisionsR Documentation

Summary statistics on revisions

Description

Computes summary statistics on revisions, on the the overall data and around turning-points.

Usage

summary_revisions(
  data,
  peaks = nber_tp_m[, "Peak"],
  troughs = nber_tp_m[, "Trough"],
  annual_frequency_tp = 2
)

Arguments

data

the data.

peaks, troughs

the reference dates of peaks and troughs.

annual_frequency_tp

number of of observations per unit of time used before and after the turning-points used to compute revision statistics on turning-points. For example, annual_frequency_tp = 2 means that, with monthly data, 12/2=6 months are used before and after the turning-points.


AQLT/AQLThesis documentation built on Feb. 7, 2024, 7:22 p.m.