Displaying 2 results from an estimated 2 matches for "logglm".
Did you mean:
loglm
2003 Jan 24
4
memory problems
Hi
I'm computing a bca interval using bca.ci from the boot package.
When I try to use this I get an error
> library(boot)
> boot(logglm.data,boot.fishpower,2500,coef.vec=coeflm.vec)->blm8901
> bca.ci(blm8901,index=29)
Error: cannot allocate vector of size 456729 Kb
However my machine has 2GB of memory and without R running I only have
112M of memory used.
Is there something I can do to be able to perform this analysis ? (I...
2003 Jan 16
1
bootstraping lm
Hi
I'm doing a bootstrap of a linear model using:
boot.fishpower <- function(data, i){
data <- data[i,]
fplm <- lm(log(U)~Q+S+P+B+D, data=data)
fp <- coef(fplm)
exp(fp)
}
> boot(logglm.data,boot.fishpower,100)
Error in "[<-"(*tmp*, r, , value = statistic(data, i[r, ], ...)) :
number of items to replace is not a multiple of replacement
length
I've used debug to look at the process and it seems ok. The "i" are
allways of the same length as the...