Re: [R] Bivariate ReLU Distribution

2020-07-10 Thread Abby Spurdle
Last line should use outside = c (0, 1). But not that important. On Sat, Jul 11, 2020 at 1:31 PM Abby Spurdle wrote: > > NOTE: LIMITED TESTING > (You may want to check this carefully, if you're interested in using it). > > library (kubik) > library (mvtnorm) > > sim.cdf <- function (mx, my, sdx,

Re: [R] Bivariate ReLU Distribution

2020-07-10 Thread Abby Spurdle
NOTE: LIMITED TESTING (You may want to check this carefully, if you're interested in using it). library (kubik) library (mvtnorm) sim.cdf <- function (mx, my, sdx, sdy, cor, ..., n=2e5) sim.cdf.2 (mx, my, sdx^2, sdy^2, sdx * sdy * cor, n=n) sim.cdf.2 <- function (mx, my, vx, vy, cov, ..., n=

[R] Bivariate ReLU Distribution

2020-07-10 Thread Arun Kumar Saha via R-help
Hi, I would rather have a Statistics related question hope experts here can provide some suggestions. I have posted this request in some other forum but failed to generate meaningful response I am looking for some technical document on deriving the Distribution function for sum of 2 ReLU(𝑋)=max{