Message-ID: <79F23BA7BB084E4FA01A8B93904CD02CF65FCAC27C@WIGGUMVS.win.ad.jhu.edu>
Date: 2011-04-09T02:46:14Z
From: Ravi Varadhan
Subject: integration
In-Reply-To: <BANLkTikGZ4F0aFx9Y7NqaaHyHuqxE-O4GQ@mail.gmail.com>
?integrate
________________________________________
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On Behalf Of cindy Guo [cindy.guo3 at gmail.com]
Sent: Friday, April 08, 2011 9:21 PM
To: r-help at r-project.org
Subject: [R] integration
Hi, All,
I have a density function with 3 variables which is defined on some
irregular domain, and I want to get the marginal distribution of each
variable. Is there any function doing this?
A simple example is p(x,y,z)=x*y*z*I(xy>z). So each marginal distribution is
a function of the other two variables. My density form is very complicated,
so I cannot do it by hand. I was just wondering if there is any function in
R for this?
Thanks,
Cindy
[[alternative HTML version deleted]]
______________________________________________
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.