Search   Memberlist   Usergroups
 Page 1 of 1 [2 Posts]
Author Message
GT
science forum beginner

Joined: 06 Oct 2005
Posts: 4

Posted: Thu Jun 15, 2006 12:57 pm    Post subject: Random sampling

Dear colleagues,
I'm trying to select samples from a normal distribution (with
parameters mu, sigma), belonging to a certain "alphabet". For
instance, we have the normal N(0,1), but we want the outcome to
belong in the set [0,1,...,N].
Do you know how to do this? (I think that the functions randn,
normrnd are not appopriate by themselves)

Thank you very much in advance
Robert B. Israel
science forum Guru

Joined: 24 Mar 2005
Posts: 2151

Posted: Thu Jun 15, 2006 11:03 pm    Post subject: Re: Random sampling

GT <sciense100@hotmail.com> wrote:
 Quote: Dear colleagues, I'm trying to select samples from a normal distribution (with parameters mu, sigma), belonging to a certain "alphabet". For instance, we have the normal N(0,1), but we want the outcome to belong in the set [0,1,...,N]. Do you know how to do this? (I think that the functions randn, normrnd are not appopriate by themselves)

What exactly do you mean? The normal distribution is a continuous
distribution on the whole real line. You want values in a finite
set. So it will be a discrete distribution, not a normal
distribution. What distribution do you really want?

Robert Israel israel@math.MyUniversity'sInitials.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada

 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 Page 1 of 1 [2 Posts]
 The time now is Thu Feb 21, 2019 6:19 pm | All times are GMT
 Jump to: Select a forum-------------------Forum index|___Science and Technology    |___Math    |   |___Research    |   |___num-analysis    |   |___Symbolic    |   |___Combinatorics    |   |___Probability    |   |   |___Prediction    |   |       |   |___Undergraduate    |   |___Recreational    |       |___Physics    |   |___Research    |   |___New Theories    |   |___Acoustics    |   |___Electromagnetics    |   |___Strings    |   |___Particle    |   |___Fusion    |   |___Relativity    |       |___Chem    |   |___Analytical    |   |___Electrochem    |   |   |___Battery    |   |       |   |___Coatings    |       |___Engineering        |___Control        |___Mechanics        |___Chemical

 Topic Author Forum Replies Last Post Similar Topics reference books for formulaes in stochastic analysis and ... Michael11 Math 0 Thu Jul 20, 2006 12:38 am spectrum of a symmetric tridiagonal random matrix pf.buonsante@gmail.com Math 0 Wed Jul 19, 2006 9:45 am Sampling 1-2-3-4 Stig Holmquist Recreational 4 Sun Jul 16, 2006 5:28 pm random walk on graph Eric B num-analysis 1 Thu Jul 13, 2006 7:23 pm Period of random number generators DGoncz@aol.com Math 9 Thu Jul 13, 2006 1:48 am