Kevin and Expected Value

Sort by

recency

|

4 Discussions

|

  • + 0 comments

    the major mistake I made was to not consider the special case of E[Y} when x=0 after obtaining a general equation relating E[Y] to E[X] for x in [1,N-1].

  • + 0 comments

    hint 1: Y can be written as y = f(x)

    hint 2: X can be thought of as unif random var on [0,N-1]

    hint 3: E(Y) = Sum(f(x) P(X = x))

    hint 4: sum can be appropriately approximated by integrals which will have closed form antiderivative

  • + 2 comments

    This yields,

    Now is drawn from and . However, the modulo function return integers in .

    So, is drawn uniformly from . Therefore, is drawn from . Now I am lost. What is the expectation of the square root of a rv?

  • + 2 comments

    Could you please provide explanation for solutions to the first few test cases?

No more comments