Learn R Programming

PANICr (version 1.0.0)

nuisance: Estimate the nuisance parameters of the error term

Description

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

Usage

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 columnssig2 The vector of short run variancesomega2 The vector of long run varianceshalf The vector of one-sided variances