Question

The density of random variable X is f(x) = 5(Xº+1)(3-X) for 1<x<3 and 0 otherwise. Using the R integrate function: 68 a) Find

0 0
Add a comment Improve this question Transcribed image text
Answer #1

#Ans a) P(X>2.10)=0.4512593

  b) P(1.5<x<2.5)=0.6240809

c)  expected value of x=2

d) standard deviation of X =0.4936568

#e=R-script

-------------------------------------------------------------------------------------------------

> f=function(x){5*(x^3+1)*(3-x)/68}
> #a=P(X>2.10)
> a=integrate(f,2.10,3);a
0.4512593 with absolute error < 5e-15
> #b=P(1.5<x<2.5)
> b=integrate(f,1.5,2.5);b
0.6240809 with absolute error < 6.9e-15
> #ux=expected value of x
> k=function(x){x*5*(x^3+1)*(3-x)/68}
> integrate(k,1,3)
2 with absolute error < 2.2e-14
> ux=2
> #ux2=expected value of x2
> d=function(x){x^2*5*(x^3+1)*(3-x)/68}
> ux2=integrate(d,1,3);ux2
4.243697 with absolute error < 4.7e-14
> ux2=4.243697
> var=ux2-ux^2;var
[1] 0.243697
> #sd=standard deviation
> sd=sqrt(var);sd
[1] 0.4936568


Add a comment
Know the answer?
Add Answer to:
The density of random variable X is f(x) = 5(Xº+1)(3-X) for 1<x<3 and 0 otherwise. Using the R integrate function...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT