How to show this distribution is proper?
$begingroup$
This question is based on problem 14 from chapter 3 of Gelman et al.'s Bayesian Data Analysis.
We have four data points $y_i$ with covariates $x_i$, $i=1,cdots,4$. We use the model: $$y_isim mathrm{Bin}(n_i,theta_i),quad mathrm{logit}(theta_i) = alpha + beta x_i.$$ We place an improper uniform prior $(alpha,beta)sim1$. The problem is to show that the resulting posterior distribution of $alpha,beta|y,x,n$ is proper over the range $(alpha,beta)inmathbb R^2$.
What I have tried:
The posterior distribution is (proportional to): $prod_{i=1}^4 left[ left( frac{mathrm{exp}(alpha+beta x_i)}{1+mathrm{exp}(alpha+beta x_i)} right)^{y_i} left( frac1{1+mathrm{exp}(alpha+beta x_i)}right)^{n_i-y_i} right]$. This is less than or equal to $frac1{1+mathrm{exp}(alpha+beta x_1)}$, and that upper bound is tight, since depending on the values of $y$ and $n$ the (unnormalized) posterior can reach that upper bound. But surely $intint_{mathbb R^2}frac1{1+mathrm{exp}(alpha+beta x_1)}dalpha dbeta=infty$, since for any $delta$ it's easy to see that the integrand is greater than $1-delta$ over an infinite region of $mathbb R^2$.
Where have I gone wrong?
probability-distributions improper-integrals bayesian density-function
$endgroup$
add a comment |
$begingroup$
This question is based on problem 14 from chapter 3 of Gelman et al.'s Bayesian Data Analysis.
We have four data points $y_i$ with covariates $x_i$, $i=1,cdots,4$. We use the model: $$y_isim mathrm{Bin}(n_i,theta_i),quad mathrm{logit}(theta_i) = alpha + beta x_i.$$ We place an improper uniform prior $(alpha,beta)sim1$. The problem is to show that the resulting posterior distribution of $alpha,beta|y,x,n$ is proper over the range $(alpha,beta)inmathbb R^2$.
What I have tried:
The posterior distribution is (proportional to): $prod_{i=1}^4 left[ left( frac{mathrm{exp}(alpha+beta x_i)}{1+mathrm{exp}(alpha+beta x_i)} right)^{y_i} left( frac1{1+mathrm{exp}(alpha+beta x_i)}right)^{n_i-y_i} right]$. This is less than or equal to $frac1{1+mathrm{exp}(alpha+beta x_1)}$, and that upper bound is tight, since depending on the values of $y$ and $n$ the (unnormalized) posterior can reach that upper bound. But surely $intint_{mathbb R^2}frac1{1+mathrm{exp}(alpha+beta x_1)}dalpha dbeta=infty$, since for any $delta$ it's easy to see that the integrand is greater than $1-delta$ over an infinite region of $mathbb R^2$.
Where have I gone wrong?
probability-distributions improper-integrals bayesian density-function
$endgroup$
add a comment |
$begingroup$
This question is based on problem 14 from chapter 3 of Gelman et al.'s Bayesian Data Analysis.
We have four data points $y_i$ with covariates $x_i$, $i=1,cdots,4$. We use the model: $$y_isim mathrm{Bin}(n_i,theta_i),quad mathrm{logit}(theta_i) = alpha + beta x_i.$$ We place an improper uniform prior $(alpha,beta)sim1$. The problem is to show that the resulting posterior distribution of $alpha,beta|y,x,n$ is proper over the range $(alpha,beta)inmathbb R^2$.
What I have tried:
The posterior distribution is (proportional to): $prod_{i=1}^4 left[ left( frac{mathrm{exp}(alpha+beta x_i)}{1+mathrm{exp}(alpha+beta x_i)} right)^{y_i} left( frac1{1+mathrm{exp}(alpha+beta x_i)}right)^{n_i-y_i} right]$. This is less than or equal to $frac1{1+mathrm{exp}(alpha+beta x_1)}$, and that upper bound is tight, since depending on the values of $y$ and $n$ the (unnormalized) posterior can reach that upper bound. But surely $intint_{mathbb R^2}frac1{1+mathrm{exp}(alpha+beta x_1)}dalpha dbeta=infty$, since for any $delta$ it's easy to see that the integrand is greater than $1-delta$ over an infinite region of $mathbb R^2$.
Where have I gone wrong?
probability-distributions improper-integrals bayesian density-function
$endgroup$
This question is based on problem 14 from chapter 3 of Gelman et al.'s Bayesian Data Analysis.
We have four data points $y_i$ with covariates $x_i$, $i=1,cdots,4$. We use the model: $$y_isim mathrm{Bin}(n_i,theta_i),quad mathrm{logit}(theta_i) = alpha + beta x_i.$$ We place an improper uniform prior $(alpha,beta)sim1$. The problem is to show that the resulting posterior distribution of $alpha,beta|y,x,n$ is proper over the range $(alpha,beta)inmathbb R^2$.
What I have tried:
The posterior distribution is (proportional to): $prod_{i=1}^4 left[ left( frac{mathrm{exp}(alpha+beta x_i)}{1+mathrm{exp}(alpha+beta x_i)} right)^{y_i} left( frac1{1+mathrm{exp}(alpha+beta x_i)}right)^{n_i-y_i} right]$. This is less than or equal to $frac1{1+mathrm{exp}(alpha+beta x_1)}$, and that upper bound is tight, since depending on the values of $y$ and $n$ the (unnormalized) posterior can reach that upper bound. But surely $intint_{mathbb R^2}frac1{1+mathrm{exp}(alpha+beta x_1)}dalpha dbeta=infty$, since for any $delta$ it's easy to see that the integrand is greater than $1-delta$ over an infinite region of $mathbb R^2$.
Where have I gone wrong?
probability-distributions improper-integrals bayesian density-function
probability-distributions improper-integrals bayesian density-function
edited Dec 7 '18 at 21:38
Ceph
asked Dec 7 '18 at 21:28
CephCeph
874415
874415
add a comment |
add a comment |
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
});
}
});
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%2f3030384%2fhow-to-show-this-distribution-is-proper%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
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%2f3030384%2fhow-to-show-this-distribution-is-proper%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