Conditional expectation of Binomial variable The Next CEO of Stack OverflowConditional...

What is the difference between "hamstring tendon" and "common hamstring tendon"?

What is the process for purifying your home if you believe it may have been previously used for pagan worship?

What steps are necessary to read a Modern SSD in Medieval Europe?

Why is information "lost" when it got into a black hole?

Can you teleport closer to a creature you are Frightened of?

Man transported from Alternate World into ours by a Neutrino Detector

how one can write a nice vector parser, something that does pgfvecparse{A=B-C; D=E x F;}

Audio Conversion With ADS1243

Yu-Gi-Oh cards in Python 3

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Is Nisuin Biblical or Rabbinic?

"Eavesdropping" vs "Listen in on"

Aggressive Under-Indexing and no data for missing index

Where do students learn to solve polynomial equations these days?

IC has pull-down resistors on SMBus lines?

TikZ: How to fill area with a special pattern?

Help! I cannot understand this game’s notations!

What flight has the highest ratio of timezone difference to flight time?

Purpose of level-shifter with same in and out voltages

Is fine stranded wire ok for main supply line?

How do you define an element with an ID attribute using LWC?

Inductor and Capacitor in Parallel

Does the Idaho Potato Commission associate potato skins with healthy eating?

From jafe to El-Guest



Conditional expectation of Binomial variable



The Next CEO of Stack OverflowConditional expectation equals random variable almost sureCalculate the conditional expectation for a uniformly distributed variableConditional expectation of product of independent RVsGeometric distribution and expectation of polynomials of random variableProbability of Mixture of Normal Random VariablesDistribution of Conditional Bernoulli Random VariableCDF of a mixed stochastic variableCalculation with conditional expectation.A question about conditional expectation problem from DurrettSymmetricity of binomial distribution












0












$begingroup$


Let $ X sim U(70,100) $ be a discrete distribution such that $ P{X=i} = frac{1}{31} $ and $ Y sim B(i,0.75) $



What is the $ E[Y] $ ?



I don't understand the solution which is



$ E[Y] = E[E[Y|X]] = E[0.75X] = 0.75E[X] = 0.75 cdot frac{100+70}{2} = 63.75$



I don't understand how to get to this answer. I try:



$$ E[Y] = E[E[Y|X]] = sum_x E[Y| X=x] cdot P{X=x} = sum_x y cdot P{Y=y, X=x} =\ sum_x y cdot P{Y=y}cdot P{X=x} = y cdot P{Y=y} cdot sum_x P{X=x} = y cdot P{Y=y} $$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Your first line makes no sense. Did you mean to say "A random pair $(X, Y)$ is distributed in such a way that $X sim mathrm{Unif}(70, 100)$ and given $X = i,$ $Y sim mathrm{Bin}(i, 3/5)$"?
    $endgroup$
    – Will M.
    Mar 17 at 18:15








  • 1




    $begingroup$
    Anyway, remember that the expectation of binomial $(n, p)$ is $np,$ thus, the expectation of $Y$ given $X$ is $3/4X.$
    $endgroup$
    – Will M.
    Mar 17 at 18:18










  • $begingroup$
    Yes, correct that is what I meant. Thanks. Could you also explain to me why $ E[XY|X] = XE[Y|X] $ ? I'm trying to find $ E[XY] $. I'm talking about those two $ X, Y $ mentioned above.
    $endgroup$
    – bm1125
    Mar 17 at 18:26












  • $begingroup$
    I am not sure if you know measure theory or not, but intuitively, given $X,$ we know handle it as a deterministic quantity, hence $XY$ given $X$ is like $cY$ and so $E(cY) = cE(Y).$
    $endgroup$
    – Will M.
    Mar 17 at 18:44










  • $begingroup$
    Oh that’s because $ X is like a parameter ?
    $endgroup$
    – bm1125
    Mar 17 at 18:56
















0












$begingroup$


Let $ X sim U(70,100) $ be a discrete distribution such that $ P{X=i} = frac{1}{31} $ and $ Y sim B(i,0.75) $



What is the $ E[Y] $ ?



I don't understand the solution which is



$ E[Y] = E[E[Y|X]] = E[0.75X] = 0.75E[X] = 0.75 cdot frac{100+70}{2} = 63.75$



I don't understand how to get to this answer. I try:



$$ E[Y] = E[E[Y|X]] = sum_x E[Y| X=x] cdot P{X=x} = sum_x y cdot P{Y=y, X=x} =\ sum_x y cdot P{Y=y}cdot P{X=x} = y cdot P{Y=y} cdot sum_x P{X=x} = y cdot P{Y=y} $$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Your first line makes no sense. Did you mean to say "A random pair $(X, Y)$ is distributed in such a way that $X sim mathrm{Unif}(70, 100)$ and given $X = i,$ $Y sim mathrm{Bin}(i, 3/5)$"?
    $endgroup$
    – Will M.
    Mar 17 at 18:15








  • 1




    $begingroup$
    Anyway, remember that the expectation of binomial $(n, p)$ is $np,$ thus, the expectation of $Y$ given $X$ is $3/4X.$
    $endgroup$
    – Will M.
    Mar 17 at 18:18










  • $begingroup$
    Yes, correct that is what I meant. Thanks. Could you also explain to me why $ E[XY|X] = XE[Y|X] $ ? I'm trying to find $ E[XY] $. I'm talking about those two $ X, Y $ mentioned above.
    $endgroup$
    – bm1125
    Mar 17 at 18:26












  • $begingroup$
    I am not sure if you know measure theory or not, but intuitively, given $X,$ we know handle it as a deterministic quantity, hence $XY$ given $X$ is like $cY$ and so $E(cY) = cE(Y).$
    $endgroup$
    – Will M.
    Mar 17 at 18:44










  • $begingroup$
    Oh that’s because $ X is like a parameter ?
    $endgroup$
    – bm1125
    Mar 17 at 18:56














0












0








0





$begingroup$


Let $ X sim U(70,100) $ be a discrete distribution such that $ P{X=i} = frac{1}{31} $ and $ Y sim B(i,0.75) $



What is the $ E[Y] $ ?



I don't understand the solution which is



$ E[Y] = E[E[Y|X]] = E[0.75X] = 0.75E[X] = 0.75 cdot frac{100+70}{2} = 63.75$



I don't understand how to get to this answer. I try:



$$ E[Y] = E[E[Y|X]] = sum_x E[Y| X=x] cdot P{X=x} = sum_x y cdot P{Y=y, X=x} =\ sum_x y cdot P{Y=y}cdot P{X=x} = y cdot P{Y=y} cdot sum_x P{X=x} = y cdot P{Y=y} $$










share|cite|improve this question











$endgroup$




Let $ X sim U(70,100) $ be a discrete distribution such that $ P{X=i} = frac{1}{31} $ and $ Y sim B(i,0.75) $



What is the $ E[Y] $ ?



I don't understand the solution which is



$ E[Y] = E[E[Y|X]] = E[0.75X] = 0.75E[X] = 0.75 cdot frac{100+70}{2} = 63.75$



I don't understand how to get to this answer. I try:



$$ E[Y] = E[E[Y|X]] = sum_x E[Y| X=x] cdot P{X=x} = sum_x y cdot P{Y=y, X=x} =\ sum_x y cdot P{Y=y}cdot P{X=x} = y cdot P{Y=y} cdot sum_x P{X=x} = y cdot P{Y=y} $$







probability-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 17 at 17:53







bm1125

















asked Mar 17 at 17:21









bm1125bm1125

67816




67816








  • 1




    $begingroup$
    Your first line makes no sense. Did you mean to say "A random pair $(X, Y)$ is distributed in such a way that $X sim mathrm{Unif}(70, 100)$ and given $X = i,$ $Y sim mathrm{Bin}(i, 3/5)$"?
    $endgroup$
    – Will M.
    Mar 17 at 18:15








  • 1




    $begingroup$
    Anyway, remember that the expectation of binomial $(n, p)$ is $np,$ thus, the expectation of $Y$ given $X$ is $3/4X.$
    $endgroup$
    – Will M.
    Mar 17 at 18:18










  • $begingroup$
    Yes, correct that is what I meant. Thanks. Could you also explain to me why $ E[XY|X] = XE[Y|X] $ ? I'm trying to find $ E[XY] $. I'm talking about those two $ X, Y $ mentioned above.
    $endgroup$
    – bm1125
    Mar 17 at 18:26












  • $begingroup$
    I am not sure if you know measure theory or not, but intuitively, given $X,$ we know handle it as a deterministic quantity, hence $XY$ given $X$ is like $cY$ and so $E(cY) = cE(Y).$
    $endgroup$
    – Will M.
    Mar 17 at 18:44










  • $begingroup$
    Oh that’s because $ X is like a parameter ?
    $endgroup$
    – bm1125
    Mar 17 at 18:56














  • 1




    $begingroup$
    Your first line makes no sense. Did you mean to say "A random pair $(X, Y)$ is distributed in such a way that $X sim mathrm{Unif}(70, 100)$ and given $X = i,$ $Y sim mathrm{Bin}(i, 3/5)$"?
    $endgroup$
    – Will M.
    Mar 17 at 18:15








  • 1




    $begingroup$
    Anyway, remember that the expectation of binomial $(n, p)$ is $np,$ thus, the expectation of $Y$ given $X$ is $3/4X.$
    $endgroup$
    – Will M.
    Mar 17 at 18:18










  • $begingroup$
    Yes, correct that is what I meant. Thanks. Could you also explain to me why $ E[XY|X] = XE[Y|X] $ ? I'm trying to find $ E[XY] $. I'm talking about those two $ X, Y $ mentioned above.
    $endgroup$
    – bm1125
    Mar 17 at 18:26












  • $begingroup$
    I am not sure if you know measure theory or not, but intuitively, given $X,$ we know handle it as a deterministic quantity, hence $XY$ given $X$ is like $cY$ and so $E(cY) = cE(Y).$
    $endgroup$
    – Will M.
    Mar 17 at 18:44










  • $begingroup$
    Oh that’s because $ X is like a parameter ?
    $endgroup$
    – bm1125
    Mar 17 at 18:56








1




1




$begingroup$
Your first line makes no sense. Did you mean to say "A random pair $(X, Y)$ is distributed in such a way that $X sim mathrm{Unif}(70, 100)$ and given $X = i,$ $Y sim mathrm{Bin}(i, 3/5)$"?
$endgroup$
– Will M.
Mar 17 at 18:15






$begingroup$
Your first line makes no sense. Did you mean to say "A random pair $(X, Y)$ is distributed in such a way that $X sim mathrm{Unif}(70, 100)$ and given $X = i,$ $Y sim mathrm{Bin}(i, 3/5)$"?
$endgroup$
– Will M.
Mar 17 at 18:15






1




1




$begingroup$
Anyway, remember that the expectation of binomial $(n, p)$ is $np,$ thus, the expectation of $Y$ given $X$ is $3/4X.$
$endgroup$
– Will M.
Mar 17 at 18:18




$begingroup$
Anyway, remember that the expectation of binomial $(n, p)$ is $np,$ thus, the expectation of $Y$ given $X$ is $3/4X.$
$endgroup$
– Will M.
Mar 17 at 18:18












$begingroup$
Yes, correct that is what I meant. Thanks. Could you also explain to me why $ E[XY|X] = XE[Y|X] $ ? I'm trying to find $ E[XY] $. I'm talking about those two $ X, Y $ mentioned above.
$endgroup$
– bm1125
Mar 17 at 18:26






$begingroup$
Yes, correct that is what I meant. Thanks. Could you also explain to me why $ E[XY|X] = XE[Y|X] $ ? I'm trying to find $ E[XY] $. I'm talking about those two $ X, Y $ mentioned above.
$endgroup$
– bm1125
Mar 17 at 18:26














$begingroup$
I am not sure if you know measure theory or not, but intuitively, given $X,$ we know handle it as a deterministic quantity, hence $XY$ given $X$ is like $cY$ and so $E(cY) = cE(Y).$
$endgroup$
– Will M.
Mar 17 at 18:44




$begingroup$
I am not sure if you know measure theory or not, but intuitively, given $X,$ we know handle it as a deterministic quantity, hence $XY$ given $X$ is like $cY$ and so $E(cY) = cE(Y).$
$endgroup$
– Will M.
Mar 17 at 18:44












$begingroup$
Oh that’s because $ X is like a parameter ?
$endgroup$
– bm1125
Mar 17 at 18:56




$begingroup$
Oh that’s because $ X is like a parameter ?
$endgroup$
– bm1125
Mar 17 at 18:56










1 Answer
1






active

oldest

votes


















1












$begingroup$

Your answer started true but continued wrong! Hence your answer, we can write:$$E[Y] {= E[E[Y|X]] \= sum_x E[Y| X=x] cdot P{X=x}\=sum_x E[Y| X=x] cdot {1over 31}\=sum_{x=70}^{100} 0.75cdot x cdot {1over 31}\={3over 124}sum_{x=70}^{100}x\.\.\.\=63.75}$$






share|cite|improve this answer









$endgroup$














    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3151797%2fconditional-expectation-of-binomial-variable%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









    1












    $begingroup$

    Your answer started true but continued wrong! Hence your answer, we can write:$$E[Y] {= E[E[Y|X]] \= sum_x E[Y| X=x] cdot P{X=x}\=sum_x E[Y| X=x] cdot {1over 31}\=sum_{x=70}^{100} 0.75cdot x cdot {1over 31}\={3over 124}sum_{x=70}^{100}x\.\.\.\=63.75}$$






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      Your answer started true but continued wrong! Hence your answer, we can write:$$E[Y] {= E[E[Y|X]] \= sum_x E[Y| X=x] cdot P{X=x}\=sum_x E[Y| X=x] cdot {1over 31}\=sum_{x=70}^{100} 0.75cdot x cdot {1over 31}\={3over 124}sum_{x=70}^{100}x\.\.\.\=63.75}$$






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        Your answer started true but continued wrong! Hence your answer, we can write:$$E[Y] {= E[E[Y|X]] \= sum_x E[Y| X=x] cdot P{X=x}\=sum_x E[Y| X=x] cdot {1over 31}\=sum_{x=70}^{100} 0.75cdot x cdot {1over 31}\={3over 124}sum_{x=70}^{100}x\.\.\.\=63.75}$$






        share|cite|improve this answer









        $endgroup$



        Your answer started true but continued wrong! Hence your answer, we can write:$$E[Y] {= E[E[Y|X]] \= sum_x E[Y| X=x] cdot P{X=x}\=sum_x E[Y| X=x] cdot {1over 31}\=sum_{x=70}^{100} 0.75cdot x cdot {1over 31}\={3over 124}sum_{x=70}^{100}x\.\.\.\=63.75}$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 17 at 20:55









        Mostafa AyazMostafa Ayaz

        18.3k31040




        18.3k31040






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3151797%2fconditional-expectation-of-binomial-variable%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            Nidaros erkebispedøme

            Birsay

            Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...