Why no variance term in Bayesian logistic regression?Bayesian logit model - intuitive explanation?Are logistic regression coefficient estimates biased when the predictor has large variance?logistic regression with slackClosed form for the variance of a sum of two estimates in logistic regression?Evaluate posterior predictive distribution in Bayesian linear regressionClassical vs Bayesian logistic regression assumptionsCase Control Sampling in Logistic RegressionFit logistic regression with linear constraints on coefficients in RIs Bayesian Ridge Regression another name of Bayesian Linear Regression?Bayesian Inference for More Than Linear RegressionEconometrics: What are the assumptions of logistic regression for causal inference?
How does strength of boric acid solution increase in presence of salicylic acid?
How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?
Python: next in for loop
What does it mean to describe someone as a butt steak?
The use of multiple foreign keys on same column in SQL Server
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
Do I have a twin with permutated remainders?
Can divisibility rules for digits be generalized to sum of digits
Has the BBC provided arguments for saying Brexit being cancelled is unlikely?
Why does Kotter return in Welcome Back Kotter?
Why was the small council so happy for Tyrion to become the Master of Coin?
How much RAM could one put in a typical 80386 setup?
What does CI-V stand for?
Is it important to consider tone, melody, and musical form while writing a song?
Why dont electromagnetic waves interact with each other?
Fencing style for blades that can attack from a distance
How to say job offer in Mandarin/Cantonese?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
What is the offset in a seaplane's hull?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Which models of the Boeing 737 are still in production?
What typically incentivizes a professor to change jobs to a lower ranking university?
Is it possible to do 50 km distance without any previous training?
How does one intimidate enemies without having the capacity for violence?
Why no variance term in Bayesian logistic regression?
Bayesian logit model - intuitive explanation?Are logistic regression coefficient estimates biased when the predictor has large variance?logistic regression with slackClosed form for the variance of a sum of two estimates in logistic regression?Evaluate posterior predictive distribution in Bayesian linear regressionClassical vs Bayesian logistic regression assumptionsCase Control Sampling in Logistic RegressionFit logistic regression with linear constraints on coefficients in RIs Bayesian Ridge Regression another name of Bayesian Linear Regression?Bayesian Inference for More Than Linear RegressionEconometrics: What are the assumptions of logistic regression for causal inference?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
I've read here that
... (Bayesian linear regression) is most similar to Bayesian inference
in logistic regression, but in some ways logistic regression is even
simpler, because there is no variance term to estimate, only the
regression parameters.
Why is it the case, why no variance term in Bayesian logistic regression?
logistic bayesian generalized-linear-model variance bernoulli-distribution
$endgroup$
add a comment |
$begingroup$
I've read here that
... (Bayesian linear regression) is most similar to Bayesian inference
in logistic regression, but in some ways logistic regression is even
simpler, because there is no variance term to estimate, only the
regression parameters.
Why is it the case, why no variance term in Bayesian logistic regression?
logistic bayesian generalized-linear-model variance bernoulli-distribution
$endgroup$
add a comment |
$begingroup$
I've read here that
... (Bayesian linear regression) is most similar to Bayesian inference
in logistic regression, but in some ways logistic regression is even
simpler, because there is no variance term to estimate, only the
regression parameters.
Why is it the case, why no variance term in Bayesian logistic regression?
logistic bayesian generalized-linear-model variance bernoulli-distribution
$endgroup$
I've read here that
... (Bayesian linear regression) is most similar to Bayesian inference
in logistic regression, but in some ways logistic regression is even
simpler, because there is no variance term to estimate, only the
regression parameters.
Why is it the case, why no variance term in Bayesian logistic regression?
logistic bayesian generalized-linear-model variance bernoulli-distribution
logistic bayesian generalized-linear-model variance bernoulli-distribution
edited 2 days ago
Krantz
35211
35211
asked Apr 3 at 20:32
PatrickPatrick
1546
1546
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Logistic regression, Bayesian or not, is a model defined in terms of Bernoulli distribution. The distribution is parametrized by "probability of success" $p$ with mean $p$ and variance $p(1-p)$, i.e. the variance directly follows from the mean. So there is no "separate" variance term, this is what the quote seems to say.
$endgroup$
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
1
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
1
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
|
show 2 more comments
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: "65"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
,
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%2fstats.stackexchange.com%2fquestions%2f401045%2fwhy-no-variance-term-in-bayesian-logistic-regression%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$
Logistic regression, Bayesian or not, is a model defined in terms of Bernoulli distribution. The distribution is parametrized by "probability of success" $p$ with mean $p$ and variance $p(1-p)$, i.e. the variance directly follows from the mean. So there is no "separate" variance term, this is what the quote seems to say.
$endgroup$
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
1
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
1
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
|
show 2 more comments
$begingroup$
Logistic regression, Bayesian or not, is a model defined in terms of Bernoulli distribution. The distribution is parametrized by "probability of success" $p$ with mean $p$ and variance $p(1-p)$, i.e. the variance directly follows from the mean. So there is no "separate" variance term, this is what the quote seems to say.
$endgroup$
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
1
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
1
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
|
show 2 more comments
$begingroup$
Logistic regression, Bayesian or not, is a model defined in terms of Bernoulli distribution. The distribution is parametrized by "probability of success" $p$ with mean $p$ and variance $p(1-p)$, i.e. the variance directly follows from the mean. So there is no "separate" variance term, this is what the quote seems to say.
$endgroup$
Logistic regression, Bayesian or not, is a model defined in terms of Bernoulli distribution. The distribution is parametrized by "probability of success" $p$ with mean $p$ and variance $p(1-p)$, i.e. the variance directly follows from the mean. So there is no "separate" variance term, this is what the quote seems to say.
answered Apr 3 at 20:46
Tim♦Tim
59.8k9132225
59.8k9132225
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
1
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
1
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
|
show 2 more comments
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
1
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
1
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@patrick for linear regression $y = mx + c + epsilon$, whereas logistic regression p(y=1|x) = logistic(mx +c).
$endgroup$
– seanv507
Apr 3 at 21:02
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
$begingroup$
@seanv507 and would it make sense to have $p(y=1|x)=logistic(mx+c+epsilon)$ or not? If not, is it because $p()$ is a probability and already includes some uncertainty?
$endgroup$
– Patrick
Apr 3 at 21:37
1
1
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick what would this formulation exactly mean? Could you give an example where would you imagine it to be used?
$endgroup$
– Tim♦
Apr 3 at 21:39
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
$begingroup$
@Patrick When you describe the conditional expectation in terms of a distribution there's no error term.
$endgroup$
– Firebug
Apr 3 at 22:12
1
1
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
$begingroup$
@Patrick linear regression is $Y sim mathcalN(Xbeta, sigma)$ while logistic regression is $Y sim mathcalB(h^-1(Xbeta))$. Error term is alternative way of writing linear regression, but in both cases you estimate mean of some distribution. So error term inside logistic regression would mean that you assume $h(p)$ to be normally distributed. This does not have to be nonsense, but I doubt that this is what you meant.
$endgroup$
– Tim♦
2 days ago
|
show 2 more comments
Thanks for contributing an answer to Cross Validated!
- 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%2fstats.stackexchange.com%2fquestions%2f401045%2fwhy-no-variance-term-in-bayesian-logistic-regression%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