Question

-1000 く- <- xexR(n, rate-l) R(n, rate-2) ggplot ( x, y, ahline (a-0, pch= 19, sęx-0.5) b-l, col-red) # EXERCISE 4: # fix the red line (abline) above so that it fits (include an explanation/justification). HINT: go back to the lecture notes for ecdf and facts about the exponential random variable ANSWER USING R.

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

File History Resize Windows R R Console > n=1000 > x= r exp (n, rate-1) > y=rexp (n, rate-2 ) > qqplot (x, y, pch=19, cex=0. 5) > abline (a-0, b-1, col-red)

Enter the given code in R console and run it.

we get the below diagram

8 6 2 0

from this qq plot we conclude that x and y does not have common distribution

Add a comment
Know the answer?
Add Answer to:
-1000 く- <- xexR(n, rate-l) R(n, rate-2) ggplot ( x, y, ahline (a-0, pch= 19, sęx-0.5)...
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