[Ns-bugs] [Bug 181] Normal Variable Infinite Value & Bounds

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri Jun 6 11:36:08 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=181





------- Comment #5 from raj.b at gatech.edu  2008-06-06 14:36 -------
Created an attachment (id=157)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=157&action=view)
test case for above patch

This is a test case which generates both unbounded and bounded versions of a
Normal(10,2).  Histogram plots verify that it works at bounding the
distribution symmetrically about the mean.  The tail of the bounded
distribution is skewed however:
http://www.prism.gatech.edu/~gtg037s/files/normal-variable.eps

This is due to the way the code is forcing values outside of the range to be on
the range boundary.  Ideally, the code would drop values outside of the range
and "try again" so that the boundary didn't have this behavrior.

Honestly though, this API was never intended to do this.  I conceived that the
bound would be set somewhere like 5 standard deviations away, so that this tail
effect is minimized.  What do people think?


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list