nuisance: Estimate the nuisance parameters of the error term

Description Usage Arguments Value

Description

This function estimates the short-run, long-run, and one sided variance of the error term

Usage

1
nuisance(res,k)

Arguments

res

A matrix consisting of the residuals from a factor model.

k

If fixk is 0, then automatic bandwidth selection is performed. Otherwise, the integer placed here will be the selected bandwidth.

Value

A data frame containing the following columns

sig2 The vector of short run variances

omega2 The vector of long run variances

half The vector of one-sided variances


PANICr documentation built on May 2, 2019, 4:40 a.m.