Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*Generating\s+Random\s+Real\s+Numbers\s*$/: 12 ]

Total 12 documents matching your query.

1. Generating Random Real Numbers (score: 1)
Author: Alastair Dempster <demp2979@mach1.wlu.ca>
Date: Mon, 02 Apr 2001 13:25:23 -0400
I'm posting this for an Splus user who is not part of this discussion group: She writes: "I am interested in generating a set of 100 random real numbers between 0.005 and 0.035, where the probability
/archives/html/s-news/2001-04/msg00006.html (8,758 bytes)

2. Generating random real numbers (score: 1)
Author: Alastair Dempster <demp2979@mach1.wlu.ca>
Date: Tue, 03 Apr 2001 12:43:41 -0400
I'm posting this for an Splus user who is not part of this discussion group: She writes: "I am interested in generating a set of 100 random real numbers between 0.005 and 0.035, where the probability
/archives/html/s-news/2001-04/msg00022.html (8,747 bytes)

3. Re: Generating random real numbers (score: 1)
Author: "Mike C. Sawada" <msawada@aix1.uottawa.ca>
Date: Tue, 3 Apr 2001 13:33:52 -0400 (EDT)
runif(100,min=0.005,max=0.035) will produce 100 real numbers (real as far as rational and irrational numbers may ocurr) between the ranges of 0.005 and 0.035. -- Mike C. Sawada |Tel: 613-562-5800 x1
/archives/html/s-news/2001-04/msg00025.html (11,026 bytes)

4. Re: Generating random real numbers (score: 1)
Author: "Joseph Beyene" <joseph@utstat.toronto.edu>
Date: Tue, 3 Apr 2001 21:56:49 -0400 (EDT)
If seems to me the objective of the original question is to generate random numbers from a distribution that is assumed to follow a normal distribution on the support (0.005, 0.035). Hence, the quest
/archives/html/s-news/2001-04/msg00029.html (13,438 bytes)

5. Re: Generating random real numbers (score: 1)
Author: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
Date: Wed, 4 Apr 2001 06:53:39 +0100 (BST)
There is no such distribution, and the original question was not well-posed (although I agree that was what was asked for). The normal distribution has support the whole real line. Why 4, not 3 or 6
/archives/html/s-news/2001-04/msg00033.html (15,242 bytes)

6. Re: Generating random real numbers (score: 1)
Author: "Nick Ellis" <nick.ellis@marine.csiro.au>
Date: Wed, 4 Apr 2001 16:06:11 +1000
Simply use rejection sampling, rejecting any values lying outside the range [a,b]. Then the sample will be from a distribution that is proportional to the normal distribution on [a,b] and zero outsid
/archives/html/s-news/2001-04/msg00034.html (16,691 bytes)

7. Re: Generating random real numbers (score: 1)
Author: Alan Zaslavsky <zaslavsk@hcp.med.harvard.edu>
Date: Wed, 4 Apr 2001 07:10:05 -0400 (EDT)
A number of fantastical solutions have been proposed to the problem of generating data from a truncated normal distribution. Brian Ripley and Nick Ellis have put forward one of the CORRECT solutions,
/archives/html/s-news/2001-04/msg00035.html (9,396 bytes)

8. Re: Generating random real numbers (score: 1)
Author: "Joseph Beyene" <joseph@utstat.toronto.edu>
Date: Wed, 4 Apr 2001 08:45:29 -0400 (EDT)
Yes, I agree there is NO normal distribution defined on a finite support. As Prof. Ripley pointed out the original question was not well-posed: for instance we were given the lower and upper truncati
/archives/html/s-news/2001-04/msg00037.html (10,914 bytes)

9. Re: Generating random real numbers (score: 1)
Author: Florin Vaida <vaida@sdac.harvard.edu>
Date: Wed, 4 Apr 2001 09:30:41 -0400 (EDT)
Dear all, 1. Let me open the question a bit: how to sample from a truncated MULTIVARIATE normal, with known parameters. I.e., given MVN(m,V) where m is a p-vector and V is the pxp variance matrix, an
/archives/html/s-news/2001-04/msg00038.html (11,462 bytes)

10. Re: Generating random real numbers (score: 1)
Author: Dave Krantz <dhk@paradox.psych.columbia.edu>
Date: Tue, 3 Apr 2001 14:31:37 -0400 (EDT)
I'm a bit confused by the query from Alistair Dempster and the reply from Mike Sawada re random numbers. In the first place, "defined by the normal distribution" is a bit unclear: normal with what me
/archives/html/s-news/2001-04/msg00040.html (9,002 bytes)

11. Re: Generating random real numbers (score: 1)
Author: David Scollnik <scollnik@math.ucalgary.ca>
Date: Tue, 03 Apr 2001 12:26:20 -0600
The (fairly) general solution is as follows. If F denotes the cdf and FI the inverse cdf of the distribution of interest, you can generate draws X from F, restricted between A and B, using the follow
/archives/html/s-news/2001-04/msg00041.html (10,938 bytes)

12. Generating Random Real Numbers (score: 1)
Author: Alastair Dempster <demp2979@mach1.wlu.ca>
Date: Wed, 04 Apr 2001 11:45:00 -0400
I would like to thank all of you for your fast and helpful Simon Rosenfeld, Mike Sawada, Samuel Buttrey, Terry Cox, Duangporn J., Don McKenzie, Dave Krantz, James Pratt, Gerry Blais, Rolf Turner, Cha
/archives/html/s-news/2001-04/msg00045.html (10,512 bytes)


This search system is powered by Namazu