{"id":9926,"date":"2015-04-21T19:16:28","date_gmt":"2015-04-21T19:16:28","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=9926"},"modified":"2018-02-25T17:43:40","modified_gmt":"2018-02-25T17:43:40","slug":"probability-markov-chains-introduction","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/probability-markov-chains-introduction\/","title":{"rendered":"Probability:  Markov chains:  introduction"},"content":{"rendered":"<h1>The tutor is happy to introduce the elegant topic of Markov chains.<\/h1>\n<p>A Markov chain is a sequence of states through which a probability system can pass.  It&#8217;s not so complex as it sounds.  Consider the following example:<\/p>\n<p>Ms A must choose each day between a vegetarian lunch or a meat one.  Here is a description of the parameters:<\/p>\n<p>1:  veggie<\/p>\n<p>2:  meat<\/p>\n<p>1,1:  veggie today, then veggie tomorrow<\/p>\n<p>1,2:  veggie today, but meat tomorrow<\/p>\n<p>2,1:  meat today, veggie tomorrow<\/p>\n<p>2,2:  meat today, meat tomorrow<\/p>\n<p>In the probability matrix, the entries are referred to by (row, column).<\/p>\n<p>Now let&#8217;s imagine the probabilities associated with each choice set are as follows:<\/p>\n<p>1,1:  0.55 (if veggie today, then 55% probability of veggie tomorrow as well)<\/p>\n<p>1,2:  0.45 (if veggie today, then 45% probability of meat tomorrow)<\/p>\n<p>2,1:  0.31 (if meat today, then 31% probability of veggie tomorrow)<\/p>\n<p>2,2:  0.69 (if meat today, then 69% probability of meat tomorrow, too)<\/p>\n<p>In matrix form:<\/p>\n<p><img decoding=\"async\" src=\"\/..\/images\/markov_feb15_2018.png\" \/><\/p>\n<p>Such a matrix can be called a <em>probability matrix<\/em>; another name is <em>transition matrix<\/em>.<\/p>\n<p>Observations:<\/p>\n<p>1) Being probabilities, each entry e must satisfy 0\u2264e\u22641<br \/>\n2) The entries in a given row must sum to 1, since they represent all possibilites.<br \/>\n3) The diagonal entries (1,1 and 2,2) signify the probability of remaining the same.<\/p>\n<p>A square matrix that satsifies 1) and 2) is called <em>stochastic<\/em>.  <\/p>\n<p>This is a good first step on our journey through Markov chains.<\/p>\n<p>HTH:)<\/p>\n<p><u>Sources:<\/u><\/p>\n<p>Tan, Soo Tang.  <u>Applied Finite Mathematics<\/u>, 3rd Ed.  Boston:  PWS-Kent Publishing \u00a0\u00a0Company, 1990.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor is happy to introduce the elegant topic of Markov chains. A Markov chain is a sequence of states through which a probability system can pass. It&#8217;s not so complex as it sounds. Consider the following example: Ms A &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/probability-markov-chains-introduction\/\"> <span class=\"screen-reader-text\">Probability:  Markov chains:  introduction<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[719,714,720,718,715,717,716],"class_list":["post-9926","post","type-post","status-publish","format-standard","hentry","category-math","tag-introduction-to-markov-chain","tag-markov-chain","tag-markov-chain-definition","tag-probability","tag-probability-matrix","tag-stochastic-matrix","tag-transition-matrix"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=9926"}],"version-history":[{"count":34,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9926\/revisions"}],"predecessor-version":[{"id":30481,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/9926\/revisions\/30481"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=9926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=9926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=9926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}