How to find the expectation and the standard deviation about this question? The 2019 Stack...
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Extreme, unacceptable situation and I can't attend work tomorrow morning
How to create dashed lines/arrows in Illustrator
Dual Citizen. Exited the US on Italian passport recently
Why is my p-value correlated to difference between means in two sample tests?
Should I write numbers in words or as numerals when there are multiple next to each other?
How can I fix this gap between bookcases I made?
JSON.serialize: is it possible to suppress null values of a map?
What is this 4-propeller plane?
Is this food a bread or a loaf?
"Riffle" two strings
Lethal sonic weapons
aging parents with no investments
Is it possible for the two major parties in the UK to form a coalition with each other instead of a much smaller party?
What tool would a Roman-age civilization have to grind silver and other metals into dust?
Does it makes sense to buy a new cycle to learn riding?
Does duplicating a spell with Wish count as casting that spell?
Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints
Geography at the pixel level
Carnot-Caratheodory metric
What does "rabbited" mean/imply in this sentence?
What is the best strategy for white in this position?
Are USB sockets on wall outlets live all the time, even when the switch is off?
I see my dog run
How to find the expectation and the standard deviation about this question?
The 2019 Stack Overflow Developer Survey Results Are InOptimally combining samples to estimate averagesWhat is the probability that at least 4 customers arrived between 9am and 10am?What is the variance of the time of the arrival of the 3rd customer?Confidence interval in comparing service timesConfidence stats questionScaling Random variables by a constantShouldn't sample standard deviation DECREASE with increased sample size?Probability of having at least one table with $n$ customersProbability and expected gainTime evolution of the probability density
$begingroup$
According to the observation, 80% customers order breakfast A, while other customers order breakfast B. At this moment, all six tables in the cafe are occupied, each table with one customer.
Then the question is :breakfast A is cost $45 while breakfast B is cost 38 dollar. What is the expectation and the standard deviation of the revenue for repeated samples of six individual customers?
probability
$endgroup$
add a comment |
$begingroup$
According to the observation, 80% customers order breakfast A, while other customers order breakfast B. At this moment, all six tables in the cafe are occupied, each table with one customer.
Then the question is :breakfast A is cost $45 while breakfast B is cost 38 dollar. What is the expectation and the standard deviation of the revenue for repeated samples of six individual customers?
probability
$endgroup$
add a comment |
$begingroup$
According to the observation, 80% customers order breakfast A, while other customers order breakfast B. At this moment, all six tables in the cafe are occupied, each table with one customer.
Then the question is :breakfast A is cost $45 while breakfast B is cost 38 dollar. What is the expectation and the standard deviation of the revenue for repeated samples of six individual customers?
probability
$endgroup$
According to the observation, 80% customers order breakfast A, while other customers order breakfast B. At this moment, all six tables in the cafe are occupied, each table with one customer.
Then the question is :breakfast A is cost $45 while breakfast B is cost 38 dollar. What is the expectation and the standard deviation of the revenue for repeated samples of six individual customers?
probability
probability
asked Mar 21 at 4:52
HakzihippoHakzihippo
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Every customer can order either A or B with probability 0.8 or 0.2 respectively (lets call these $p_A$ and $p_B = 1 - p_A$). The cost of A is $45 and B is $38 (call these $r_A$ and $r_B$).
Expected value of revenue from one customer (say $r/c$) is,
$$E[r/c] = (p_A times r_A) + (p_B times r_B)$$
$$E[r/c] = (p_A times r_A) + ((1-p_A) times r_B)$$
Expected revenue from 6 customers is just 6 times the expression above. This is also the mean revenue from 6 customers (let's call this $mu$).
As for the standard deviation, it is,
begin{equation}
sigma = sqrt{Var(r)}
end{equation}
where,
$$Var(r) = left(sum Pr(r = r_i) times r_i^2 right) - mu^2$$
Now for a single customer $r_i$ could only be either $r_A$ or $r_B$, but for 6 customers, there are $2^6$ different permutations of meals that can be generated for a given set of customers.
However, if $n_A$ customers chose A and $n_B = 6 - n_A$ customers chose B, then the revenue generated is $n_A times r_A + (6-n_A) times r_B$. As $n_A$ can be anywhere between 0 (no customer chose A) to 6 (all of them chose A). The probability that $n_A$ will choose A and $6-n_A$ choose B is $p_A^{n_A} (1-p_A)^{6-n_A}$.
$$Var(r) = left(sum_{n_A = 0}^{6} p_A^{n_A} (1-p_A)^{6-n_A} (n_A times r_A + (6-n_A) times r_B)^2 right) - mu^2$$
Use this to get the standard deviation.
$endgroup$
add a comment |
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%2f3156351%2fhow-to-find-the-expectation-and-the-standard-deviation-about-this-question%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$
Every customer can order either A or B with probability 0.8 or 0.2 respectively (lets call these $p_A$ and $p_B = 1 - p_A$). The cost of A is $45 and B is $38 (call these $r_A$ and $r_B$).
Expected value of revenue from one customer (say $r/c$) is,
$$E[r/c] = (p_A times r_A) + (p_B times r_B)$$
$$E[r/c] = (p_A times r_A) + ((1-p_A) times r_B)$$
Expected revenue from 6 customers is just 6 times the expression above. This is also the mean revenue from 6 customers (let's call this $mu$).
As for the standard deviation, it is,
begin{equation}
sigma = sqrt{Var(r)}
end{equation}
where,
$$Var(r) = left(sum Pr(r = r_i) times r_i^2 right) - mu^2$$
Now for a single customer $r_i$ could only be either $r_A$ or $r_B$, but for 6 customers, there are $2^6$ different permutations of meals that can be generated for a given set of customers.
However, if $n_A$ customers chose A and $n_B = 6 - n_A$ customers chose B, then the revenue generated is $n_A times r_A + (6-n_A) times r_B$. As $n_A$ can be anywhere between 0 (no customer chose A) to 6 (all of them chose A). The probability that $n_A$ will choose A and $6-n_A$ choose B is $p_A^{n_A} (1-p_A)^{6-n_A}$.
$$Var(r) = left(sum_{n_A = 0}^{6} p_A^{n_A} (1-p_A)^{6-n_A} (n_A times r_A + (6-n_A) times r_B)^2 right) - mu^2$$
Use this to get the standard deviation.
$endgroup$
add a comment |
$begingroup$
Every customer can order either A or B with probability 0.8 or 0.2 respectively (lets call these $p_A$ and $p_B = 1 - p_A$). The cost of A is $45 and B is $38 (call these $r_A$ and $r_B$).
Expected value of revenue from one customer (say $r/c$) is,
$$E[r/c] = (p_A times r_A) + (p_B times r_B)$$
$$E[r/c] = (p_A times r_A) + ((1-p_A) times r_B)$$
Expected revenue from 6 customers is just 6 times the expression above. This is also the mean revenue from 6 customers (let's call this $mu$).
As for the standard deviation, it is,
begin{equation}
sigma = sqrt{Var(r)}
end{equation}
where,
$$Var(r) = left(sum Pr(r = r_i) times r_i^2 right) - mu^2$$
Now for a single customer $r_i$ could only be either $r_A$ or $r_B$, but for 6 customers, there are $2^6$ different permutations of meals that can be generated for a given set of customers.
However, if $n_A$ customers chose A and $n_B = 6 - n_A$ customers chose B, then the revenue generated is $n_A times r_A + (6-n_A) times r_B$. As $n_A$ can be anywhere between 0 (no customer chose A) to 6 (all of them chose A). The probability that $n_A$ will choose A and $6-n_A$ choose B is $p_A^{n_A} (1-p_A)^{6-n_A}$.
$$Var(r) = left(sum_{n_A = 0}^{6} p_A^{n_A} (1-p_A)^{6-n_A} (n_A times r_A + (6-n_A) times r_B)^2 right) - mu^2$$
Use this to get the standard deviation.
$endgroup$
add a comment |
$begingroup$
Every customer can order either A or B with probability 0.8 or 0.2 respectively (lets call these $p_A$ and $p_B = 1 - p_A$). The cost of A is $45 and B is $38 (call these $r_A$ and $r_B$).
Expected value of revenue from one customer (say $r/c$) is,
$$E[r/c] = (p_A times r_A) + (p_B times r_B)$$
$$E[r/c] = (p_A times r_A) + ((1-p_A) times r_B)$$
Expected revenue from 6 customers is just 6 times the expression above. This is also the mean revenue from 6 customers (let's call this $mu$).
As for the standard deviation, it is,
begin{equation}
sigma = sqrt{Var(r)}
end{equation}
where,
$$Var(r) = left(sum Pr(r = r_i) times r_i^2 right) - mu^2$$
Now for a single customer $r_i$ could only be either $r_A$ or $r_B$, but for 6 customers, there are $2^6$ different permutations of meals that can be generated for a given set of customers.
However, if $n_A$ customers chose A and $n_B = 6 - n_A$ customers chose B, then the revenue generated is $n_A times r_A + (6-n_A) times r_B$. As $n_A$ can be anywhere between 0 (no customer chose A) to 6 (all of them chose A). The probability that $n_A$ will choose A and $6-n_A$ choose B is $p_A^{n_A} (1-p_A)^{6-n_A}$.
$$Var(r) = left(sum_{n_A = 0}^{6} p_A^{n_A} (1-p_A)^{6-n_A} (n_A times r_A + (6-n_A) times r_B)^2 right) - mu^2$$
Use this to get the standard deviation.
$endgroup$
Every customer can order either A or B with probability 0.8 or 0.2 respectively (lets call these $p_A$ and $p_B = 1 - p_A$). The cost of A is $45 and B is $38 (call these $r_A$ and $r_B$).
Expected value of revenue from one customer (say $r/c$) is,
$$E[r/c] = (p_A times r_A) + (p_B times r_B)$$
$$E[r/c] = (p_A times r_A) + ((1-p_A) times r_B)$$
Expected revenue from 6 customers is just 6 times the expression above. This is also the mean revenue from 6 customers (let's call this $mu$).
As for the standard deviation, it is,
begin{equation}
sigma = sqrt{Var(r)}
end{equation}
where,
$$Var(r) = left(sum Pr(r = r_i) times r_i^2 right) - mu^2$$
Now for a single customer $r_i$ could only be either $r_A$ or $r_B$, but for 6 customers, there are $2^6$ different permutations of meals that can be generated for a given set of customers.
However, if $n_A$ customers chose A and $n_B = 6 - n_A$ customers chose B, then the revenue generated is $n_A times r_A + (6-n_A) times r_B$. As $n_A$ can be anywhere between 0 (no customer chose A) to 6 (all of them chose A). The probability that $n_A$ will choose A and $6-n_A$ choose B is $p_A^{n_A} (1-p_A)^{6-n_A}$.
$$Var(r) = left(sum_{n_A = 0}^{6} p_A^{n_A} (1-p_A)^{6-n_A} (n_A times r_A + (6-n_A) times r_B)^2 right) - mu^2$$
Use this to get the standard deviation.
edited Mar 24 at 13:30
answered Mar 21 at 8:12
Balakrishnan RajanBalakrishnan Rajan
1519
1519
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%2f3156351%2fhow-to-find-the-expectation-and-the-standard-deviation-about-this-question%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