Results 1 to 3 of 3

Thread: Easy if you know how...

  1. #1

    Thread Starter
    Hyperactive Member DavidHooper's Avatar
    Join Date
    Apr 2001
    Posts
    357

    Easy if you know how...

    Choose any number between -1 and 1, with every number being equally likely.

    Square this number.

    What is the mean of this value?
    How does everyone else work this kind of thing out - I would use a uniform distribution to calculate E(X^2).
    There are 10 types of people in the world - those that understand binary, and those that don't.

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151

    A plausible answer.

    Without doing a bit of research, I do not know what a uniform distribution is. Hence, I would not know how to apply it.

    One plausible approach is to integrate x^2 from minus one to plus one and divide by the length of the interval. The integeral is x^3/3. The definite integral is 1/3 - (-1/3), which is 2/3. Dividing by two gives 1/3.

    A reasonable answer is therefore 1/3, which may or may not be the only or the best answer. It is the best answer I can think of without doing some research.

    If you consider the graph of x^2, the area between the curve and the X-Axis is equivalent to the area of a rectangle 2 units long and 1/3 unit high. In some sense, 1/3 is the average height of the figure.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  3. #3

    Thread Starter
    Hyperactive Member DavidHooper's Avatar
    Join Date
    Apr 2001
    Posts
    357

    Well...

    1/3 is correct - I wish i had your intuition!

    The uniform distribution is just what it sounds like - every number has an equal probability of being chosen. The area under the graph must equal 1 as probs sum to 1. So the height is 1/2.

    To find the mean (which is called E(X) by statisticians), then:

    E(x)=Integral[x/2]
    E(x^2)=Integral[X^2/2)
    E(X^0.5)=Integral[X^0.5/2)

    and the limits are 1 and -1.
    There are 10 types of people in the world - those that understand binary, and those that don't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width