Inside: SereneScreen Fan Forum

Inside: SereneScreen Fan Forum (https://www.feldoncentral.com/forums/index.php)
-   Marine Aquarium 3 for Mac OS X (https://www.feldoncentral.com/forums/forumdisplay.php?f=10)
-   -   Duplicate Fish (https://www.feldoncentral.com/forums/showthread.php?t=5080)

robnich 10-26-2009 07:36 AM

Duplicate Fish
 
In MA3 for the Macintosh there are frequent duplications of random fish, something which doesn't seem to ever happen in the Windows version. In fact, to date I get duplicates (and occasional triplicates) every single time MA3 is activated in MacOS 10.6.1. This needs correction, I think.

Bob N.

feldon34 10-26-2009 11:09 AM

You have set it to show 26 fish? (If you set it higher than 26, you will get duplicates).

robnich 10-26-2009 04:19 PM

No, I have it set for 12 random and 4 selected fish, for a total of 16 fish and I always get duplicates. I have another set with no random fish and there are no duplicates.

By the way, I re-posted this same topic in the new MA 3 Mac thread but there are no responses yet.

Bob N.

Ralph 10-26-2009 08:09 PM

I think 12 random does NOT mean all 12 will be different.. you could end up with 12 of the same species.. at least that is the way I figure it (random) works

Jim Sachs 10-26-2009 10:04 PM

PC guys - Don't forget they are talking about the Mac version here. It's a whole different ballgame.

jleslie 10-27-2009 02:32 AM

Also random doesn't work the way some people think, if it's really random and the odds of collisions go up quickly...

This is called the "Birthday Problem". This is because that while the chance of two people having the same birthday is 1 in 365.242 (I think), the number of people you need to have in a group to have a better of 50% chance of having two people with the same birthday is actually... 23! Once you get to 57 people the chance is over 99% (random people, not selected people).

This is due to the number of comparisons going up fast as numbers increase.
Person A has 22 chances of a match.
Then Person B has 21 chances (as already tried to match with A)
Person C has 20...
so have 22+21+20+... comparisons of birthdays... (that's 253 in total, to save lots of people's fingers.)

I think (from another post) this isn't strictly true in this case, but not a lot of people know about this so I thought I'd work it in. It's has many uses, including in Cryptography, where can get duplicates faster than people would think.

Another interesting application is in mass DNA matching (or any data mining operation). If the odds of a DNA match are 1 in 10 trillion (the best in current usage, this depends on the number of regions compared or loci, the number is for 13 loci, which I think is the largest in use, and assumes true randomness, which is unlikely for DNA) then a jury will think that they have the guilty person. However if you have a large number of people on file and do a lot of comparisons (most new crimes and a bunch of old ones) the number of comparisons goes up exponentially and heads into the trillions (ignoring the errors lab work always introduces). This means you actually get a lot of random matches and hope someone points it out to the jury.

In America a little while back a modest DNA database was used for some tests and generated several clearly random matches at lower loci.

A quote:
Quote:

A recent analysis of the Arizona convicted offender data base (a database that uses the 13 CODIS loci) revealed that among the approximately 65,000 entries listed there were 144 individuals whose DNA profiles match at 9 loci (including one match between individuals of different races, one Caucasion, the other African American), another few who match at 10 loci, one pair that match at 11, and one pair that match at 12. The 11 and 12 loci matches were siblings, hence not random. But matches on 9 or 10 loci among a database as small as 65,000 entries cast considerable doubt in my mind on figures such as the oft-cited "one in ten trillion" for a match that extends to just 3 or 4 additional loci.
It works the same if you could track people. If there were enough people you would get random ones at all the crime scenes for a series of robberies, etc. You would hope the Police would get this before deciding to kick someone's door in at 3am...

BTW this isn't meant to be political, just a maths curiosity that I hope some will find interesting.

John

feldon34 10-27-2009 08:25 AM

The PC version has "Do not duplicate Random". If you set it to 26 fish, you will get 26 unique fish with no duplicates.

The Mac version doesn't have this feature at the moment.

JimO'Connor 10-27-2009 01:49 PM

The "random" fish aren't random in MA 3 for Mac as we weight the choices by the favorite value you assign to the fish with the stars. More stars means more likely to be picked relative to fish with fewer stars (obviously, if all of the fish have the same number of stars the effect is cancelled out). I'll take a look at the algorithm and see if it needs to be tweaked for 3.0.2.


All times are GMT -6. The time now is 10:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.