| summary.westerlund_test | R Documentation |
Provides a detailed summary of the Westerlund (2007) panel cointegration test
results. This method extends the basic print output by including
standardized Z-scores, asymptotic p-values, bootstrap p-values (if applicable),
and the Mean Group (MG) parameter estimates.
## S3 method for class 'westerlund_test'
summary(object, ...)
## S3 method for class 'summary.westerlund_test'
print(x, ...)
object |
An object of class |
x |
An object of class |
... |
Additional arguments passed to or from other methods. |
The summary method acts as a bridge between the raw test results and
a human-readable report. While the standard print method focuses on
the raw statistics, summary organizes the data into tables that
compare the observed statistics against their standardized counterparts and
associated p-values.
Specifically, the output includes a summary of the model settings (such as
the inclusion of constants or trends), the main test statistics table, and the
Mean Group results which highlight the average error correction speed (\alpha)
and long-run relationships (\beta). If a bootstrap was performed, the
bootstrap p-values are appended to the main statistics table for direct
comparison with asymptotic values.
The summary method returns a list of class summary.westerlund_test
containing:
stats_table: A data frame combining raw stats, Z-scores, and p-values.
settings: A list of the parameters used in the test.
mg_results: A data frame of the Mean Group estimation results.
n_units: The number of cross-sectional units in the panel.
westerlund_test, plot.westerlund_test
## Assuming 'res' is the output from westerlund_test()
# res <- westerlund_test(data, ...)
# summary(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.