Repository navigation
Expand file tree
/
Copy pathAsymLaplace.Rd
More file actions
62 lines (51 loc) · 1.43 KB
/
Copy pathAsymLaplace.Rd
File metadata and controls
62 lines (51 loc) · 1.43 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
59
60
61
62
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distributions.R
\name{AsymLaplace}
\alias{AsymLaplace}
\alias{dasym_laplace}
\alias{pasym_laplace}
\alias{qasym_laplace}
\alias{rasym_laplace}
\title{The Asymmetric Laplace Distribution}
\usage{
dasym_laplace(x, mu = 0, sigma = 1, quantile = 0.5, log = FALSE)
pasym_laplace(
q,
mu = 0,
sigma = 1,
quantile = 0.5,
lower.tail = TRUE,
log.p = FALSE
)
qasym_laplace(
p,
mu = 0,
sigma = 1,
quantile = 0.5,
lower.tail = TRUE,
log.p = FALSE
)
rasym_laplace(n, mu = 0, sigma = 1, quantile = 0.5)
}
\arguments{
\item{x, q}{Vector of quantiles.}
\item{mu}{Vector of locations.}
\item{sigma}{Vector of scales.}
\item{quantile}{Asymmetry parameter corresponding to quantiles
in quantile regression (hence the name).}
\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{n}{Number of draws to sample from the distribution.}
}
\description{
Density, distribution function, quantile function and random generation
for the asymmetric Laplace distribution with location \code{mu},
scale \code{sigma} and asymmetry parameter \code{quantile}.
}
\details{
See \code{vignette("brms_families")} for details
on the parameterization.
}