calculating probability of drunk man walking on a line












1












$begingroup$


I would appreciate if you could check if I obtained the right results:



The problem:




A drunk man is walking in random steps along an axis with the points +-1, +-2,+-3,... each steps he does is in the length of 1 unit with the probability of 0.4 forward and 0.6 backwards(the steps are undependable). X will mark his placement on the axis after 50 steps.



1. What is $p{x=-10}$




My answer:
The probability that the drunken man will be at position $x=-10$ after 50 steps is $0.053$




2. What is the variance of $x$?




My answer:
Using the binomial variance distribution $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$ i obtained that the variance is 24




3. What are the odds that his last step ($50$th) will be at $x = -27$?




My answer:
The odds of his last step, the $50$th, will be at position $x = -27$ is $0.130$




4. Assuming the the chances of the drunken man of falling in each step is $0.01$: if the drunken man walks for $2000$ steps, what are the odds in estimation that he will fall exactly $23$ times?




My answer:
I am quite sure I got this one wrong, but after 2000 steps, the probability he'll fall exactly 23 times is $0.72$



Can anyone check if I got the correct results?



EDIT: for some reason when i try to write the full calculations it goes wrong, so i'll explain what i did and which formula i used.



for 1:$C_50,20$ with the given probabilities times $20$ and $30$ accordingly



for 2: using the variance distribution formula along with the given details: $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$



for 3: for some reason now i can't find a way to land on $-27$ on the last step(the 50th)



for 4:using the same formula, $c_2000,23$ with 0.1 times 23 and 0.99 times 1977 (calculated using complements(1-p))










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    It would be helpful in helping you if you included how you arrived at your answers.
    $endgroup$
    – Remy
    May 1 '18 at 21:18












  • $begingroup$
    I’m assuming that you studying mathematics in at a school or something like that. Here is a hint that will serve you well. Always write down the steps you took from the question to your answer. Even if you got the answer wrong you will still get marks for showing the correct steps.
    $endgroup$
    – Q the Platypus
    May 2 '18 at 0:43










  • $begingroup$
    I'm not even sure I understand what question 3 is asking.
    $endgroup$
    – Brian Tung
    May 2 '18 at 0:57










  • $begingroup$
    i'll edit it and elaborate this post when i'll get back home
    $endgroup$
    – BeginningMath
    May 2 '18 at 20:30










  • $begingroup$
    @Remy && Brian and Q: fixed it and addd explanations. please check andd correct me if i've done something wrong
    $endgroup$
    – BeginningMath
    May 3 '18 at 12:42
















1












$begingroup$


I would appreciate if you could check if I obtained the right results:



The problem:




A drunk man is walking in random steps along an axis with the points +-1, +-2,+-3,... each steps he does is in the length of 1 unit with the probability of 0.4 forward and 0.6 backwards(the steps are undependable). X will mark his placement on the axis after 50 steps.



1. What is $p{x=-10}$




My answer:
The probability that the drunken man will be at position $x=-10$ after 50 steps is $0.053$




2. What is the variance of $x$?




My answer:
Using the binomial variance distribution $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$ i obtained that the variance is 24




3. What are the odds that his last step ($50$th) will be at $x = -27$?




My answer:
The odds of his last step, the $50$th, will be at position $x = -27$ is $0.130$




4. Assuming the the chances of the drunken man of falling in each step is $0.01$: if the drunken man walks for $2000$ steps, what are the odds in estimation that he will fall exactly $23$ times?




My answer:
I am quite sure I got this one wrong, but after 2000 steps, the probability he'll fall exactly 23 times is $0.72$



Can anyone check if I got the correct results?



EDIT: for some reason when i try to write the full calculations it goes wrong, so i'll explain what i did and which formula i used.



for 1:$C_50,20$ with the given probabilities times $20$ and $30$ accordingly



for 2: using the variance distribution formula along with the given details: $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$



for 3: for some reason now i can't find a way to land on $-27$ on the last step(the 50th)



for 4:using the same formula, $c_2000,23$ with 0.1 times 23 and 0.99 times 1977 (calculated using complements(1-p))










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    It would be helpful in helping you if you included how you arrived at your answers.
    $endgroup$
    – Remy
    May 1 '18 at 21:18












  • $begingroup$
    I’m assuming that you studying mathematics in at a school or something like that. Here is a hint that will serve you well. Always write down the steps you took from the question to your answer. Even if you got the answer wrong you will still get marks for showing the correct steps.
    $endgroup$
    – Q the Platypus
    May 2 '18 at 0:43










  • $begingroup$
    I'm not even sure I understand what question 3 is asking.
    $endgroup$
    – Brian Tung
    May 2 '18 at 0:57










  • $begingroup$
    i'll edit it and elaborate this post when i'll get back home
    $endgroup$
    – BeginningMath
    May 2 '18 at 20:30










  • $begingroup$
    @Remy && Brian and Q: fixed it and addd explanations. please check andd correct me if i've done something wrong
    $endgroup$
    – BeginningMath
    May 3 '18 at 12:42














1












1








1





$begingroup$


I would appreciate if you could check if I obtained the right results:



The problem:




A drunk man is walking in random steps along an axis with the points +-1, +-2,+-3,... each steps he does is in the length of 1 unit with the probability of 0.4 forward and 0.6 backwards(the steps are undependable). X will mark his placement on the axis after 50 steps.



1. What is $p{x=-10}$




My answer:
The probability that the drunken man will be at position $x=-10$ after 50 steps is $0.053$




2. What is the variance of $x$?




My answer:
Using the binomial variance distribution $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$ i obtained that the variance is 24




3. What are the odds that his last step ($50$th) will be at $x = -27$?




My answer:
The odds of his last step, the $50$th, will be at position $x = -27$ is $0.130$




4. Assuming the the chances of the drunken man of falling in each step is $0.01$: if the drunken man walks for $2000$ steps, what are the odds in estimation that he will fall exactly $23$ times?




My answer:
I am quite sure I got this one wrong, but after 2000 steps, the probability he'll fall exactly 23 times is $0.72$



Can anyone check if I got the correct results?



EDIT: for some reason when i try to write the full calculations it goes wrong, so i'll explain what i did and which formula i used.



for 1:$C_50,20$ with the given probabilities times $20$ and $30$ accordingly



for 2: using the variance distribution formula along with the given details: $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$



for 3: for some reason now i can't find a way to land on $-27$ on the last step(the 50th)



for 4:using the same formula, $c_2000,23$ with 0.1 times 23 and 0.99 times 1977 (calculated using complements(1-p))










share|cite|improve this question











$endgroup$




I would appreciate if you could check if I obtained the right results:



The problem:




A drunk man is walking in random steps along an axis with the points +-1, +-2,+-3,... each steps he does is in the length of 1 unit with the probability of 0.4 forward and 0.6 backwards(the steps are undependable). X will mark his placement on the axis after 50 steps.



1. What is $p{x=-10}$




My answer:
The probability that the drunken man will be at position $x=-10$ after 50 steps is $0.053$




2. What is the variance of $x$?




My answer:
Using the binomial variance distribution $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$ i obtained that the variance is 24




3. What are the odds that his last step ($50$th) will be at $x = -27$?




My answer:
The odds of his last step, the $50$th, will be at position $x = -27$ is $0.130$




4. Assuming the the chances of the drunken man of falling in each step is $0.01$: if the drunken man walks for $2000$ steps, what are the odds in estimation that he will fall exactly $23$ times?




My answer:
I am quite sure I got this one wrong, but after 2000 steps, the probability he'll fall exactly 23 times is $0.72$



Can anyone check if I got the correct results?



EDIT: for some reason when i try to write the full calculations it goes wrong, so i'll explain what i did and which formula i used.



for 1:$C_50,20$ with the given probabilities times $20$ and $30$ accordingly



for 2: using the variance distribution formula along with the given details: $varleft(xright)=binom{n}{k}p^kleft(1-pright)^{n-k}$



for 3: for some reason now i can't find a way to land on $-27$ on the last step(the 50th)



for 4:using the same formula, $c_2000,23$ with 0.1 times 23 and 0.99 times 1977 (calculated using complements(1-p))







probability discrete-mathematics stochastic-processes random-walk






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 22 '18 at 17:46









Jneven

904322




904322










asked May 1 '18 at 21:15









BeginningMathBeginningMath

59929




59929








  • 4




    $begingroup$
    It would be helpful in helping you if you included how you arrived at your answers.
    $endgroup$
    – Remy
    May 1 '18 at 21:18












  • $begingroup$
    I’m assuming that you studying mathematics in at a school or something like that. Here is a hint that will serve you well. Always write down the steps you took from the question to your answer. Even if you got the answer wrong you will still get marks for showing the correct steps.
    $endgroup$
    – Q the Platypus
    May 2 '18 at 0:43










  • $begingroup$
    I'm not even sure I understand what question 3 is asking.
    $endgroup$
    – Brian Tung
    May 2 '18 at 0:57










  • $begingroup$
    i'll edit it and elaborate this post when i'll get back home
    $endgroup$
    – BeginningMath
    May 2 '18 at 20:30










  • $begingroup$
    @Remy && Brian and Q: fixed it and addd explanations. please check andd correct me if i've done something wrong
    $endgroup$
    – BeginningMath
    May 3 '18 at 12:42














  • 4




    $begingroup$
    It would be helpful in helping you if you included how you arrived at your answers.
    $endgroup$
    – Remy
    May 1 '18 at 21:18












  • $begingroup$
    I’m assuming that you studying mathematics in at a school or something like that. Here is a hint that will serve you well. Always write down the steps you took from the question to your answer. Even if you got the answer wrong you will still get marks for showing the correct steps.
    $endgroup$
    – Q the Platypus
    May 2 '18 at 0:43










  • $begingroup$
    I'm not even sure I understand what question 3 is asking.
    $endgroup$
    – Brian Tung
    May 2 '18 at 0:57










  • $begingroup$
    i'll edit it and elaborate this post when i'll get back home
    $endgroup$
    – BeginningMath
    May 2 '18 at 20:30










  • $begingroup$
    @Remy && Brian and Q: fixed it and addd explanations. please check andd correct me if i've done something wrong
    $endgroup$
    – BeginningMath
    May 3 '18 at 12:42








4




4




$begingroup$
It would be helpful in helping you if you included how you arrived at your answers.
$endgroup$
– Remy
May 1 '18 at 21:18






$begingroup$
It would be helpful in helping you if you included how you arrived at your answers.
$endgroup$
– Remy
May 1 '18 at 21:18














$begingroup$
I’m assuming that you studying mathematics in at a school or something like that. Here is a hint that will serve you well. Always write down the steps you took from the question to your answer. Even if you got the answer wrong you will still get marks for showing the correct steps.
$endgroup$
– Q the Platypus
May 2 '18 at 0:43




$begingroup$
I’m assuming that you studying mathematics in at a school or something like that. Here is a hint that will serve you well. Always write down the steps you took from the question to your answer. Even if you got the answer wrong you will still get marks for showing the correct steps.
$endgroup$
– Q the Platypus
May 2 '18 at 0:43












$begingroup$
I'm not even sure I understand what question 3 is asking.
$endgroup$
– Brian Tung
May 2 '18 at 0:57




$begingroup$
I'm not even sure I understand what question 3 is asking.
$endgroup$
– Brian Tung
May 2 '18 at 0:57












$begingroup$
i'll edit it and elaborate this post when i'll get back home
$endgroup$
– BeginningMath
May 2 '18 at 20:30




$begingroup$
i'll edit it and elaborate this post when i'll get back home
$endgroup$
– BeginningMath
May 2 '18 at 20:30












$begingroup$
@Remy && Brian and Q: fixed it and addd explanations. please check andd correct me if i've done something wrong
$endgroup$
– BeginningMath
May 3 '18 at 12:42




$begingroup$
@Remy && Brian and Q: fixed it and addd explanations. please check andd correct me if i've done something wrong
$endgroup$
– BeginningMath
May 3 '18 at 12:42










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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2762451%2fcalculating-probability-of-drunk-man-walking-on-a-line%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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2762451%2fcalculating-probability-of-drunk-man-walking-on-a-line%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix