[R] from a normal bivariate distribution to the marginal one

Giovanni Petris GPetris at uark.edu
Wed Jan 23 20:08:53 CET 2008


Somebody has already replied in probably more constructive
terms. However, I would like to add a comment. 

> Now, I would like to find the marginal distribution of y from the 
> bivariate distribution.

The distribution of y is a theoretical property that cannot be _found_
from a data set. You can use a set of data to _estimate_ a
distribution (this is what density() does), but if you want to _find_
the distribution of y then you have to take paper and pencil and work
it out. R can do it for you numerically (using integrate()) but,
again, in this case you don't need any data.

Best,
Giovanni

-- 

Giovanni Petris  <GPetris at uark.edu>
Department of Mathematical Sciences
University of Arkansas - Fayetteville, AR 72701
Ph: (479) 575-6324, 575-8630 (fax)
http://definetti.uark.edu/~gpetris/



More information about the R-help mailing list