[R] Bootstrap

2008-10-21 Thread Marcioestat
Hi listers, I've been work on a bootstrap estimator and I don't know how to make a certain manipulation at the data. As an example I have the following data and samples... I need now to identify the vector in wich I sampled the id, I mean that I have to merge the files having the key as the id of

Re: [R] Simulation of data

2008-10-21 Thread Marcioestat
Hi Barry, As you explained I find out my mistake... I wasn't supposed to use a recursive formula! So, what I needed, it's just to use the proportion by the function mean to reach my results... Thanks, Márcio Barry Rowlingson wrote: > > 2008/10/21 Marcioestat <[EMAIL PR

[R] Simulation of data

2008-10-20 Thread Marcioestat
Hi listers, I am working on a program of statistical analysis of simulated data and I've been searching the error at the program, but I didn't find it! It is something about the WHILE procedure, the error says: Error in while (ecart >= d) { : missing value where TRUE/FALSE needed Thanks in advance