search for: rowselec

Displaying 1 result from an estimated 1 matches for "rowselec".

2008 Apr 04
1
Problems with Unit Root testing using ur.df function
...teststat <- as.matrix(t(c(tau, phi2, phi3))) colnames(teststat) <- c('tau3', 'phi2', 'phi3') } } rownames(teststat) <- 'statistic' testreg <- summary(result) res <- residuals(testreg) if(n < 25) rowselec <- 1 if(25 <= n & n < 50) rowselec <- 2 if(50 <= n & n < 100) rowselec <- 3 if(100 <= n & n < 250) rowselec <- 4 if(250 <= n & n < 500) rowselec <- 5 if(n >= 500) rowselec <- 6 if (typ...