-
Notifications
You must be signed in to change notification settings - Fork 1
Truncation
MthwRobinson edited this page Dec 21, 2014
·
1 revision
Truncate reduces the support of a random variable, and the renormalizes it to make it a valid PDF. The result is a distribution with the same shape as the parent distribution between the two given end points.
Truncate(X,[lower,upper])In [10]: X=BetaRV(2,2)
In [11]: Y=Truncate(X,[Rational(1,4),Rational(3,4)])
In [12]: Y.display()
continuous pdf
for 1/4 <= x <= 3/4
---------------------------
96⋅x⋅(-x + 1)
─────────────
11
---------------------------