repartition function in Maple
I try to deduce distribution fonction from a parametrized set of points with Maple.
At this stage I have a dataset define through a relationship like y=f(x), and I want to obtain the distribution of y points, given that x in [-A,A]. The theoretic formula is : F[Y](z) = P(y<z).
i.e. F[Y](z) = Int(delta[f(x)< z],x=-A..A);
and I use the piecewise Maple function to implement it ( Int(piecewise(f(x)< z,1,0),x=-A..A) ), but for Maple :
Int(piecewise(f(x)< z,1,0),x=-A..A) = piecewise(Int(f(x)< z, x=-A..A),1,0))
which is totally different !
Does someone knows how to implement this correctly in Maple ?
regards
charles

Loading Comments & Answers