Markov Chains Explained
techeffigy.wordpress.com
techeffigy.wordpress.com
http://edinburghhacklab.com/2014/03/taming-randomized-load-t...
A Markov chain is a sequence of random variables X_1, X_2, X_3, ... with the property that the distribution of X_t given the complete history X_1, ..., X_{t-1} is identical to the distribution of X_t given only the previous state X_{t-1}. Intuitively, this means that the state X_{t-1} sufficiently summarizes the history of the chain so that knowing the earlier states of the chain does not allow you to better guess the next state. This property is called the Markov property.
For those looking for a free and in-depth reference, I encourage you to check out Byron Schmuland's course notes: http://www.stat.ualberta.ca/~schmu/stat580/2012notes. He also links to several other free references for Markov chains on his course webpage: http://www.stat.ualberta.ca/~schmu/580.
In a previous comment, I sought to further understand how the Lottery possesses the Markov property. Based on your definition above, I can see that it does simply because the distribution X_t of winning numbers has the same dependence on X_{t-1} as it does on X_1, ..., X_{t-1}, that is, zero. Do I have that correct?
For an example without the Markov property, consider the sequence of random variables X_1, X_2, ... with X_1 being either -1 or 1 with equal probability, and X_t being normally distributed with mean X_1 and standard deviation 1.
Knowing the history X_1, X_2, ..., X_{t-1} gives you the exact distribution of X_t (since you know X_1), while only knowing X_{t-1} gives you much less information. This fails to be a Markov chain because the state X_{t-1} doesn't "remember" which of the two possible distributions is being used.
Edit: Wikipedia, of course, has a good overview of applications of Markov chains. http://en.wikipedia.org/wiki/Markov_chain#Applications
"For Markov chains to be effective the current state has to be dependent on the previous state in some way;"
This is trivially untrue. A sequence of independently and identically distributed (iid) random variables is a Markov chain. An iid sequence is clearly effective at many things (e.g. Monte Carlo integration).
"Not every process has the Markov Property, such as the Lottery, this weeks winning numbers have no dependence to the previous weeks winning numbers." As lambdaphage pointed out, the Lottery does have the Markov property.
I'm not seeing how the distribution of possible winning numbers relates at all to the current state. I'm trying to phrase this in the language of the above two comments. Help me out if I've got it all wrong. =)
The lottery ignores the previous state and is defined purely by the noise, so it is a (trivial) markov process.
More complex systems depend on the entire history (e.g. to model a poker player you have to consider all of their actions up to the current). Newtonian systems are markov, if you know the state of the system you can run it forward in time deterministically. Even if your knowledge of the state of the Newtonian system is not fully known, you can still run the distribution of states forward in time precisely.
current_state = previous_state + process_noise
typically expressed in matrix math but the idea is as simple as that.
(The book version of Shannon's paper [1] is even a bit better.)
0. http://www3.alcatel-lucent.com/bstj/vol27-1948/articles/bstj...
1. http://www.amazon.com/Mathematical-Theory-Communication-Clau...
There's a typo: You have the word "leaving" twice in a row.
file: As
contains: I an a
file: an
contains: example
file: example
contains: example as
Here "as" points to "example", and "example" points to "example" and to
"as". You have your cycle: pick a random file (get example) pick a
random word (get as), lookup as (open the "as"-file), pick a random
word (get "as" again, then "an" then "example" … ).No links needed, the words are the links -- for US English, and words no longer that 8 characters, you could this on FAT16.
(The files are vertices, and they contain a list of edges to other vertices, in the form of the name of the vertices).
So he did a bunch of work and the net result is he still has to manually search a (different) parameter space? How often are the load testing requirements changing that this is any kind of net time savings at all?
https://gist.github.com/michaelfeathers/2cf9e1599e06d0563f2e