Serving the Quantitative Finance Community

 
User avatar
mememe
Topic Author
Posts: 0
Joined: November 1st, 2004, 1:39 pm

Interview question

March 18th, 2006, 2:01 am

hi, does anyone know the anwser for this ? thanks!A mythical city contains 100,000 couples but no children. Each family wishesto "continue the female line" but they do not wish to over-populate. So eachfamily has one baby per annum until the arrival of the first girl. Forexample, if (at some future date) a family has five children then it must beeither that they are all boys, and another child is planned, or that there arefour boys and one girl, and no more children are planned. Assume the childrenare equally likely to be born male or female. Let p(t) be the percentage ofchildren that are female at the end of year t. How is this percentage expectedto evolve through time? What is the average number of children per family?
 
User avatar
Athletico
Posts: 14
Joined: January 7th, 2002, 4:17 pm

Interview question

March 18th, 2006, 2:28 am

50%constant thru time2
 
User avatar
mememe
Topic Author
Posts: 0
Joined: November 1st, 2004, 1:39 pm

Interview question

March 18th, 2006, 2:55 am

hi, can you explain why?
 
User avatar
joshua2718
Posts: 0
Joined: October 18th, 2003, 2:55 pm

Interview question

March 18th, 2006, 3:48 am

Since there is 50 % of having either a boy or a girl , taking into account the law of large numbers,you can see that every year about 50% of the births will be girls so the % of girls remains constantover t (at the first year you have 50% girls and 50% boys , the next year all those that had boyswill give birth once more, again 50 % of those will be girls and 50 % boys, and so on... so % of girlsremains constant).If you can't see right away why the average # of births per family will be 2, look at a random processB(t) of births where every year you have probablity 0.5 of having a boy or a girl. Define the stoppingtime t_s to be the time of having the first girl. You need to calculate E[Bt_s] :E[Bt_s] = sum_{i=1 to \infty} (1/2)^i * i = 2.There are a lot of stopping time problems in the brainteasers forum (try searching for 'coin' forexample).
 
User avatar
QuantOption
Posts: 1
Joined: February 8th, 2003, 9:00 pm

Interview question

January 13th, 2007, 4:36 pm

Another way to get second answer is just to look at the explanation of the first answer. When couple has a kid, they have 50% chance to get another one, after that, they have 50% change to get another .... ie. the average number of kids per couple is 1 + 1/2 (1+ 1/2 (1+ 1/2 (1+ ... if this is to be convergent you get Sn = 1 + 1/2 Sn => Sn=2
 
User avatar
Yura
Posts: 1
Joined: February 11th, 2006, 11:28 pm

Interview question

January 13th, 2007, 5:53 pm

QuoteOriginally posted by: mememehi, does anyone know the anwser for this ? thanks!A mythical city contains 100,000 couples but no children. Each family wishesto "continue the female line" but they do not wish to over-populate. So eachfamily has one baby per annum until the arrival of the first girl. Forexample, if (at some future date) a family has five children then it must beeither that they are all boys, and another child is planned, or that there arefour boys and one girl, and no more children are planned. Assume the childrenare equally likely to be born male or female. Let p(t) be the percentage ofchildren that are female at the end of year t. How is this percentage expectedto evolve through time? What is the average number of children per family?You need this book:Heard on the Street: Quantitative Questions from Wall Street Job Interviews by Timothy Falcon Crack I has a lot of brainteasers (including your one) with answers.
 
User avatar
KackToodles
Posts: 0
Joined: August 28th, 2005, 10:46 pm

Interview question

January 14th, 2007, 3:16 pm

Some of these questions are set up to trick you into believing that you will be working on cool puzzles on the job. Don't be fooled by these questions -- they have very little to do with what you actually will be doing (that is, slinging reams of code at the whim of the traders and other bosses). Also, beware: if you appear too knowledgable solving these esoteric puzzles, you will be labelled and paid at the mathematician scale. Once you exhibit too much mathematician abilities, you are ruled out from ever being trader or portfolio manager material.
Last edited by KackToodles on January 13th, 2007, 11:00 pm, edited 1 time in total.