0
champu

Number Rounding - .5

Recommended Posts

This news just in.

I've yet to confirm its statistical significance, but...

100000 random numbers between 0 and 10, to one decimal place. ie 0.1, 4.6, 3.5, 7.9 10.0 etc....

Generate by the RAND() func in excel, and then truncated to one decimal place.

truncated random number average - 4.953

Round to the nearest even number: average = 4.954
Round to the nearest odd number: average = 4.954
Round up: average = 5.003
Round down: average = 4.904


Looks like rounding up or down is dodgy.
--
Arching is overrated - Marlies

Share this post


Link to post
Share on other sites
Please check my stats....

Random numbers
average: 4.953....
variance: 8.305...
n: 100000

nearest even number
average: 4.954....
variance: 8.512...
n: 100000

nearest odd number
average: 4.954....
variance: 8.419...
n: 100000

round up
average: 5.003....
variance: 8.468...
n: 100000

round down
average: 4.904....
variance: 8.459...
n: 100000


Using the two sample t test:

Round to even -> t=0.028
round to odd -> t=0.040
round up -> t=3.851
round down -> t=3.784

This means that the difference in the averages of the round even/odd sets to the original random numbers is not significant. The difference in the averages of the round up/down sets to the original random numbers is significant at greater than 99.9% CI.

I'm pretty sure that's how it works.


.

Flame away.

Of course, you do realise that I'm only doing this to avoid doing my own work, which is already late.....
--
Arching is overrated - Marlies

Share this post


Link to post
Share on other sites
Quote

Please check my stats....


NO>:(;)


Here my take in measuring and rounding UP

If you round up and your wrong you can always shave a tad more off;) If ya round down and ya wrong, you're stoofed:D:D
You are not now, nor will you ever be, good enough to not die in this sport (Sparky)
My Life ROCKS!
How's yours doing?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0