Expected value from triangle distribution

spot

New member
Joined
Jan 2, 2019
Messages
8
Hi, I had this triangle distribution and I wanted to check if my answer was correct for the expected valueEAiISfL.jpg

For the y intercept, I got 2/15 and the equation for p(x) was therefore -1/450 x + 1/15
After integrating x p(x), I got 10 as the expected value. Could someone please check if this is correct?
Thanks
 

Attachments

tkhunny

Moderator
Staff member
Joined
Apr 12, 2005
Messages
9,819
Hi, I had this triangle distribution and I wanted to check if my answer was correct for the expected valueView attachment 10765

For the y intercept, I got 2/15 and the equation for p(x) was therefore -1/450 x + 1/15
After integrating x p(x), I got 10 as the expected value. Could someone please check if this is correct?
Thanks
Except for the "I got 2/15", it is fine. Why do you doubt? Does that seem reasonable?

One for free. Next time, actually show your work.
 

spot

New member
Joined
Jan 2, 2019
Messages
8
Thanks for the reply
Actually, I just realised I miscopied the intercept. What I meant to write was 2/30 (which is 1/15). The way I calculated this was due to the whole area being equal to 1, so (1/30)*2 gives you the height of the triangle.
I guess my doubt comes from being unable to check whether my answer is correct
 

tkhunny

Moderator
Staff member
Joined
Apr 12, 2005
Messages
9,819
Thanks for the reply
Actually, I just realised I miscopied the intercept. What I meant to write was 2/30 (which is 1/15). The way I calculated this was due to the whole area being equal to 1, so (1/30)*2 gives you the height of the triangle.
I guess my doubt comes from being unable to check whether my answer is correct
Gaining confidence is part of what you should be doing. Good work.

I was going to ask how you computed the intercept. If you said you found the integral over that region, I was going to scowl and shake my head in your general direction. Good work seeing it was just a triangle. ½ * 30 * Height = 1 ==> Height = 1/15 :)
 

JeffM

Elite Member
Joined
Sep 14, 2012
Messages
3,258
Thanks for the reply
Actually, I just realised I miscopied the intercept. What I meant to write was 2/30 (which is 1/15). The way I calculated this was due to the whole area being equal to 1, so (1/30)*2 gives you the height of the triangle.
Well done.
 

spot

New member
Joined
Jan 2, 2019
Messages
8
I actually did it by integration first, then I was looking around here (to see someone else also getting scowled at in another thread!) and I figured I could've done it without, so that's what I did :D
 

tkhunny

Moderator
Staff member
Joined
Apr 12, 2005
Messages
9,819
I actually did it by integration first, then I was looking around here (to see someone else also getting scowled at in another thread!) and I figured I could've done it without, so that's what I did :D

haha This is how we learn.
 
Top