Code Description:
-
Functionality: This code conducts the pCADF (panel Covariate Augmented Dickey-Fuller) unit root test across different regions and variables.
-
Input Data: The input data file should be an Excel sheet, where each region’s data is stored in separate sheets. The data must include columns for country, year, and the specified variables.
-
Exogenous Terms: The code supports three exogenous terms: "none", "drift", and "trend", which can be selected in the test.
-
Output: The results are saved in an Excel file, with test statistics and p-values for each variable and region, in the working directory.