Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > HTML, XML, Javascript, AJAX

Reply
 
LinkBack Thread Tools Display Modes
Old 02-25-2008, 04:41 PM   #16 (permalink)
MD507
Recruit
 
Join Date: Feb 2008
Posts: 8
MD507 is on a distinguished road
I could do that, but I can do that in my Excel program. take 850+213=1063, and just drop the 1 to get 063 for the 3-digit. How do you come up with the 213 number anyways? The HTML small script I do have that just Generates 5 (3-digit) numbers just missed by 1 number for the evening it was 906 and the generator had 916
MD507 is offline   Reply With Quote
Old 02-26-2008, 02:04 AM   #17 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
I just chose a random number. It's not like you can actually predict winning numbers.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 02-27-2008, 10:49 AM   #18 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
What you are trying to do here, will be impossible.

If you think at lottery numbers for the statistics which is involved, then yes you can say theres a higher chance for one number to be next in line, since statisticaly it hasn't been chose as much as the one that's been chosen previusly.

The real calculation method involved here is completely missed, once the new drawing is taking place the following day, the previus selected numbers are once again placed within the bowl, which once again rewards them with the same significance statisticaly speaking as all the other numbers, thereby effectively eliminating any advantage any of the other numbers would have gained by the fact that a few numbers were removed.

The way this statistic is involved is by the pure luck factor, if you flip a coin 1.000 times 50% would be heads and 50% would be tail, the same form of elimination, as described above, has it's influence here, yet we know for a fact if you keep on trying you'll end up with a 50/50 chance of getting what you hope for, because your starting point only has two result values to present you with.

In lottery it's a different ball game, in your example you have 1.000 numbers to chose from, so in order to have a number of drawings which statisticaly would favor one from the other is so minimal, even with 1.000.000 drawings to calculate your expected next number, would improve the statistics for precisely that number so insignificant that it wouldn't matter, so your best bet would be to go for the hit-and-miss approach, by simply selecting a random number for each time, hoping the random generator for the lottery will be influenced the same way your random generator is.
(think along the lines of "even in caos theres structure" here)
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Include file shown correctly in FF not in IE Stoner HTML, XML, Javascript, AJAX 2 04-21-2006 08:56 AM


All times are GMT -8. The time now is 12:05 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting