Displaying 2 results from an estimated 2 matches for "modmax".
Did you mean:
modmat
2009 Dec 03
0
Problem with predict() and factors
...annel1)
channel2 <- odbcConnectExcel(REGRESSORS)
sqlTables(channel2)
sh2 <- sqlFetch(channel2, "data$")
close(channel2)
#Get Raw Data
tsSource<-ts(sh1[[ENVNAME]],start=c(2004,1),freq=52)
#Data is now a Time Series
#Prep Out-of-sample test ranges
modLength=length(sh1[[ENVNAME]])
modMax=round((modLength/3)*2)
modEndDate=time(tsSource)[modMax]
modStartDate=time(tsSource)[1]
#RAW SUMAMRY WITH OVERLAY OF OUT OF SAMPLE RANGES
summary(tsSource)
modelSource=window(tsSource,modStartDate,end=modEndDate)
verSource=window(tsSource,time(tsSource)[modMax+1])
pdf(paste("Q:/ReleaseMgmt/En...
2009 Jul 15
2
storing lm() results and other objects in a list
...ce,order=arma5.fit$order,seasonal=list(order=arma5.fit$seasonal),xreg=newmcReg,include.drift=F)
#All the drift terms ones are broke as the drift term doesn't match up
to the # of columns in fReg
#Still don't know how to fix at this time.
forecast1.b <-predict(newFit1.b,n.ahead=modLength-modMax,newxreg=mfReg)
forecast2.b <-predict(newFit2.b,n.ahead=modLength-modMax,newxreg=newmfReg)
forecast3.b <-predict(newFit3.b,n.ahead=modLength-modMax,newxreg=mfReg)
forecast4.b <-predict(newFit4.b,n.ahead=modLength-modMax,newxreg=newmfReg)
forecast5.b <-predict(newFit5.b,n.ahead=modLength-...