comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » RANDOMN function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: RANDOMN function [message #86503 is a reply to message #86501] Thu, 14 November 2013 07:38 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den torsdagen den 14:e november 2013 kl. 16:15:54 UTC+1 skrev fd_...@mail.com:
>> You will get better statistics the larger the set:
>
>> IDL> for e=1,9 do print,e,10d^e,mean(randomn(seed,10d^e))
>
>> 1 10.000000 0.0489258
>> 2 100.00000 0.0172675
>> 3 1000.0000 -0.0336368
>> 4 10000.000 -0.00799687
>> 5 100000.00 0.00208867
>> 6 1000000.0 -0.00101986
>> 7 10000000. -0.000105310
>> 8 1.0000000e+08 0.000104068
>> 9 1.0000000e+09 2.46072e-05
>
> Well, I don't see what you mean to be honest.

Just that a larger set is more likely to reproduce the statistics of the distribution that was used to generate it. How many times do you have to roll a dice to get 1/6 of each number to some specified accuracy?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to make lat/long grid for MODIS in IDL
Next Topic: =?UTF-8?Q?How=20to=20use=20IDL=20to=20?==?UTF-8?Q?call=20?= =?UTF-8?Q?SQL=5FServer=5F2008=20datab?==?UTF-8?Q?ase?=

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:34:11 PDT 2025

Total time taken to generate the page: 0.00398 seconds