This page was automatically generated by NetLogo 3.1.3. Questions, problems? Contact feedback@ccl.northwestern.edu.

The applet requires Java 1.4.1 or higher. It will not run on Windows 95 or Mac OS 8 or 9. Mac users must have OS X 10.2.6 or higher and use a browser that supports Java 1.4. (Safari works, IE does not. Mac OS X comes with Safari. Open Safari and set it as your default web browser under Safari/Preferences/General.) On other operating systems, you may obtain the latest Java plugin from Sun's Java site.


In order for this to work, this file, your model file (boysngirls2.nlogo), and the file NetLogoLite.jar must all be in the same directory. (You can copy NetLogoLite.jar from the directory where you installed NetLogo.)

On some systems, you can test the applet locally on your computer before uploading it to a web server. It doesn't work on all systems, though, so if it doesn't work from your hard drive, please try uploading it to a web server.

You don't need to include everything in this file in your page. If you want, you can just take the HTML code beginning with <applet> and ending with </applet>, and paste it into any HTML file you want. It's even OK to put multiple <applet> tags on a single page.

If NetLogoLite.jar and your model are in different directories, you must modify the archive= and value= lines in the HTML code to point to their actual locations. (For example, if you have multiple applets in different directories on the same web server, you may want to put a single copy of NetLogoLite.jar in one central place and change the archive= lines of all the HTML files to point to that one central copy. This will save disk space for you and download time for your user.)

created with NetLogo

view/download model file: boysngirls2.nlogo

WHAT IS IT?

In Chapter Three, Evaluation of Speculation, of March & Lave (1975), in section 3.3.3, they examine the consequences of a parental preference for boys:

"Suppose that each couple agreed (knowing the relative value of things) to produce children (in the usual way) until each couple had more boys (the ones with penises) than girls (the ones without).
And further suppose that the probability of such coupling (technical term) resulting in a boy (the ones with) varies from couple to couple, but not from coupling to coupling for any one couple.
And (we still have a couple more) that no one divorces (an Irish folk tale) or sleeps around (a Scottish folk tale) without precautions (a Swedish folk tale).
And that the expected sex (technical term) of a birth if all couples are producing equally is half male, half female (though mostly they are one or the other).

Question: (Are you ready?) What will be the ratio of boys (with) to girls (without) in such a society?

Answer: The sweet truth is (given the supposings) that we will end up with more girls (without) than boys (with).

(That's beauty, baby.):" (pp.69-70)


HOW IT WORKS

Each couple is modelled as a turtle. Each couple has a fixed, small bias (mean 0.0, max +0.1, min -0.1) in its probability (unbiassed mean = 0.5) of producing boys over girls. Each couple remembers the numbers of offspring of each sex it has. Each couple is unhappy until it has more boys than girls.


HOW TO USE IT

Choose the number of couples. Choose the fixed bias per couple (vary_bias of 0 means a probability of exactly 0.5, max 10 means a probability in the range 0.4 to 0.6).

The output box and plots are self-explanatory.


THINGS TO NOTICE

With zero bias, there will almost always be more boys than girls in total, when all couples are happy. With large bias, the process will not converge. Instead, there will remain a very small number of couples coupling, and girls will increasingly outnumber boys. The couples more likely to have boys will have smaller families, and those more likely to produce girls will have larger families. Some with many girls and few boys remain unhappy and coupling.


THINGS TO TRY

Play with numbers of couples and vary_bias.


EXTENDING THE MODEL

Although couples are modelled as turtles, there is no movement of turtles. Instead, couples could be modelled as patches, and the colour of a patch could change when a couple becomes happy.


NETLOGO FEATURES

Note the use of the false attribute in the initiation setup.


RELATED MODELS

This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest.


CREDITS AND REFERENCES

Model written by Robert Marks, on August 10, 2006.
bobm@agsm.edu.au

James G. March and Charles A. Lave, Introduction to Models in the Social Sciences, New York: HarperCollins, 1975