Dear All I would like to know whether it is possible with R to get the mathematical expression of the density of a sum of two independent continuous random variables. Thanks in advance, Paul
Paul Smith wrote:> Dear All > > I would like to know whether it is possible with R to get the > mathematical expression of the density of a sum of two independent > continuous random variables.No, that corresponds to a convolution of the two densities, and R can't do any symbolic integration. You could get numerical approximations to the density at any point using integrate() (or sum(), if a discrete distribution is involved). Duncan Murdoch