Finding conditional and joint probabilities in a Markov Chain.Probability distribution of markov chainProbabilities in markov chainMarkov chain and conditional entropyMarkov Chain Exercise.Markov Chain Example.Computing with initial distribution and transition matrix of a finite Markov chainQuestion about transition probabilities for Markov ChainGiven Markov chain transition matrix, calculate $mathbbP(X_1=3|X_2=1).$Getting started with Markov Chain.What would be the value of $P$ in this example?
Has any country ever had 2 former presidents in jail simultaneously?
Lowest total scrabble score
Why should universal income be universal?
How to hide some fields of struct in C?
What is going on with 'gets(stdin)' on the site coderbyte?
What should you do if you miss a job interview (deliberately)?
Hero deduces identity of a killer
Why Shazam when there is already Superman?
putting logo on same line but after title, latex
Why would a new[] expression ever invoke a destructor?
The IT department bottlenecks progress. How should I handle this?
Does the UK parliament need to pass secondary legislation to accept the Article 50 extension
How do you make your own symbol when Detexify fails?
How does the math work for Perception checks?
Why is so much work done on numerical verification of the Riemann Hypothesis?
Can a Canadian Travel to the USA twice, less than 180 days each time?
Mimic lecturing on blackboard, facing audience
Are Captain Marvel's powers affected by Thanos' actions in Infinity War
Is there a RAID 0 Equivalent for RAM?
Calculating total slots
Pre-mixing cryogenic fuels and using only one fuel tank
Why is it that I can sometimes guess the next note?
Non-trope happy ending?
Can I say "fingers" when referring to toes?
Finding conditional and joint probabilities in a Markov Chain.
Probability distribution of markov chainProbabilities in markov chainMarkov chain and conditional entropyMarkov Chain Exercise.Markov Chain Example.Computing with initial distribution and transition matrix of a finite Markov chainQuestion about transition probabilities for Markov ChainGiven Markov chain transition matrix, calculate $mathbbP(X_1=3|X_2=1).$Getting started with Markov Chain.What would be the value of $P$ in this example?
$begingroup$
Let $X_0, X_1, ...$ be a Markov Chain with transition matrix
beginbmatrix
0 &1/2 & 1/2\
1&0&0\
1/3&1/3&1/3
endbmatrix
and initial distribution $α = (1/2, 0, 1/2)$.
Find the following:
(a) $P(X_2 = 1 | X_1 = 3)$
(b) $P(X_1 = 3, X_2 = 1)$
(c) $P(X_1 = 3 | X_2 = 1)$
(d) $P(X_9 = 1 | X_1 = 3, X_4 = 1, X_7 = 2)$
My solution:
(a) $P(X_2=1|X_1=3) = frac13$.
(b)
$P(X_2=1, X_1=3) Rightarrow P(X_2=1|X_1=3) cdot P(X_1=3)$
Now, $
alpha P = beginbmatrix frac12 & 0 & frac12 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix
Rightarrow beginbmatrix frac16 & frac512 & frac512 endbmatrix
$
So, $
P(X_2=1, X_1=3) = frac13 cdot frac512 = frac536
$
(c)
$P(X_1=3|X_2=1) = fracP(X_2=1P(X_2=1)$
Now, $P(X_2=1|X_1=3) = frac13$
$alpha P = beginbmatrix frac16 & frac512 & frac512 endbmatrix$. So, $P(X_1=3) = frac512$.
$alpha P^2 = beginbmatrix frac16 & frac512 & frac512 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix = beginbmatrix frac59 & frac29 & frac29 endbmatrix$. So, $P(X_2=1) = frac59$.
Hence, $P(X_1=3|X_2=1) = fracfrac13 cdot frac512frac59 = frac14$.
(d)
$P^2 = beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix cdot beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix =
beginbmatrix
frac23 & frac16 & frac16 \
0 & frac12 & frac12 \
frac49 & frac518 & frac518 \
endbmatrix$.
So, $P(X_9=1|X_1=3,X_4=1,X_7=2) = P(X_9=1|X_7=2) = 0$
Is my calculation correct?
random-variables markov-chains
$endgroup$
add a comment |
$begingroup$
Let $X_0, X_1, ...$ be a Markov Chain with transition matrix
beginbmatrix
0 &1/2 & 1/2\
1&0&0\
1/3&1/3&1/3
endbmatrix
and initial distribution $α = (1/2, 0, 1/2)$.
Find the following:
(a) $P(X_2 = 1 | X_1 = 3)$
(b) $P(X_1 = 3, X_2 = 1)$
(c) $P(X_1 = 3 | X_2 = 1)$
(d) $P(X_9 = 1 | X_1 = 3, X_4 = 1, X_7 = 2)$
My solution:
(a) $P(X_2=1|X_1=3) = frac13$.
(b)
$P(X_2=1, X_1=3) Rightarrow P(X_2=1|X_1=3) cdot P(X_1=3)$
Now, $
alpha P = beginbmatrix frac12 & 0 & frac12 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix
Rightarrow beginbmatrix frac16 & frac512 & frac512 endbmatrix
$
So, $
P(X_2=1, X_1=3) = frac13 cdot frac512 = frac536
$
(c)
$P(X_1=3|X_2=1) = fracP(X_2=1P(X_2=1)$
Now, $P(X_2=1|X_1=3) = frac13$
$alpha P = beginbmatrix frac16 & frac512 & frac512 endbmatrix$. So, $P(X_1=3) = frac512$.
$alpha P^2 = beginbmatrix frac16 & frac512 & frac512 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix = beginbmatrix frac59 & frac29 & frac29 endbmatrix$. So, $P(X_2=1) = frac59$.
Hence, $P(X_1=3|X_2=1) = fracfrac13 cdot frac512frac59 = frac14$.
(d)
$P^2 = beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix cdot beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix =
beginbmatrix
frac23 & frac16 & frac16 \
0 & frac12 & frac12 \
frac49 & frac518 & frac518 \
endbmatrix$.
So, $P(X_9=1|X_1=3,X_4=1,X_7=2) = P(X_9=1|X_7=2) = 0$
Is my calculation correct?
random-variables markov-chains
$endgroup$
$begingroup$
Might be time to come up with titles that are more descriptive of the specific questions you’re asking.
$endgroup$
– amd
Mar 15 at 6:09
add a comment |
$begingroup$
Let $X_0, X_1, ...$ be a Markov Chain with transition matrix
beginbmatrix
0 &1/2 & 1/2\
1&0&0\
1/3&1/3&1/3
endbmatrix
and initial distribution $α = (1/2, 0, 1/2)$.
Find the following:
(a) $P(X_2 = 1 | X_1 = 3)$
(b) $P(X_1 = 3, X_2 = 1)$
(c) $P(X_1 = 3 | X_2 = 1)$
(d) $P(X_9 = 1 | X_1 = 3, X_4 = 1, X_7 = 2)$
My solution:
(a) $P(X_2=1|X_1=3) = frac13$.
(b)
$P(X_2=1, X_1=3) Rightarrow P(X_2=1|X_1=3) cdot P(X_1=3)$
Now, $
alpha P = beginbmatrix frac12 & 0 & frac12 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix
Rightarrow beginbmatrix frac16 & frac512 & frac512 endbmatrix
$
So, $
P(X_2=1, X_1=3) = frac13 cdot frac512 = frac536
$
(c)
$P(X_1=3|X_2=1) = fracP(X_2=1P(X_2=1)$
Now, $P(X_2=1|X_1=3) = frac13$
$alpha P = beginbmatrix frac16 & frac512 & frac512 endbmatrix$. So, $P(X_1=3) = frac512$.
$alpha P^2 = beginbmatrix frac16 & frac512 & frac512 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix = beginbmatrix frac59 & frac29 & frac29 endbmatrix$. So, $P(X_2=1) = frac59$.
Hence, $P(X_1=3|X_2=1) = fracfrac13 cdot frac512frac59 = frac14$.
(d)
$P^2 = beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix cdot beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix =
beginbmatrix
frac23 & frac16 & frac16 \
0 & frac12 & frac12 \
frac49 & frac518 & frac518 \
endbmatrix$.
So, $P(X_9=1|X_1=3,X_4=1,X_7=2) = P(X_9=1|X_7=2) = 0$
Is my calculation correct?
random-variables markov-chains
$endgroup$
Let $X_0, X_1, ...$ be a Markov Chain with transition matrix
beginbmatrix
0 &1/2 & 1/2\
1&0&0\
1/3&1/3&1/3
endbmatrix
and initial distribution $α = (1/2, 0, 1/2)$.
Find the following:
(a) $P(X_2 = 1 | X_1 = 3)$
(b) $P(X_1 = 3, X_2 = 1)$
(c) $P(X_1 = 3 | X_2 = 1)$
(d) $P(X_9 = 1 | X_1 = 3, X_4 = 1, X_7 = 2)$
My solution:
(a) $P(X_2=1|X_1=3) = frac13$.
(b)
$P(X_2=1, X_1=3) Rightarrow P(X_2=1|X_1=3) cdot P(X_1=3)$
Now, $
alpha P = beginbmatrix frac12 & 0 & frac12 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix
Rightarrow beginbmatrix frac16 & frac512 & frac512 endbmatrix
$
So, $
P(X_2=1, X_1=3) = frac13 cdot frac512 = frac536
$
(c)
$P(X_1=3|X_2=1) = fracP(X_2=1P(X_2=1)$
Now, $P(X_2=1|X_1=3) = frac13$
$alpha P = beginbmatrix frac16 & frac512 & frac512 endbmatrix$. So, $P(X_1=3) = frac512$.
$alpha P^2 = beginbmatrix frac16 & frac512 & frac512 endbmatrixcdot
beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix = beginbmatrix frac59 & frac29 & frac29 endbmatrix$. So, $P(X_2=1) = frac59$.
Hence, $P(X_1=3|X_2=1) = fracfrac13 cdot frac512frac59 = frac14$.
(d)
$P^2 = beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix cdot beginbmatrix
0 & frac12 & frac12 \
1 & 0 & 0 \
frac13 & frac13 & frac13 \
endbmatrix =
beginbmatrix
frac23 & frac16 & frac16 \
0 & frac12 & frac12 \
frac49 & frac518 & frac518 \
endbmatrix$.
So, $P(X_9=1|X_1=3,X_4=1,X_7=2) = P(X_9=1|X_7=2) = 0$
Is my calculation correct?
random-variables markov-chains
random-variables markov-chains
edited Mar 15 at 21:21
user366312
asked Mar 15 at 2:18
user366312user366312
663318
663318
$begingroup$
Might be time to come up with titles that are more descriptive of the specific questions you’re asking.
$endgroup$
– amd
Mar 15 at 6:09
add a comment |
$begingroup$
Might be time to come up with titles that are more descriptive of the specific questions you’re asking.
$endgroup$
– amd
Mar 15 at 6:09
$begingroup$
Might be time to come up with titles that are more descriptive of the specific questions you’re asking.
$endgroup$
– amd
Mar 15 at 6:09
$begingroup$
Might be time to come up with titles that are more descriptive of the specific questions you’re asking.
$endgroup$
– amd
Mar 15 at 6:09
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3148815%2ffinding-conditional-and-joint-probabilities-in-a-markov-chain%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3148815%2ffinding-conditional-and-joint-probabilities-in-a-markov-chain%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Might be time to come up with titles that are more descriptive of the specific questions you’re asking.
$endgroup$
– amd
Mar 15 at 6:09