> One of the most amazing things about kids are that they are state machines, unfortunately you don't get to see all the states :-).
Sounds like a job for Hidden Markov Models. They model a system in which you can see a state-dependent output (e.g. "I want to play for 15 more minutes!") and there are clever algorithms for guessing, based on a sequence of observed outputs, what the hell just happened internally. Very handy stuff:
It amused me (I know, easily amused) that for a while I could end a pointless argument with my daughter by using a non sequitor. You know "But why can't I play for another 15 minutes!?", "There are zeppelins in the sky." "... huh? really? Where?"
Then it amused my wife, after my daughter had identified this edge in her particular state machine, when we had battling non sequitor arguments, "Oh yeah? Zebras are monochromatic!" "So? Water ice subliminates below 5% relative humidity!"
At 19 months (the original article stated this as an age) the evolution of how kids interact and choose to interact changes almost daily. With my kids there was a peak around 3 years of age before things normalized out. Always interesting raising kids.