Learn R Programming

⚠️There's a newer version (1.0.0) of this package.Take me there.

PANICr (version 0.0.0.2)

PANIC Tests of Nonstationarity

Description

This package contains a methodology that makes use of the factor structure of large dimensional panels to understand the nature of nonstationarity inherent in data. This is referred to as PANIC - Panel Analysis of Nonstationarity in Idiosyncratic and Common Components. PANIC (2004) includes valid pooling methods that allow panel tests to be constructed. PANIC (2004) can detect whether the nonstationarity in a series is pervasive, or variable specific, or both. PANIC (2010) includes two new tests on the idiosyncratic component that estimates the pooled autoregressive coefficient and sample moment, respectively. The PANIC model approximates the number of factors based on Bai and Ng (2002)

Copy Link

Version

Install

install.packages('PANICr')

Monthly Downloads

32

Version

0.0.0.2

License

GPL-3

Maintainer

Steve Bronder

Last Published

October 24th, 2014

Functions in PANICr (0.0.0.2)

adf04

ADF test for PANIC (2004)
getnfac

Determining The Number of Factors In Approximate Factor Model
myols

Beta Coefficients for standard OLS
lm1

KPSS test critical values for PANIC (2004) idiosyncratic test
MCMCpanic10

MCMC PANIC (2010) Sample Moment and PAC tests for Idiosyncratic Component
NIPAagg2

NIPA Aggregate Level 2
MCMCpanic04

PANIC (2004) MCMC Non-Stationarity Tests on Common and Idiosyncratic Components
adfnc

ADF test critical values for PANIC (2004) idiosyncratic test
mydiff

Difference a matrix
trimr

Trim dataset
adfp

Generalized Least Squares Modified Dickey-Fuller t test
panic10

PANIC (2010) Sample Moment and PAC tests for Idiosyncratic Component
lagn

Create lags for matrix
s2ar

Finding optimal lag for dfgls test
poolcoint

Pooling Function for Cointegration test PANIC (2004)
coint0

Cointegration test critical values for PANIC (2004)
minindc

Create an Index of lowest values of each column for a matrix
adfc2

ADF critical values for PANIC (2004) demeaned data
panic04

PANIC (2004) Non-Stationarity Tests on Common and Idiosyncratic Components
pool

Pooling Function for PANIC (2010)
NIPAagg3

NIPA Aggregate Level 3
pc

Principle Component Analysis for PANIC (2004)
nw

Bandwidth selection
adf

ADF test for PANIC (2010)
nuisance

Estimate the nuisance parameters of the error term
NIPAagg1

NIPA Aggregate Level 1
glsd

General Least Squares Detrending