assess_skewness: Tests the skewness of a VAR model

Description Usage Arguments Value Examples

Description

This function tests the skewness for the residuals of the endogenous variables in the specified VAR model. This function uses an implementation equivalent to STATA's sktest. Of the p-levels resulting from assessing the significance of the skewness for the residuals of that variable, the minimum is returned.

Usage

1

Arguments

varest

A varest model.

Value

This function returns a p-level.

Examples

1
2
3
4
5
data_matrix <- matrix(nrow = 40, ncol = 3)
data_matrix[, ] <- runif(ncol(data_matrix) * nrow(data_matrix), 1, nrow(data_matrix))
colnames(data_matrix) <- c('rumination', 'happiness', 'activity')
varest <- autovarCore:::run_var(data_matrix, NULL, 1)
autovarCore:::assess_skewness(varest)


Search within the autovarCore package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.