-------------------------------------------------------------------------- Ventosa-Santaulària and Gómez-Zaldívar (broken-)drift test under the assumption that there is a unit-root -------------------------------------------------------------------------- This package performs the test proposed by Ventosa-Santaulària and Gómez- Zaldívar (2010). It must be fed with a nonstationary variable, since the procedure presupposes that there is a unit root. The null hypothesis of no drift is then tested. When the null is rejected, the user may also test a second hypothesis, that there is a shift in the drift. -------------------------------------------------------------------------- Input: Variable: Time-series variable to be studied Bound: # of obs. omitted at the beginning and the end of the sample Default: 5 (does not apply if you don't look for a break) Level: Choose the level of the test (1-3): (1) 1%; (2) 5%; (3) 10% Default: (2) 5% BreakFinder: Decide whether to look for a break or not: 1 -> looks for a single break 0 -> Does not look for a break Default: 1 Figure: plots the variable against the selected deterministic components: 1 -> includes plot 0 -> does not include plot Default: 1 -------------------------------------------------------------------------- Output: bundle containing: 1) If you decided not to look for a break: Drift?: Whether the null is rejected [1] or not [0] Drift R2 statistic: The test-statistic value [R^2] Drift Critical Value: Critical Value [depends on the choosen level] 2) If you decided to look for a break: Drift?: Whether the null [drift] is rejected[1] or not[0] Break?: Whether the null [Break] is rejected[1] or not[0] Drift R2 statistic: The test-statistic value [R^2] Drift Critical Value: Critical Value (drift) [depends on the level] Break Critical Value: Critical Value (break) [depends on the level] Gamma: The value of the parameter Gamma Break date: The observation No where the break is Lambda: The value of the break fraction Gamma norm. t-ratio: the t-ratio of Gamma -------------------------------------------------------------------------- Further details: Ventosa-Santaulària, D. & Gómez-Zaldívar, M. (2010) "Testing for a deterministic trend when there is evidence of unit root"; Journal of Time Series Econometrics, Vol. 2 (2), art. 3. -------------------------------------------------------------------------- Function written (with the aid of Allin Cottrell) by: Daniel Ventosa-Santaulària Universidad de Guanajuato, México, and CREATES, Aarhus www.ventosa-santaularia.com --------------------------------------------------------------------------