Skip to content
Prev 248055 / 398503 Next

predict() for bootstrapped model coefficients

On 11-01-20 17:05, Sascha Vieweg wrote:

            
I give it a second trial to poll some ideas. I *mean* that predict 
uses information from the model object, here b.mod. My idea was 
now to "fake" an object and fill it with relevant data from my 
bootstrap to run predict on that faked object:

f.b.mod <- b.mod
f.b.mod$n <- 14:16 # senseless, anyway
f.b.mod[1:3]

What I don't know, and don't get from the predict() source code, 
and thus requesting help upon is, which parts of the model object 
does predict use and how can I replace them with my loop data? 
Thanks for hints, *S*