Sunday, June 10, 2012

Trashy Game Theory

Of the trashy TV that I watch, I think that Paradise Hotel has got to be the trashiest.  The first week there were 6 girls and 5 guys on the show.  In order to continue their stay at the Paradise Hotel, the girls would each pick a guy, one by one, to be her roommate for the week.  One pair would then have a "third wheel" (since the girls outnumber the guys), and the guy would then choose which girl he would keep as his roommate.

Now, since I'm a complete nerd, I stated working out odds and percentages and maximizing how to play the game.  Game theory has to do with making decisions based on the decisions of other people.  It's incredibly useful and valuable, so let's take a second to break it down in a more simple example.  Let's say there are two competing coffee shop companies, Staribou Coffee and Carbucks Coffee.


Both are national chains and are looking to expand their business in either New York City or Oklahoma City.  Since NYC real estate is much more expensive than OKC real estate, each chain could either open one shop in NYC or 2 shops in OKC.  Because these are two competing businesses, if both choose to open shops in the same cities, neither company will turn a profit.  How does each business choose where to open the new shops?

We probably need a little bit more information, but each shop is going to use game theory.  If you're in Staribou's position, the most important thing is to not open shops in the same city as Carbucks.  So you're going to put yourself in Carbucks' position.  And you may ask yourself, "well, how did I get here? what would Carbucks do?  I'm going to open my shops where they won't open shops."  Well, Carbucks is doing exactly the same thing, and putting itself into Staribou's position, quoting Talking Heads....Game Theory tends to get very circular ;)

Let's get back to the Game of Paradise Hotel:

In the Game of Paradise Hotel, you either put out, or you go home.  I told you it was trashy!
The first girl and the last girl are trivial choices.  The first girl has open season, and the last girl will be forced to (we'll see why she's forced to in a second) double up on a man.  Let's work on the second girl.  She has a choice; either she can double up on the first girl's choice, or she can pick a new hunk.  IF she doubles up, then she has a fifty percent chance of going home, depending on who the guy chooses (every other girl will choose an open man because that is the choice that gives a one hundred percent chance of staying).  IF she does not, and picks a new man, then we need to find the odds of another girl choosing the same man.  Recursion, ho!

3RD GIRL: We've assumed that the 2nd girl picked a new man.  There are now 3 open men.  She can either pick a taken man (50%) or pick a new man.  Recursion, ho!

4TH GIRL: Assuming 3rd girl picked a new man.  2 open men.  She can either pick a taken man (50%) or pick a new man.  Recursion, ho!

5TH GIRL: Assuming 4th girl picked a new man.  1 open man.  If she picks a taken man, she has a 50% chance of going home.  Since there's one girl to go after her, she has a .2*.5=10% chance of going home if she picks the open man.  The 5th girl will, naturally, pick the last man standing.  Ho, recursion!

4TH GIRL:  OK, how we know what the 5th girl's choice is.  That means that the 6th girl is the only girl that can challenge you for your man.  10% chance of going home if she picks a new man.  The 4th girl will pick an single man.  Ho, recursion!

3RD GIRL:  Now we know what 4th and 5th girls' choices are!  They're going to pick new men!  10% chance of going home for picking a single man, so the 3rd girl will pick a single man.  Ho, recursion!

2ND GIRL: That brings us to the end of the recursive argument.  Now we know what each girl after us is going to do; they're picking new men.  So, to recap, there's a 50% chance of going home if she doubles up.  Since each girl after us is picking a new man, that means there's a 10% chance that, if you pick a new man, the 6th girl will 1) choose your man AND 2) your man chooses girl #6 over you.  Therefore, the 2nd girl will choose a new man.

Thus, each girl will choose a new man (unless she thinks that a particular man has more than a 90% chance of picking her over the other woman).  The 6th girl must be doubled up, and thus has a trivial decision (any man she picks will result in a 50% chance to go home).

Due to the nature of the game, she has a 50% chance of going home.  Every other girl has a 10% chance of going home.
I pity the girl who chooses last!


Tuesday, June 5, 2012

US Space Program

It's been almost a year since the last shuttle mission.  I've spent a lot of time (time which probably is normally better spent grading or lesson planning...) thinking about the American space program, reasons for its being there, reasons for it not to be there, etc.  Although NASA represents a very small percentage of the federal budget, and has for a majority of the organization's lifetime, the question remains: is space exploration and research a worthwhile use of our money?

In preparation for November's election, I've been trying to figure out, exactly, what my political stance is.  Take the budget for example.  It's easy to say "we need to raise taxes and cut spending in order to reduce the deficit."  However, it's much harder to try and figure out where to cut that spending.  The government provides many services for the people; where do I draw the line to start classifying projects as unnecessary spending?

For example, I think Planned Parenthood is a wonderful program.  It provides safe, easy, and affordable medical services, and contrary to popular Republican belief, does much much more than birth control and abortions.  Could we, as a society, afford to cut it?  Probably.  It's not, strictly speaking, necessary for our lives.  Just the same, I think I'd like to keep it around.

Let's look back at NASA.  They've made some incredible inventions, innovations, and brought technology leaps and bounds within the course of about 60 years.  They are responsible for inspiring and realizing the genre of science fiction.  In turn, the scientists took the best tech that came from sci fi and turned it into reality.  NASA has improved our understanding of the universe and took some of the first steps to exploring that universe.  And yet, somehow I have a sinking feeling that their well has run dry; that space has nothing left to offer.  I sincerely hope I'm wrong, but with this feeling I find it hard to justify spending federal tax dollars to fund NASA.

I think what I need is a set of rules for what the government should spend its money on.  Now, the Constitution has very specific things that it says the federal government is responsible for.  While that will drastically reduce spending, it will also entirely cut out funding for things like Planned Parenthood, NASA, the NSF, and public education, just to name a few.  And I like those things.  They're badass.

I'll leave you with what I think is one of the most powerful clips NASA has made.  It's a view of the Tail Service Masts at the base of a Saturn V rocket.  Try to keep in mind the scale; I could easily drive a truck into one of the five F-1 engines at the base of the rocket.  Each of the TSMs is about 9.5 meters high, and the Saturn V experiences an initial acceleration of about 12 meters per second per second.  Look at how fast the mechanism works to get the TSM clear of the vehicle and safe from the engine exhaust.  It's incredible how many little details there were to get 12 men on the moon.

Anyway.