Malaysian Atheist

An avowed atheist living in Malaysia.

Sunday, December 17, 2006

Methinks It Is Like A Weasel

In his book The Blind Watchmaker, Richard Dawkins gave a simple computer simulation to demonstrate evolution by natural selection. The book was written in 1986 (when computers arent' all that common) so I suppose the computer simulation was a big deal then. Richard chose the phrase 'Methinks it is like a weasel' from Shakespeare and showed that the cumulative power of mutation and natural selection could reproduce the phrase without an intelligent designer. I found a few articles attempting to refute this simulation here and here.

It didn't take me long to produce my own simulation (just for fun). I did mine on Matlab. I did it entirely on my own and so, some of the methods I used and the assumptions I made may differ from other similar simulations. I got the following results after almost 2000 iterations:
Gen. Output
0: KTEKBMJOWEPSVNYVBXMJOBAXIETE
5: KTEGBMJIWYPSVSYVBIM OBAFFETE
10: WHELBMJWEIPSISNVBIM OBMHJSBJ
30: LHSLBNJWEIP ISDLBKD GBUHFSEJ
50: KHTLDNJREIU ISDLHKE A UEFSEJ
80: KGTGINKREIU ISDLBKE A XEFSEL
100: KFTHINKR IU IS LIKE A XEFSEL
200: MFTJINKR IU IS LJKE A XEASEL
400: METKINKS IT IS LIHE A VEASIL
800: METHITKS JT IS NIKJ A WEASEL
1600: METHINKS IT HS LIKB A XEASEL
1900: METHINKS IT IS LIKE A XEAWEL
1928: VETHINKS IT IS LIKE A WEASEL
1929: METHINKS IT IS LIKE A WEASEL
Here's how I did mine. I started with a pair of randomly generated phrases. Each phrase is 28 characters long, each character representing a gene. I bred the pair and produced 10 offspring. The offsprings had an 85% chance of inheriting the gene from the fitter parent, 10% chance of inheriting from the less fit parent and 5% chance of the gene mutating. Then I sorted the offspring according to their fitness. Fitness here is defined as how closely they matched the target phrase. For each gene that matched, the offspring received 1 point and for those that did not match, a penalty of the percentage difference was incurred. I bred the two fittest offspring to produce another 10 offspring. This was repeated until the target was reached.

One of the articles said that the random generation 'is repeated for only the positions where a match did not occur', but the author is mistaken. I never specified in my code for the random generation to stop once the match occured for any one gene. I computed the overall fitness score and allowed each gene to change even if it has already matched the target gene.

I think the articles in 'Answers in Genesis' are both wrong to think that this simulation is meant to prove evolution. No, it doesn't prove evolution. Richard Dawkins never claimed to prove evolution using this simulation. All this exercise does is to show that using SIMPLE rules - using reproduction and random mutation, we are able to produce meaningful objects which at first seemed highly improbable. If I were the designer, I could, in this case, type in the meaningful phrase, but as this simulation demonstarted, even without a designer, the meaningful phrase could be produced. In nature though, there is no target phrase. Evolution is blind. Nature is much more complex in that the measure of fitness has to take into account many more factors which are ever-changing. Nonetheless, the principles are the same and that results in all the wonderful creatures and plants we see in nature.

Technorati tags

17 Comments:

At 9:40 PM, March 30, 2010, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 4:39 PM, May 01, 2010, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 11:06 AM, May 16, 2010, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 6:00 PM, May 17, 2010, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 5:44 PM, May 18, 2010, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 6:12 AM, May 23, 2010, Anonymous Anonymous said...

This comment has been removed by a blog administrator.

 
At 8:16 PM, May 27, 2010, Anonymous Anonymous said...

tvt tension free vaginal tape [url=http://usadrugstoretoday.com/categories/birth-control.htm]birth control[/url] aloe plant for smoking http://usadrugstoretoday.com/products/aristocort.htm
adjusting penis [url=http://usadrugstoretoday.com/products/dramamine.htm]dramamine[/url] history of some boy chewing gum [url=http://usadrugstoretoday.com/products/ventolin.htm ]girl pussy gushing orgasm [/url] hybiscus tea
salvia show up on a drug test [url=http://usadrugstoretoday.com/products/buspar.htm]buspar[/url] pig health http://usadrugstoretoday.com/products/viagrx.htm
american journal of health promotion [url=http://usadrugstoretoday.com/products/entocort.htm]entocort[/url] giving blood risk danger [url=http://usadrugstoretoday.com/products/allegra.htm ]low heart rate runners how low [/url] what to do if your two year old has a urinary tract infection

 
At 2:33 PM, May 30, 2010, Anonymous Anonymous said...

timber designers http://www.thefashionhouse.us/-club-wear-men-category32.html jewelry designer peritti [url=http://www.thefashionhouse.us/off-white-dolce-amp-gabbana-color195.html]discount fashion clothing women[/url] austrian fashion timeline
http://www.thefashionhouse.us/multicolored-dress-shirts-color13.html shay lauren [url=http://www.thefashionhouse.us/off-white-yellow-dresses-color209.html]myspace free layout designer[/url]

 
At 2:15 AM, June 05, 2010, Anonymous Anonymous said...

wii g pak travel case http://xwl.in/airlines/southwest-airlines-cheap-airfare patriot america travel insurance
[url=http://xwl.in/tours/november-walking-tours-in-england]travel columnists vail[/url] american travel packages [url=http://xwl.in/airlines/fronter-airlines]fronter airlines[/url]
military countries authorized travel http://xwl.in/airlines/continental-airlines-mobile
[url=http://xwl.in/disneyland/paradise-pier-hotel-disneyland]travel document services[/url] escort travel models [url=http://xwl.in/cruise/music-in-high-places-cruise]music in high places cruise[/url]
travel agents chennai http://xwl.in/map/map-of-exton-pennslvania air travel maps [url=http://xwl.in/lufthansa/british-airways-codesharing-flight-with-royal-jordanian-airways]british airways codesharing flight with royal jordanian airways[/url]

 
At 3:44 PM, June 05, 2010, Anonymous Anonymous said...

the clothes rack for kids http://luxefashion.us/?action=products&product_id=1947 carters preemie clothes [url=http://luxefashion.us/energie-one-ply-windbreaker-jackets-brand65.html]cool shoes[/url] blueprint designers
http://luxefashion.us/multi-dresses-color71.html spain wholesale fashion [url=http://luxefashion.us/sky-blue-brown-accessories-color172.html]tubbs snowshoes[/url]

 
At 10:30 AM, June 06, 2010, Anonymous Anonymous said...

gypsy clothes http://www.thefashionhouse.us/s-women-s-tops-size10.html crocodile shoes [url=http://www.thefashionhouse.us/armani-page4.html]best designer sunkissed bronze cream[/url] mannys shoes store
http://www.thefashionhouse.us/trussardi-men-brand11.html educational strength cards for kids brotherhood of st laurence [url=http://www.thefashionhouse.us/gaudi-casual-brand54.html]gucci replicas[/url]

 
At 7:16 AM, June 10, 2010, Anonymous Anonymous said...

us casino http://wqm.in/casino-playing-cards_personalized-photo-playing-cards aussie international lottery program
[url=http://wqm.in/online-casinos_casinos-en-la-costa-blanca]gambling costumes[/url] casino in salamanca ny [url=http://wqm.in/betting_betting-odds-on-football]betting odds on football[/url]
top casino blackjack casino game http://wqm.in/roulette_free-american-roulette
[url=http://wqm.in/betting_sport-book-betting-tips]nh lottery results[/url] skl south germany lottery results [url=http://wqm.in/joker_kids-joker-halloween-costumes]kids joker halloween costumes[/url]
hilton hotel and casino atalntic city http://wqm.in/online-casinos_montreal-casinos internet casino slot [url=http://wqm.in/jokers_jokers-wild-cheyenne-wy]jokers wild cheyenne wy[/url]

 
At 7:38 PM, June 11, 2010, Anonymous Anonymous said...

http://jqz.in/tramadol/tramadol-line
[url=http://jqz.in/ultram/detox-from-ultram]pass drug test drinking bleach[/url] young people being offered drugs figures [url=http://jqz.in/pheromones/pheromones-potpourri]pheromones potpourri[/url]
before xray drug given to cleans intestinal tract http://jqz.in/permethrin/permethrin-ban
[url=http://jqz.in/pamelor/taking-topamax-and-pamelor-together]applebees drug test[/url] current prescription drugs on market [url=http://jqz.in/pharmaceuticals/canyon-pharmaceuticals]canyon pharmaceuticals[/url]
buy viagra on the internet http://jqz.in/provera/provera-10mg
[url=http://jqz.in/zithromax/strep-throat-antibiotic-zithromax]family pharmacy richland center hospital wisconsin[/url] alpha receptor blocking drugs causing erectile dysfunction [url=http://jqz.in/pharmaceuticals/define-net-sales-pharmaceuticals]define net sales pharmaceuticals[/url] message boards for pharmacy technicians [url=http://jqz.in/soma/soma-bike]soma bike[/url]

 
At 10:19 AM, June 12, 2010, Anonymous Anonymous said...

lottery by patricia wood http://lwv.in/gambling-online/bergler-gambling washington casinos
[url=http://lwv.in/joker/picture-of-the-joker]ancient playing cards for sale[/url] bingo bitch [url=http://lwv.in/casino-online/new-casino-plans-for-wendover-nevada]new casino plans for wendover nevada[/url]
de bedste online casinos http://lwv.in/online-casino/casino-gabling-online
[url=http://lwv.in/blackjack/blackjack-strategy-chart]blackjack ii phone[/url] knox club trivia jackpot questions blog [url=http://lwv.in/bingo/el-camino-high-school-bingo-on-sundays]el camino high school bingo on sundays[/url]
jokers bb8 updates http://lwv.in/bingo/bingo-offline free bonus blackjack mini online [url=http://lwv.in/slots/slots-deco-belgique]slots deco belgique[/url]

 
At 5:31 AM, June 13, 2010, Anonymous Anonymous said...

india drug pharmacy [url=http://usadrugstoretoday.com/products/cok-n--energy-and-sensory-enhancer-.htm]cok n energy and sensory enhancer[/url] desicator calcium chloride http://usadrugstoretoday.com/products/clozaril.htm leukimia fighting drug http://usadrugstoretoday.com/categories/weibliche-verstarkung.htm
cambodian medicine [url=http://usadrugstoretoday.com/products/plan-b.htm]plan b[/url] glens falls health department [url=http://usadrugstoretoday.com/products/zyvox.htm]hills prescription diet canine[/url]

 
At 1:06 PM, September 30, 2010, Blogger Med Mens Health said...

It is essential to know what causes erectile dysfunction in order to deal with the problem effectively. In many cases, when men realize they have a problem, they look for treatment even without knowing what the problem might be. Read more about erectile dysfunction

 
At 5:47 AM, January 21, 2011, Blogger Imitrex said...

How to Increase Your Male Libido Naturally online without Prescription at a Reliable and Trusted Generic Viagra Online Pharmacy. Satisfaction Guaranteed always when you Buy Viagra, Generic Viagra, Kamagra, Generic CIalis and Generic Levitra. Discover Cheap Viagra online at wholesale Prices

 

Post a Comment

<< Home