Repository navigation
Expand file tree
/
Copy pathInvGaussian.Rd
More file actions
58 lines (46 loc) · 1.45 KB
/
Copy pathInvGaussian.Rd
File metadata and controls
58 lines (46 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distributions.R
\name{InvGaussian}
\alias{InvGaussian}
\alias{dinv_gaussian}
\alias{pinv_gaussian}
\alias{qinv_gaussian}
\alias{rinv_gaussian}
\title{The Inverse Gaussian Distribution}
\usage{
dinv_gaussian(x, mu = 1, shape = 1, log = FALSE)
pinv_gaussian(q, mu = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)
qinv_gaussian(
p,
mu = 1,
shape = 1,
lower.tail = TRUE,
log.p = FALSE,
tol = 1e-08
)
rinv_gaussian(n, mu = 1, shape = 1)
}
\arguments{
\item{x, q}{Vector of quantiles.}
\item{mu}{Vector of locations.}
\item{shape}{Vector of shapes.}
\item{log}{Logical; If \code{TRUE}, values are returned on the log scale.}
\item{lower.tail}{Logical; If \code{TRUE} (default), return P(X <= x).
Else, return P(X > x) .}
\item{log.p}{Logical; If \code{TRUE}, values are returned on the log scale.}
\item{p}{Vector of probabilities.}
\item{tol}{Tolerance of the approximation used in the
quantile function. Default 1e-8.}
\item{n}{Number of draws to sample from the distribution.}
}
\description{
Density, distribution function, quantile function and random generation
for the inverse Gaussian distribution with location \code{mu},
and shape \code{shape}.
}
\details{
The quantile function has no known closed form and is therefore computed
numerically via inversion of the cumulative distribution function.
See \code{vignette("brms_families")} for details
on the parameterization.
}