vap.numeric: Annual percent change

View source: R/vap.R

vap.numericR Documentation

Annual percent change

Description

Annual percent change

Usage

## S3 method for class 'numeric'
vap(x, y, tests = FALSE)

Arguments

tests

logical: if TRUE computes p-value for lineal model tests. See Details.

x:

vector

y:

vector

Details

Lineal model tests: SW = residual normality by Shapiro Wilks. BP: Performs the Breusch-Pagan test against heteroskedasticity. HC: Harvey-Collier test for linearity. DW: Computes bootstrapped p-values for residual autocorrelations and generalized Durbin-Watson statistics.

Value

vector. vap: annual percent change. lwr: lower IC 95


diegogarcilazo/myutilities documentation built on Jan. 4, 2024, 2:11 p.m.