% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distributions.R
\name{fgm_biv}
\alias{fgm_biv}
\alias{pfgm_biv}
\alias{dfgm_biv}
\alias{sfgm_biv}
\alias{rfgm_biv}
\title{Farlie-Gumbel-Morgenstern (FGM) Bivariate Distribution}
\usage{
pfgm_biv(x1, x2, theta = 0)

dfgm_biv(x1, x2, theta = 0)

sfgm_biv(x1, x2, theta = 0)

rfgm_biv(n, theta = 0)
}
\arguments{
\item{x1, x2}{Values in \eqn{[0,1]}.}

\item{theta}{Association parameter, \eqn{|\theta| \le 1}.}

\item{n}{Number of random observations.}
}
\value{
Numeric vector (scalar functions) or two-column matrix
  (\code{rfgm_biv}).
}
\description{
Density, distribution function, survival function, and random generation for
the FGM bivariate distribution on \eqn{[0,1]^2}:
\deqn{F(x_1, x_2) = x_1 x_2 \bigl[1 + \theta(1-x_1)(1-x_2)\bigr],
  \quad 0 \le x_1, x_2 \le 1,\; |\theta| \le 1.}
}
\examples{
pfgm_biv(0.4, 0.6, theta = 0.5)
dfgm_biv(0.4, 0.6, theta = 0.5)
set.seed(1); head(rfgm_biv(50, theta = 0.5))

}
\references{
Jayalekshmi S., Rajesh G. Bivariate Laplace transform order and ordering of
reversed residual lives. *International Journal of Reliability, Quality and
Safety Engineering*.
}
