search for: newmfreg

Displaying 3 results from an estimated 3 matches for "newmfreg".

Did you mean: newmcreg
2009 Jul 15
2
storing lm() results and other objects in a list
...#these Two are used for linearModel2 and linearModel4, Get only the #regressors that surived step removal. newcReg=cReg[match(names(linearModel2$coeff[-1]),names(cReg))] newfReg=fReg[match(names(linearModel2$coeff[-1]),names(fReg))] newmcReg=mcReg[match(names(linearModel2$coeff[-1]),names(mcReg))] newmfReg=mfReg[match(names(linearModel2$coeff[-1]),names(mfReg))] #Scenario 1 - All Regressors Left In newFit1.b <- Arima(modelSource,order=arma1.fit$order,seasonal=list(order=arma1.fit$seasonal),xreg=mcReg,include.drift=F) #Scenario 2 - Step Removal of Regressors newFit2.b <- Arima(modelSource,orde...
2009 Dec 03
0
Problem with predict() and factors
...)) { pairs(modelSource ~ .,mcReg[[i]], main=paste("Model - MIPS vs",i)) } #Build the list to store our results linearModel <- list() residuals <- list() arima_Fit <- list() arima_AO <- list() arima_IO <- list() newcReg <- list() newfReg <- list() newmcReg <- list() newmfReg <- list() newFit <- list() newForecast <- list() # Following won't work until mcReg contains full variety linearModel[[1]]=lm(modelSource ~ + UNITBUILD + UNITDB + ITBUILD + ITDB + UATBUILD + UATDB + HOGANCODE + RCF + ReleaseST1 + ReleaseST2 + ReleaseBLA + Small.Bank.Acquisitions + HLY....
2010 Jan 12
0
[Solved][Code Snippets] Dropping Empty Regressors
...has been added to the purge list for model", i,"!")) } } toPurge # Do this only if there are any or R will beat you senseless and # steal all your M&Ms! if(length(toPurge)!=0) { names(newmcReg[[i]]) names(newmcReg[[i]][-c(toPurge)]) newmcReg[[i]] <- newmcReg[[i]][-c(toPurge)] newmfReg[[i]] <- newmfReg[[i]][-c(toPurge)] names(newmcReg[[i]]) } ###################################################### # End Regressor Pruning ###################################################### Big thanks to the help so far. Now about those darn transfer functions... hmm and pulse detection......