Thanks Ted, your solution does make perfect sense.

The only question I still have is that I would like to sample the remaining
5 observations after I have randomly selected the first 10. Given the
initial 10, I would like to sample the following 5 say 1,000 times to get a
simulated conditional sample, if that makes any sense.

I want to build this into an iterative process to see how the first sample
affects the resulting samples. Even though all the observations have the
same probabilty to get sampled, they each have a different expected value.
-- 
View this message in context: 
http://n4.nabble.com/Conditional-Sampling-tp1012072p1012114.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to