# Random number with which distribution

1. Jul 21, 2010

### wmac

Hello,

I am trying to find a clean solution for this (i.e. straightforward and academically acceptable). I appreciate if someone can help me.

1- I need to select between selections 1 to n (in my case 1-8 ). However each preceding item should have higher probability than the next one. For example, first item should have higher probability than the 2nd and the 2nd should have higher than the 3rd one etc.

I also need a parameter which enables me to adjust the probability of the first item. (i.e. the slope of the curve and therefore the distribution of probability)

What distribution with what parameters I should use.

2- Currently I use a normal distribution with mean value of 1 and different sigmas. When generating random numbers (float) I ignore numbers lower than 1 and then round up numbers higher than that to my discrete choices (i.e. 1-8 ).

Describing this in an academic paper is unacceptable I guess. So I am looking for a proper clean method (ideally a specific distribution with a few parameters).

2. Jul 21, 2010

### wmac

I have not received any answer for this question.

I need to know whether this means there is no specific distribution for my purpose?

-----
BTW I have previously tried to do this with Poisson distribution but there are 2 problems:

- How can I control the slope (considering that I should use lambda=1). I mean I want to be able to control, how quickly the probability drops from one item to the next.

- In addition, how can I force the range of 0-7 (or 1-8 ) to the generated numbers?

Thanks