Ask your own question, for FREE!
Mathematics 21 Online
OpenStudy (anonymous):

Hey, im trying to plot a cdf of the triangular distribution and it doesn't look right. I've obtained the pdf: f_Y(y)=(|a|-|y-b|)/a^2, through a transformation of the continuous random variable X, such that Y=aX + b, f_X(x)=1-|x|. After I integrate f_Y(y) I should obtain the cdf of f_Y(y), which is F_Y(y)=(2|a|y-(y-b)|y-b|)/2a^2. I now need to plot this cdf with b=1, a=1 and b=1, a=2. Now i get the following plot http://i.imgur.com/5oB8exo.png which doesn't quite look like the slope you'd expect. Am I doing something wrong ???

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!