ralsadf ============================================== Purpose ---------------- Computes the Augmented Dickey-Fuller unit root test with the RALS technique for non-normal errors. Format ---------------- .. function:: { rals_tau, rho2, cv } = ralsadf(y, model[, pmax, ic]) :noindexentry: :param y: Time series data to be tested. :type y: Nx1 matrix :param model: Model to be implemented. =========== ============== 1 Constant. 2 Constant and trend. =========== ============== :type model: Scalar :param pmax: Optional, the maximum number of lags for :math:`\Delta y`. Default = 8. :type pmax: Scalar :param ic: Optional, the information criterion used for choosing lags. Default = 3. =========== ============== 1 Akaike. 2 Schwarz. 3 t-stat significance. =========== ============== :type ic: Scalar :return rals_tau: The tau statistic based on RALS procedure and ADF test. :rtype rals_tau: Scalar :return rho2: The estimated rho square. :rtype rho2: Scalar :return cv: 1%, 5%, and 10% critical values for the estimated rho2 :rtype cv: Vector Examples -------- :: library tspdlib; // Load date file y = loadd(getGAUSSHome() $+ "pkgs/tspdlib/examples/TSe.dat"); // With constant model = 1; { rals_tau, rho2, cv } = RALSADF(y, model); Source ------ rals_adf.src .. seealso:: Functions :func:`adf`, :func:`adf_1break`, :func:`adf_2breaks`