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

From: Giovanni Petris <GPetris_at_uark.edu>
Date: Wed, 23 Jan 2008 13:08:53 -0600 (CST)

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/

______________________________________________
R-help_at_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.
Received on Wed 23 Jan 2008 - 19:14:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jan 2008 - 19:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive