On 30 Jun 2000, Gautam Sethi wrote:
> i wrote a little code in matlab that figures out the density of z = x*y
> where x and y are both uniformly distributed. in the code i wrote, x
> and y are distributed over the same range and my results show a funky
> looking triangular distribution with the mode/mean/median in the middle.
> Is this correct?
"Funky looking" ? Hmm. You seem to be describing a symmetric unimodal
distribution; if indeed you were computing z = x times y for uniform
x and y with identical ranges, I do not see how you could obtain
symmetry in the result unless x (and y) were uniform (-a,+a).
If x and y were everywhere positive, the distribution of z would be
positively skewed, I believe.
-- Don.
------------------------------------------------------------------------
Donald F. Burrill [EMAIL PROTECTED]
348 Hyde Hall, Plymouth State College, [EMAIL PROTECTED]
MSC #29, Plymouth, NH 03264 603-535-2597
184 Nashua Road, Bedford, NH 03110 603-471-7128
===========================================================================
This list is open to everyone. Occasionally, less thoughtful
people send inappropriate messages. Please DO NOT COMPLAIN TO
THE POSTMASTER about these messages because the postmaster has no
way of controlling them, and excessive complaints will result in
termination of the list.
For information about this list, including information about the
problem of inappropriate messages and information about how to
unsubscribe, please see the web page at
http://jse.stat.ncsu.edu/
===========================================================================