Expected Waiting Time in a Queue with exponential distributionExponential Distribution - memorylessaverage waiting timeExpected time, exponential distributionExponential distribution - lack of memoryAverage amount of time spend by customerExample of finding the conditional expected amount of time a person spends waiting in line given that she is eventually servedGeneralized expression for waiting time.Exponentially distributed probability at the post officeExponential Probability of customersTotal waiting time of exponential distribution is less than the sum of each waiting time, how so?
How can Internet speed be 10 times slower without a router than when using the same connection with a router?
Notation: What does the tilde bellow of the Expectation mean?
Handling Null values (and equivalents) routinely in Python
Voltage Balun 1:1
A factorization game
Is disk brake effectiveness mitigated by tyres losing traction under strong braking?
Is there a word that describes the unjustified use of a more complex word?
How do I, as a DM, handle a party that decides to set up an ambush in a dungeon?
How do LIGO and VIRGO know that a gravitational wave has its origin in a neutron star or a black hole?
Are sleeping system R-ratings additive?
Python 3 - simple temperature program
How long would it take for people to notice a mass disappearance?
Which US defense organization would respond to an invasion like this?
Feasibility of lava beings?
Is there precedent or are there procedures for a US president refusing to concede to an electoral defeat?
My first c++ game (snake console game)
Why did WWI include Japan?
Why does sound not move through a wall?
Prove that a definite integral is an infinite sum
Is an HNN extension of a virtually torsion-free group virtually torsion-free?
Is it normal for gliders not to have attitude indicators?
Adding command shortcuts to /bin
Is there a word for food that's gone 'bad', but is still edible?
Why didn't this character get a funeral at the end of Avengers: Endgame?
Expected Waiting Time in a Queue with exponential distribution
Exponential Distribution - memorylessaverage waiting timeExpected time, exponential distributionExponential distribution - lack of memoryAverage amount of time spend by customerExample of finding the conditional expected amount of time a person spends waiting in line given that she is eventually servedGeneralized expression for waiting time.Exponentially distributed probability at the post officeExponential Probability of customersTotal waiting time of exponential distribution is less than the sum of each waiting time, how so?
$begingroup$
I am trying to solve the following problem in my exercise sheet towards preparation of competitive exam:
A post office has 2 clerks. $A$ enters the post office while 2 other customers, $B$ and $C$, are being served by the 2 clerks. She is next in line. Assume that the time a clerk spends serving a customer has the Expo($lambda$) distribution.
What is the expected time spent by $A$ in the post office?
My take:
Total time that A spends in the office is the sum of waiting time + the time taken to serve A.
$$E(textTotal Time) = E(textWaiting Time) + E(textService Time)$$
$$E(textService Time) = frac1lambda$$
Now I computed that the Probability that A is served at any of the counter is $1/2$. Therefore,
$$E(textWaiting Time) = 1/2 times E(textService Time of B) + 1/2 times E(textService Time of C)$$
$$=frac1lambda$$
Which gives me
$$E(textTotal Time) = frac2lambda$$
But the answer given is $frac32lambda$.
Please point out the mistake in what I am thinking or if you think there's a better way to do it.
Thanks.
probability probability-theory conditional-expectation expected-value exponential-distribution
$endgroup$
add a comment |
$begingroup$
I am trying to solve the following problem in my exercise sheet towards preparation of competitive exam:
A post office has 2 clerks. $A$ enters the post office while 2 other customers, $B$ and $C$, are being served by the 2 clerks. She is next in line. Assume that the time a clerk spends serving a customer has the Expo($lambda$) distribution.
What is the expected time spent by $A$ in the post office?
My take:
Total time that A spends in the office is the sum of waiting time + the time taken to serve A.
$$E(textTotal Time) = E(textWaiting Time) + E(textService Time)$$
$$E(textService Time) = frac1lambda$$
Now I computed that the Probability that A is served at any of the counter is $1/2$. Therefore,
$$E(textWaiting Time) = 1/2 times E(textService Time of B) + 1/2 times E(textService Time of C)$$
$$=frac1lambda$$
Which gives me
$$E(textTotal Time) = frac2lambda$$
But the answer given is $frac32lambda$.
Please point out the mistake in what I am thinking or if you think there's a better way to do it.
Thanks.
probability probability-theory conditional-expectation expected-value exponential-distribution
$endgroup$
add a comment |
$begingroup$
I am trying to solve the following problem in my exercise sheet towards preparation of competitive exam:
A post office has 2 clerks. $A$ enters the post office while 2 other customers, $B$ and $C$, are being served by the 2 clerks. She is next in line. Assume that the time a clerk spends serving a customer has the Expo($lambda$) distribution.
What is the expected time spent by $A$ in the post office?
My take:
Total time that A spends in the office is the sum of waiting time + the time taken to serve A.
$$E(textTotal Time) = E(textWaiting Time) + E(textService Time)$$
$$E(textService Time) = frac1lambda$$
Now I computed that the Probability that A is served at any of the counter is $1/2$. Therefore,
$$E(textWaiting Time) = 1/2 times E(textService Time of B) + 1/2 times E(textService Time of C)$$
$$=frac1lambda$$
Which gives me
$$E(textTotal Time) = frac2lambda$$
But the answer given is $frac32lambda$.
Please point out the mistake in what I am thinking or if you think there's a better way to do it.
Thanks.
probability probability-theory conditional-expectation expected-value exponential-distribution
$endgroup$
I am trying to solve the following problem in my exercise sheet towards preparation of competitive exam:
A post office has 2 clerks. $A$ enters the post office while 2 other customers, $B$ and $C$, are being served by the 2 clerks. She is next in line. Assume that the time a clerk spends serving a customer has the Expo($lambda$) distribution.
What is the expected time spent by $A$ in the post office?
My take:
Total time that A spends in the office is the sum of waiting time + the time taken to serve A.
$$E(textTotal Time) = E(textWaiting Time) + E(textService Time)$$
$$E(textService Time) = frac1lambda$$
Now I computed that the Probability that A is served at any of the counter is $1/2$. Therefore,
$$E(textWaiting Time) = 1/2 times E(textService Time of B) + 1/2 times E(textService Time of C)$$
$$=frac1lambda$$
Which gives me
$$E(textTotal Time) = frac2lambda$$
But the answer given is $frac32lambda$.
Please point out the mistake in what I am thinking or if you think there's a better way to do it.
Thanks.
probability probability-theory conditional-expectation expected-value exponential-distribution
probability probability-theory conditional-expectation expected-value exponential-distribution
edited 4 hours ago
Vizag
asked 4 hours ago
VizagVizag
920113
920113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The mistake is that the waiting time is not distributed in the way that you have proposed, because the waiting time is the lesser of the service times of $B$ and $C$. This is because $A$ takes the first available opening, so whoever finishes first, $A$ chooses that clerk. That is to say, if $W_A$ is the waiting time of $A$ and $S_B$, $S_C$ are the service times of $B$ and $C$ respectively, then $$W_A = min(S_B, S_C),$$ and it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$.
Rather, you must compute the minimum order statistic of $B$ and $C$'s service times. Since these are iid exponentially distributed with rate $lambda$, it follows that $$Pr[W_A > t] = Pr[min(S_B, S_C) > t] = Pr[(S_B > t) cap (S_C > t)] oversettextind= Pr[S_B > t] Pr[S_C > t] oversettextid= (e^-lambda t)^2.$$ That is to say, the probability that $A$ waits more than $t$ to begin service is the product of the probabilities that both $B$ and $C$ take more than $t$ to be finished. And this makes perfect intuitive sense--because if $A$ must wait more than $t$, then that means both $B$ and $C$ are still occupied, which means their service times are also more than $t$.
Now that you know $Pr[W_A > t] = e^-2lambda t$, what can you say about $operatornameE[W_A]$?
$endgroup$
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
1
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
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%2f3212816%2fexpected-waiting-time-in-a-queue-with-exponential-distribution%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$
The mistake is that the waiting time is not distributed in the way that you have proposed, because the waiting time is the lesser of the service times of $B$ and $C$. This is because $A$ takes the first available opening, so whoever finishes first, $A$ chooses that clerk. That is to say, if $W_A$ is the waiting time of $A$ and $S_B$, $S_C$ are the service times of $B$ and $C$ respectively, then $$W_A = min(S_B, S_C),$$ and it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$.
Rather, you must compute the minimum order statistic of $B$ and $C$'s service times. Since these are iid exponentially distributed with rate $lambda$, it follows that $$Pr[W_A > t] = Pr[min(S_B, S_C) > t] = Pr[(S_B > t) cap (S_C > t)] oversettextind= Pr[S_B > t] Pr[S_C > t] oversettextid= (e^-lambda t)^2.$$ That is to say, the probability that $A$ waits more than $t$ to begin service is the product of the probabilities that both $B$ and $C$ take more than $t$ to be finished. And this makes perfect intuitive sense--because if $A$ must wait more than $t$, then that means both $B$ and $C$ are still occupied, which means their service times are also more than $t$.
Now that you know $Pr[W_A > t] = e^-2lambda t$, what can you say about $operatornameE[W_A]$?
$endgroup$
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
1
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
add a comment |
$begingroup$
The mistake is that the waiting time is not distributed in the way that you have proposed, because the waiting time is the lesser of the service times of $B$ and $C$. This is because $A$ takes the first available opening, so whoever finishes first, $A$ chooses that clerk. That is to say, if $W_A$ is the waiting time of $A$ and $S_B$, $S_C$ are the service times of $B$ and $C$ respectively, then $$W_A = min(S_B, S_C),$$ and it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$.
Rather, you must compute the minimum order statistic of $B$ and $C$'s service times. Since these are iid exponentially distributed with rate $lambda$, it follows that $$Pr[W_A > t] = Pr[min(S_B, S_C) > t] = Pr[(S_B > t) cap (S_C > t)] oversettextind= Pr[S_B > t] Pr[S_C > t] oversettextid= (e^-lambda t)^2.$$ That is to say, the probability that $A$ waits more than $t$ to begin service is the product of the probabilities that both $B$ and $C$ take more than $t$ to be finished. And this makes perfect intuitive sense--because if $A$ must wait more than $t$, then that means both $B$ and $C$ are still occupied, which means their service times are also more than $t$.
Now that you know $Pr[W_A > t] = e^-2lambda t$, what can you say about $operatornameE[W_A]$?
$endgroup$
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
1
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
add a comment |
$begingroup$
The mistake is that the waiting time is not distributed in the way that you have proposed, because the waiting time is the lesser of the service times of $B$ and $C$. This is because $A$ takes the first available opening, so whoever finishes first, $A$ chooses that clerk. That is to say, if $W_A$ is the waiting time of $A$ and $S_B$, $S_C$ are the service times of $B$ and $C$ respectively, then $$W_A = min(S_B, S_C),$$ and it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$.
Rather, you must compute the minimum order statistic of $B$ and $C$'s service times. Since these are iid exponentially distributed with rate $lambda$, it follows that $$Pr[W_A > t] = Pr[min(S_B, S_C) > t] = Pr[(S_B > t) cap (S_C > t)] oversettextind= Pr[S_B > t] Pr[S_C > t] oversettextid= (e^-lambda t)^2.$$ That is to say, the probability that $A$ waits more than $t$ to begin service is the product of the probabilities that both $B$ and $C$ take more than $t$ to be finished. And this makes perfect intuitive sense--because if $A$ must wait more than $t$, then that means both $B$ and $C$ are still occupied, which means their service times are also more than $t$.
Now that you know $Pr[W_A > t] = e^-2lambda t$, what can you say about $operatornameE[W_A]$?
$endgroup$
The mistake is that the waiting time is not distributed in the way that you have proposed, because the waiting time is the lesser of the service times of $B$ and $C$. This is because $A$ takes the first available opening, so whoever finishes first, $A$ chooses that clerk. That is to say, if $W_A$ is the waiting time of $A$ and $S_B$, $S_C$ are the service times of $B$ and $C$ respectively, then $$W_A = min(S_B, S_C),$$ and it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$.
Rather, you must compute the minimum order statistic of $B$ and $C$'s service times. Since these are iid exponentially distributed with rate $lambda$, it follows that $$Pr[W_A > t] = Pr[min(S_B, S_C) > t] = Pr[(S_B > t) cap (S_C > t)] oversettextind= Pr[S_B > t] Pr[S_C > t] oversettextid= (e^-lambda t)^2.$$ That is to say, the probability that $A$ waits more than $t$ to begin service is the product of the probabilities that both $B$ and $C$ take more than $t$ to be finished. And this makes perfect intuitive sense--because if $A$ must wait more than $t$, then that means both $B$ and $C$ are still occupied, which means their service times are also more than $t$.
Now that you know $Pr[W_A > t] = e^-2lambda t$, what can you say about $operatornameE[W_A]$?
answered 4 hours ago
heropupheropup
66.1k866104
66.1k866104
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
1
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
add a comment |
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
1
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
$begingroup$
Many thanks to you :)
$endgroup$
– Vizag
4 hours ago
1
1
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
You say "it is not generally true that $operatornameE[W_A] = operatornameE[S_B]/2$". It does seem to be true here because you have two servers with exponential distributions, so twice the rate and thus half the service time.
$endgroup$
– Henry
4 hours ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
$begingroup$
@Henry Yes, but that assertion nevertheless needs justification, which the explicit calculation of the order statistic furnishes. Moreover, my statement remains correct.
$endgroup$
– heropup
1 hour ago
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%2f3212816%2fexpected-waiting-time-in-a-queue-with-exponential-distribution%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