fsld | R Documentation |
Defines quantile function (ICDF), probability density and quantile density function as well as probability function (CDF) for generalized flattened logistic distribution
qfsld(p, bt, k, dlt = 0.5, a = 0)
ffsld(p, bt, k, dlt = 0.5, a = 0)
dqfsld(p, bt, k, dlt = 0.5, a = 0, log = FALSE)
rfsld(n, bt, k, dlt = 0.5, a = 0)
pfsld(q, ..., lower = 0, upper = 1, tol = 1e-06, silent = TRUE, trace = 0)
p |
vector of probabilities |
bt |
parameter beta of GFLD distribution (scale). Should be non-negative. |
k |
parameter k of GFLD distribution (shape). Should be non-negative. |
dlt |
parameter delta of GFLD distribution(mixing parameter). Should be within the interval (0,1), default is 0.5 |
a |
location parameter alpha of GFLD distribution(location parameter), default is 0 |
log |
logical; if TRUE, log density is returnes. Default is FALSE |
n |
numeric; number of samples to draw from FLD distribution |
q |
vector of quantiles |
... |
used by method |
lower , upper |
the |
tol |
the |
silent |
the |
trace |
integer number passed to |
vector
qfsld(0.1, 0.5, 0.3, 0.5)
# centered gfld
p <- runif(1e4)
x <- qfsld(p, 0.25, 1)-qfsld(0.5, 0.25, 1)
hist(x,30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.