How To Calculate Approximate Expectation Of Function Of A Binomial Random Variable?

For a bivariate data sample, is calculating the conditional expectation of variable Y given X directly from the samples (i.e. without any regression function), a principled way to show the qualitative relationship between the two?

  • Suppose I have N samples of data consisting of tuples (X,Y) where X and Y are discrete quantities. Is plotting the conditional expectation E(Y|X) calculated directly from the data (i.e. without any regression fit) a principled way to show the relationship between X and Y? By relationship I don't mean a precise functional relationship, but rather a qualitative description, for example, "Y increases with X upto some value and then decreases", and so on.  If so, how do I calculate the error in these conditional expectation values, considering the number of data points may not be the same for all X?

  • Answer:

    You have posed the question so that it essentially contradicts itself. First, you say you want a qualitiatitve description of the relationship between the two variables. Fine.  You also want to look at the relationship without any formal regression. Also fine; a good thing to do. You can plot the scatterplot and add a loess line. But you then say you want a description such as "Y increases with X upto some value and then decreases", I have absolutely nor problem with that. But... if you want a precise, quantified error, you need a precise, quantified statement.

Peter Flom at Quora Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.