I want to plot a histogram of X~Exp(1) where X is the sum of Y + Z. To do
this, should I simulate values of Y and Z using Y<-runif(100) and
Z<-runif(100)? And where do I go from there?

Many thanks.
-- 
View this message in context: 
http://www.nabble.com/Help-plotting-a-histogram-of-X%7EExp%281%29-tp22645091p22645091.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to