Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. v<-list()
  2.  
  3. for(i in seq(from=0,to=25, by=2)){
  4. + result<-NULL
  5. + XyMatrixtoTest<-na.omit(cbind(X_Data[2],X_Data[4],X_Data[6],X_Data[12],X_Data[17],diff( lagpad(Y_Data[,5],k=i)),2))
  6. + result<-bestglm(Xy=XyMatrixtoTest, family = gaussian, IC = "BIC", t = "default", CVArgs = "default", qLevel = 0.99, TopModels = T, method = "exhaustive", intercept = FALSE, weights = NULL, nvmax = "default", RequireFullEnumerationQ = FALSE)
  7. + XyMatrixtoTest<-matrix(ncol=ncol(XyMatrixtoTest), rep(NA, prod(dim(XyMatrixtoTest))))
  8. + v[[i+1]]<-result
  9. + }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement