Find the probability mass function of the waiting time to get $TTHH$?
$begingroup$
Suppose we are flipping a fair coin. Let $X$ be the waiting to the first occurrence of $TTHH$ (Tails, Tails, Heads, Heads). So if we got $HTTHH$, then $X=5$. Find the pmf of $X$.
Now I've tried conditioning on the first flip ($X_1$) but I get nowhere:
$$begin{align}
P(X=n) &= frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n|X_1=H) \
&=frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n-1) \
end{align}$$
I'm not sure where to go from here or even if this is the right approach. I've even tried to mess around with Markov Chains but can't seem to get anywhere.
probability conditional-probability
$endgroup$
add a comment |
$begingroup$
Suppose we are flipping a fair coin. Let $X$ be the waiting to the first occurrence of $TTHH$ (Tails, Tails, Heads, Heads). So if we got $HTTHH$, then $X=5$. Find the pmf of $X$.
Now I've tried conditioning on the first flip ($X_1$) but I get nowhere:
$$begin{align}
P(X=n) &= frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n|X_1=H) \
&=frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n-1) \
end{align}$$
I'm not sure where to go from here or even if this is the right approach. I've even tried to mess around with Markov Chains but can't seem to get anywhere.
probability conditional-probability
$endgroup$
1
$begingroup$
I doubt there is a simple closed form for the probability mass function, but the probability generating function may be $G(z)=dfrac{z^4}{z^4-16z+16}$
$endgroup$
– Henry
Feb 2 at 19:57
$begingroup$
Yes that agrees with my result. How did you find the PGF?
$endgroup$
– Peter Foreman
Feb 2 at 20:28
add a comment |
$begingroup$
Suppose we are flipping a fair coin. Let $X$ be the waiting to the first occurrence of $TTHH$ (Tails, Tails, Heads, Heads). So if we got $HTTHH$, then $X=5$. Find the pmf of $X$.
Now I've tried conditioning on the first flip ($X_1$) but I get nowhere:
$$begin{align}
P(X=n) &= frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n|X_1=H) \
&=frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n-1) \
end{align}$$
I'm not sure where to go from here or even if this is the right approach. I've even tried to mess around with Markov Chains but can't seem to get anywhere.
probability conditional-probability
$endgroup$
Suppose we are flipping a fair coin. Let $X$ be the waiting to the first occurrence of $TTHH$ (Tails, Tails, Heads, Heads). So if we got $HTTHH$, then $X=5$. Find the pmf of $X$.
Now I've tried conditioning on the first flip ($X_1$) but I get nowhere:
$$begin{align}
P(X=n) &= frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n|X_1=H) \
&=frac{1}{2}P(X=n|X_1=T)+frac{1}{2}P(X=n-1) \
end{align}$$
I'm not sure where to go from here or even if this is the right approach. I've even tried to mess around with Markov Chains but can't seem to get anywhere.
probability conditional-probability
probability conditional-probability
asked Feb 2 at 19:22


NineteenNinetyNineNineteenNinetyNine
769
769
1
$begingroup$
I doubt there is a simple closed form for the probability mass function, but the probability generating function may be $G(z)=dfrac{z^4}{z^4-16z+16}$
$endgroup$
– Henry
Feb 2 at 19:57
$begingroup$
Yes that agrees with my result. How did you find the PGF?
$endgroup$
– Peter Foreman
Feb 2 at 20:28
add a comment |
1
$begingroup$
I doubt there is a simple closed form for the probability mass function, but the probability generating function may be $G(z)=dfrac{z^4}{z^4-16z+16}$
$endgroup$
– Henry
Feb 2 at 19:57
$begingroup$
Yes that agrees with my result. How did you find the PGF?
$endgroup$
– Peter Foreman
Feb 2 at 20:28
1
1
$begingroup$
I doubt there is a simple closed form for the probability mass function, but the probability generating function may be $G(z)=dfrac{z^4}{z^4-16z+16}$
$endgroup$
– Henry
Feb 2 at 19:57
$begingroup$
I doubt there is a simple closed form for the probability mass function, but the probability generating function may be $G(z)=dfrac{z^4}{z^4-16z+16}$
$endgroup$
– Henry
Feb 2 at 19:57
$begingroup$
Yes that agrees with my result. How did you find the PGF?
$endgroup$
– Peter Foreman
Feb 2 at 20:28
$begingroup$
Yes that agrees with my result. How did you find the PGF?
$endgroup$
– Peter Foreman
Feb 2 at 20:28
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
One can easily see that $P(X le 3)=0$ and $P(X=4) = frac{1}{2^4}=frac{1}{16}$. To get $P(X=5)$ we need to get TTHH in the last 4 throws and to not get TTHH on the first roll, so $P(X=5)=frac{1}{16}(1-P(X=1))=frac{1}{16}$. Similarly $P(X=6)=frac{1}{16}(1-P(X le 2))=frac{1}{16}$ and $P(X=7)=frac{1}{16}(1-P(X le 3))=frac{1}{16}$. After 8 throws we have $P(X=8)=frac{1}{16}(1-P(X le 4))=frac{1}{16}(1-frac{1}{16})=frac{15}{256}$.
In general we have:
$$P(X=x)=frac{1}{16}(1-P(X le (x-1)))=frac{1}{16}-frac{1}{16}sum_{k=0}^{x-1}P(X=k)$$
I don't know how to find a closed form for this answer.
$endgroup$
add a comment |
Your Answer
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%2f3097688%2ffind-the-probability-mass-function-of-the-waiting-time-to-get-tthh%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
One can easily see that $P(X le 3)=0$ and $P(X=4) = frac{1}{2^4}=frac{1}{16}$. To get $P(X=5)$ we need to get TTHH in the last 4 throws and to not get TTHH on the first roll, so $P(X=5)=frac{1}{16}(1-P(X=1))=frac{1}{16}$. Similarly $P(X=6)=frac{1}{16}(1-P(X le 2))=frac{1}{16}$ and $P(X=7)=frac{1}{16}(1-P(X le 3))=frac{1}{16}$. After 8 throws we have $P(X=8)=frac{1}{16}(1-P(X le 4))=frac{1}{16}(1-frac{1}{16})=frac{15}{256}$.
In general we have:
$$P(X=x)=frac{1}{16}(1-P(X le (x-1)))=frac{1}{16}-frac{1}{16}sum_{k=0}^{x-1}P(X=k)$$
I don't know how to find a closed form for this answer.
$endgroup$
add a comment |
$begingroup$
One can easily see that $P(X le 3)=0$ and $P(X=4) = frac{1}{2^4}=frac{1}{16}$. To get $P(X=5)$ we need to get TTHH in the last 4 throws and to not get TTHH on the first roll, so $P(X=5)=frac{1}{16}(1-P(X=1))=frac{1}{16}$. Similarly $P(X=6)=frac{1}{16}(1-P(X le 2))=frac{1}{16}$ and $P(X=7)=frac{1}{16}(1-P(X le 3))=frac{1}{16}$. After 8 throws we have $P(X=8)=frac{1}{16}(1-P(X le 4))=frac{1}{16}(1-frac{1}{16})=frac{15}{256}$.
In general we have:
$$P(X=x)=frac{1}{16}(1-P(X le (x-1)))=frac{1}{16}-frac{1}{16}sum_{k=0}^{x-1}P(X=k)$$
I don't know how to find a closed form for this answer.
$endgroup$
add a comment |
$begingroup$
One can easily see that $P(X le 3)=0$ and $P(X=4) = frac{1}{2^4}=frac{1}{16}$. To get $P(X=5)$ we need to get TTHH in the last 4 throws and to not get TTHH on the first roll, so $P(X=5)=frac{1}{16}(1-P(X=1))=frac{1}{16}$. Similarly $P(X=6)=frac{1}{16}(1-P(X le 2))=frac{1}{16}$ and $P(X=7)=frac{1}{16}(1-P(X le 3))=frac{1}{16}$. After 8 throws we have $P(X=8)=frac{1}{16}(1-P(X le 4))=frac{1}{16}(1-frac{1}{16})=frac{15}{256}$.
In general we have:
$$P(X=x)=frac{1}{16}(1-P(X le (x-1)))=frac{1}{16}-frac{1}{16}sum_{k=0}^{x-1}P(X=k)$$
I don't know how to find a closed form for this answer.
$endgroup$
One can easily see that $P(X le 3)=0$ and $P(X=4) = frac{1}{2^4}=frac{1}{16}$. To get $P(X=5)$ we need to get TTHH in the last 4 throws and to not get TTHH on the first roll, so $P(X=5)=frac{1}{16}(1-P(X=1))=frac{1}{16}$. Similarly $P(X=6)=frac{1}{16}(1-P(X le 2))=frac{1}{16}$ and $P(X=7)=frac{1}{16}(1-P(X le 3))=frac{1}{16}$. After 8 throws we have $P(X=8)=frac{1}{16}(1-P(X le 4))=frac{1}{16}(1-frac{1}{16})=frac{15}{256}$.
In general we have:
$$P(X=x)=frac{1}{16}(1-P(X le (x-1)))=frac{1}{16}-frac{1}{16}sum_{k=0}^{x-1}P(X=k)$$
I don't know how to find a closed form for this answer.
answered Feb 2 at 20:22
Peter ForemanPeter Foreman
7,2711319
7,2711319
add a comment |
add a comment |
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%2f3097688%2ffind-the-probability-mass-function-of-the-waiting-time-to-get-tthh%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
1
$begingroup$
I doubt there is a simple closed form for the probability mass function, but the probability generating function may be $G(z)=dfrac{z^4}{z^4-16z+16}$
$endgroup$
– Henry
Feb 2 at 19:57
$begingroup$
Yes that agrees with my result. How did you find the PGF?
$endgroup$
– Peter Foreman
Feb 2 at 20:28