Gamma distribution getting predictions
$begingroup$
Random variable $X$ has a continuous distribution with the probability density function below
$$f_X(x) =
begin{cases}
frac{81}{8}x^4e^{-3x}& x > 0 \
0 & otherwise \
end{cases}
$$
(a) Determine the prediction of for a future $X$, if we have decided to predict using the mean of the distribution
(b) Determine the prediction of a future $X$, if we have decided to predict using the mode of the distribution
(c) Calculate the mean-squared error of the predictor in part(b) above.
attempt
I know this is the gamma distribution
(a)
This is $X$ ~ $Gamma(a=5, lambda=3)$ so $E(X) = frac{5}{3}$. By definition of Gamma $E(X) = frac{a}{lambda}$
(b) $f(x) = frac{81}{8}x^4e^{-3x}dx$
$f'(x) = frac{81}{8}x^3e^{-3x}(4-3x) = 0$, so $x = 0, 4/3$
The maximum is given by $x = 4/3$ in the original equation.
$f(4/3) approx 0.586$
(c)
$MSE(mode) = E(X - frac{4}{3})^2 = E(X^2 - frac{8}{3}X + 16/9)$
$E(X^2) - 8/3E(X) + 16/9$
Need to find $E(X^2)$. We know $V(X) = E(X^2) - E(X)^2 leftrightarrow E(X^2) = V(X) + E(X)^2$ and $V(X) = frac{a}{lambda^2} = frac{5}{9}$ for gamma and $E(X) = frac{5}{3}$
so $E(X^2) = 5/9 + (5/3)^2 = 10/3$
therefore $MSE(Mode) = E(X^2) - 8/3E(X) + 16/9 = 10/3 - 8/3 cdot 5/3 + 16/9 = 2/3$
Is this correct?
probability probability-distributions
$endgroup$
add a comment |
$begingroup$
Random variable $X$ has a continuous distribution with the probability density function below
$$f_X(x) =
begin{cases}
frac{81}{8}x^4e^{-3x}& x > 0 \
0 & otherwise \
end{cases}
$$
(a) Determine the prediction of for a future $X$, if we have decided to predict using the mean of the distribution
(b) Determine the prediction of a future $X$, if we have decided to predict using the mode of the distribution
(c) Calculate the mean-squared error of the predictor in part(b) above.
attempt
I know this is the gamma distribution
(a)
This is $X$ ~ $Gamma(a=5, lambda=3)$ so $E(X) = frac{5}{3}$. By definition of Gamma $E(X) = frac{a}{lambda}$
(b) $f(x) = frac{81}{8}x^4e^{-3x}dx$
$f'(x) = frac{81}{8}x^3e^{-3x}(4-3x) = 0$, so $x = 0, 4/3$
The maximum is given by $x = 4/3$ in the original equation.
$f(4/3) approx 0.586$
(c)
$MSE(mode) = E(X - frac{4}{3})^2 = E(X^2 - frac{8}{3}X + 16/9)$
$E(X^2) - 8/3E(X) + 16/9$
Need to find $E(X^2)$. We know $V(X) = E(X^2) - E(X)^2 leftrightarrow E(X^2) = V(X) + E(X)^2$ and $V(X) = frac{a}{lambda^2} = frac{5}{9}$ for gamma and $E(X) = frac{5}{3}$
so $E(X^2) = 5/9 + (5/3)^2 = 10/3$
therefore $MSE(Mode) = E(X^2) - 8/3E(X) + 16/9 = 10/3 - 8/3 cdot 5/3 + 16/9 = 2/3$
Is this correct?
probability probability-distributions
$endgroup$
add a comment |
$begingroup$
Random variable $X$ has a continuous distribution with the probability density function below
$$f_X(x) =
begin{cases}
frac{81}{8}x^4e^{-3x}& x > 0 \
0 & otherwise \
end{cases}
$$
(a) Determine the prediction of for a future $X$, if we have decided to predict using the mean of the distribution
(b) Determine the prediction of a future $X$, if we have decided to predict using the mode of the distribution
(c) Calculate the mean-squared error of the predictor in part(b) above.
attempt
I know this is the gamma distribution
(a)
This is $X$ ~ $Gamma(a=5, lambda=3)$ so $E(X) = frac{5}{3}$. By definition of Gamma $E(X) = frac{a}{lambda}$
(b) $f(x) = frac{81}{8}x^4e^{-3x}dx$
$f'(x) = frac{81}{8}x^3e^{-3x}(4-3x) = 0$, so $x = 0, 4/3$
The maximum is given by $x = 4/3$ in the original equation.
$f(4/3) approx 0.586$
(c)
$MSE(mode) = E(X - frac{4}{3})^2 = E(X^2 - frac{8}{3}X + 16/9)$
$E(X^2) - 8/3E(X) + 16/9$
Need to find $E(X^2)$. We know $V(X) = E(X^2) - E(X)^2 leftrightarrow E(X^2) = V(X) + E(X)^2$ and $V(X) = frac{a}{lambda^2} = frac{5}{9}$ for gamma and $E(X) = frac{5}{3}$
so $E(X^2) = 5/9 + (5/3)^2 = 10/3$
therefore $MSE(Mode) = E(X^2) - 8/3E(X) + 16/9 = 10/3 - 8/3 cdot 5/3 + 16/9 = 2/3$
Is this correct?
probability probability-distributions
$endgroup$
Random variable $X$ has a continuous distribution with the probability density function below
$$f_X(x) =
begin{cases}
frac{81}{8}x^4e^{-3x}& x > 0 \
0 & otherwise \
end{cases}
$$
(a) Determine the prediction of for a future $X$, if we have decided to predict using the mean of the distribution
(b) Determine the prediction of a future $X$, if we have decided to predict using the mode of the distribution
(c) Calculate the mean-squared error of the predictor in part(b) above.
attempt
I know this is the gamma distribution
(a)
This is $X$ ~ $Gamma(a=5, lambda=3)$ so $E(X) = frac{5}{3}$. By definition of Gamma $E(X) = frac{a}{lambda}$
(b) $f(x) = frac{81}{8}x^4e^{-3x}dx$
$f'(x) = frac{81}{8}x^3e^{-3x}(4-3x) = 0$, so $x = 0, 4/3$
The maximum is given by $x = 4/3$ in the original equation.
$f(4/3) approx 0.586$
(c)
$MSE(mode) = E(X - frac{4}{3})^2 = E(X^2 - frac{8}{3}X + 16/9)$
$E(X^2) - 8/3E(X) + 16/9$
Need to find $E(X^2)$. We know $V(X) = E(X^2) - E(X)^2 leftrightarrow E(X^2) = V(X) + E(X)^2$ and $V(X) = frac{a}{lambda^2} = frac{5}{9}$ for gamma and $E(X) = frac{5}{3}$
so $E(X^2) = 5/9 + (5/3)^2 = 10/3$
therefore $MSE(Mode) = E(X^2) - 8/3E(X) + 16/9 = 10/3 - 8/3 cdot 5/3 + 16/9 = 2/3$
Is this correct?
probability probability-distributions
probability probability-distributions
asked Jan 16 at 20:51
shahshah
404
404
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
(a) You are correct to recognize that $X sim text{Gamma}(5, 3)$, and your expectation is also correct.
(b) Your mode is correct. A quicker way to do it, however, is to recognize that the mode of random variable following a Gamma distribution with parameters $alpha$ and $lambda$ is given by $(alpha - 1)/lambda$ for $alpha geq 1$. So, in this case, the mode would be at $(5 - 1)/3 = 4/3$, which agrees with what you have.
(c) Yes, it is correct.
$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%2f3076282%2fgamma-distribution-getting-predictions%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$
(a) You are correct to recognize that $X sim text{Gamma}(5, 3)$, and your expectation is also correct.
(b) Your mode is correct. A quicker way to do it, however, is to recognize that the mode of random variable following a Gamma distribution with parameters $alpha$ and $lambda$ is given by $(alpha - 1)/lambda$ for $alpha geq 1$. So, in this case, the mode would be at $(5 - 1)/3 = 4/3$, which agrees with what you have.
(c) Yes, it is correct.
$endgroup$
add a comment |
$begingroup$
(a) You are correct to recognize that $X sim text{Gamma}(5, 3)$, and your expectation is also correct.
(b) Your mode is correct. A quicker way to do it, however, is to recognize that the mode of random variable following a Gamma distribution with parameters $alpha$ and $lambda$ is given by $(alpha - 1)/lambda$ for $alpha geq 1$. So, in this case, the mode would be at $(5 - 1)/3 = 4/3$, which agrees with what you have.
(c) Yes, it is correct.
$endgroup$
add a comment |
$begingroup$
(a) You are correct to recognize that $X sim text{Gamma}(5, 3)$, and your expectation is also correct.
(b) Your mode is correct. A quicker way to do it, however, is to recognize that the mode of random variable following a Gamma distribution with parameters $alpha$ and $lambda$ is given by $(alpha - 1)/lambda$ for $alpha geq 1$. So, in this case, the mode would be at $(5 - 1)/3 = 4/3$, which agrees with what you have.
(c) Yes, it is correct.
$endgroup$
(a) You are correct to recognize that $X sim text{Gamma}(5, 3)$, and your expectation is also correct.
(b) Your mode is correct. A quicker way to do it, however, is to recognize that the mode of random variable following a Gamma distribution with parameters $alpha$ and $lambda$ is given by $(alpha - 1)/lambda$ for $alpha geq 1$. So, in this case, the mode would be at $(5 - 1)/3 = 4/3$, which agrees with what you have.
(c) Yes, it is correct.
answered Jan 16 at 20:58
Ekesh KumarEkesh Kumar
1,00428
1,00428
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%2f3076282%2fgamma-distribution-getting-predictions%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