Re: [R] Problem trying to use boot and lme together

From: Douglas Bates <dmbates_at_gmail.com>
Date: Wed 22 Jun 2005 - 06:56:17 EST

On 6/21/05, Søren Højsgaard <Soren.Hojsgaard@agrsci.dk> wrote:
> The problem with simulate.lme is that it only returns logL for a given model fitted to a simulated data set - not the simulated data set itself (which one might have expected a function with that name to do...). It would be nice with that functionality...
> Søren

You could add it. You just need to create a matrix that will be large enough to hold all the simulated data sets and fill a column (or row if you prefer but column is probably better because of the way that matrices are stored) during each iteration of the simulation and remember to include that matrix in the returned object.

The reason that we didn't do that in the original design is because that matrix can become rather large when you have either a lot of data or a lot of simulations and we were working on the computers or 5 to 10 years ago.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jun 22 07:06:33 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:56 EST