-
WSbonalymac
AskWoody LoungerI hope that most people who join a lottery understand that there is no guarantee that they will win. They also accept that someone may win twice, three or even more before they themselves win.
The whole point is that it should be random, and therefore someone can win for example in consecutive months. What I hoped to show was that over the long term, the selection was fair, and it seems to have done so.
-
WSbonalymac
AskWoody LoungerI posted this same message on a Statistics site, and got the response below as an answer, which seems to confirm my figures are indeed random.
Your approach actually was excellent. Most people take for granted that what a computer gives them is valid, but you should be commended for your approach to checking it.
Here’s what you can do to see if your results depart from what can be attributed to chance (I assume you did this in Excel).
For each “bin” result (i.e., the number of occurrences for each of the possible 211 outcomes), subtract the mean from it, square this result, then divide it by the mean. Then add up all of these quantities. Basically the formula looks like this:
((O-E)^2 / E)
where E is the expected, or mean frequency, and O is the observed frequency. You are running a chi-square test on your frequencies to see if they are close enough to a “random” outcome.
Now run the Excel function CHIDIST, with the two arguments for the function:
– the sum of all the ((O-E)^2 / E) quantities
– degrees of freedom = 210, which is the number of bins minus 1Generally, if the return value or answer for the function is .05 or greater, than you can call your results “random.”
Remember, however, that computer-generated random numbers are actually “pseudo-random,” meaning that they are determined by a computer algorithm, and they actually have a periodicity to them (the pattern will eventually go back to the beginning and repeat itself). However, this periodicity is usually in the billions, and will probably never occur under normal circumstances.
-
WSbonalymac
AskWoody LoungerHi
Thanks for the comments.
I took a look at the site, but its well beyond my capabilities.
Interesting thought tho to allocate in turn. Kinda takes the fun away.
-
WSbonalymac
AskWoody LoungerHI Charlotte
Thanks for the feedback. Is there a way to do this in code?
Colin
********************************
Colin McDonald
colinmac@blueyonder.co.uk
********************************
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
April 2025 updates out
by
Susan Bradley
8 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
26 minutes ago -
Security Essentials or Defender? (Awaiting moderation)
by
MalcolmP
30 minutes ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
29 minutes ago -
Creating an Index in Word 365
by
CWBillow
11 hours, 56 minutes ago -
Coming at Word 365 and Table of Contents
by
CWBillow
12 hours ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
16 hours, 57 minutes ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
20 hours, 22 minutes ago -
W11 24H2 – Susan Bradley
by
G Pickerell
22 hours, 18 minutes ago -
7 tips to get the most out of Windows 11
by
Alex5723
20 hours, 19 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
13 hours, 41 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
2 hours, 20 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
1 day, 1 hour ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
1 hour, 16 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
1 day, 10 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
18 hours, 12 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
18 hours, 27 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
2 days, 3 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
2 days, 11 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
1 day, 13 hours ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
1 day, 20 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
2 days, 6 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
3 days, 22 hours ago -
50 years and counting
by
Susan Bradley
20 hours, 37 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
23 hours, 26 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
4 days, 9 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
4 days, 9 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
4 days, 9 hours ago -
OneNote and MS Word 365
by
CWBillow
4 days, 11 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
4 days, 11 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.