search for: regpar

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

Did you mean: regparm
2009 Aug 03
2
Variable names as inputs...
...IC(paste("models[[",1:length(models),"]]",sep="")) and get the following error: Error in UseMethod("logLik") : no applicable method for "logLik" Any hint would be appreciated! Thanks, H ## I generate my models using the following function ### regPares <- function(data=LR){ nVars <- ncol(data); dv <- names(data)[1]; modelos <- list(); for (i in 2:(nVars-1)){ for (j in (i+1):nVars){ # get variable names var1 <- names(data)[i]; var2 <- names(data)[j]; # 1) get all pairs and ivs <- pas...