Re: [R] simulated data using empirical distribution

2007-10-11 Thread tom sgouros
Hello all: Many thanks to the people who have responded to my question, on and off-list. My problem isn't completely solved, though, and perhaps you can help again. The problem, again, is that I have what is essentially a histogram, but not the underlying data, and I want to simulate data that

[R] simulated data using empirical distribution

2007-10-10 Thread Tom Sgouros
Hello all: I'm sure this is a trivial request, but I'm still a beginner at this, and haven't been able to find it. I need to create simulated data based on some empirical distributions of a single variable. I've found R functions to help me simulate data based on analytical distributions, or

Re: [R] simulated data using empirical distribution

2007-10-10 Thread Dieter Menne
Tom Sgouros tomfool at as220.org writes: What I have is twelve bins of data, and the population in each bin. The top bin is open-ended, and the whole distribution is more or less poisson-ish. I can think of a couple of ways to fake this ok, but is there a real R way to do it?