Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Normal distribution
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813885
Message ID:
00815721
Views:
17
>>Peter:
>>
>>Looks like you've got it "sussed".
>
>Thank you! I also had to sus out what 'sussed' means :).
>

have to suss :) I checked this word in the dictionary too... Ocassionally UT gives an opportunity to learn a new word...

Thanks.

>>I see that Excel's "Descriptive Statistics"can generate a normal distribution of numbers over a given output range of cells.
>
>I hope that this thread will be helpful to others too, at some point in the future.
>
>It was nice 'talking' to you.
>
>BTW. Here's the formula that will generate 1000 somewhat normally distributed values between 4 and S*4.
>
* pseudocode:
>
>S = 6
>
>for n = 1 to 1000
>
>   V = CEIL( S * RAND() ) + CEIL( S * RAND() ) + CEIL( S * RAND() ) + CEIL( S * RAND() )
>
>   insert into (sometable) value ( V )
>next
>
>Each CEIL( S * RAND() ) produces an integer 1-6, like when throwing a dice.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform