Open rtrangucci opened 6 years ago
My guess is the Pan paper is the best approach for the _lcdf
but we would have to have a heuristic for how many terms of the infinite sum to compute based on Phi(a)
, Phi(b)
, asin(rho)
, etc.
Yeah, that sounds good to me. Here's a reference for the gradient of the CDF: https://blogs.sas.com/content/iml/2013/09/20/gradient-of-the-bivariate-normal-cumulative-distribution.html
FYI, I'm waiting on #978 to work on the nonstandardized distributions.
Description
Add the bivariate normal distribution with scalar inputs. Specifically, add:
Reference: #2356
Example
Bivariate probit model
Additional Information
binormal_cdf and binormal_lcdf can implement the following algorithms:
Current Math Version
v2.18.0