qgnk | R Documentation |
Functions for g-and-k distribution
qgnk(p, A, B, C = 0.8, g, k, zscale = FALSE)
fgnk(p, A, B, C = 0.8, g, k, log = FALSE, zscale = FALSE)
dqgnk(p, A, B, C = 0.8, g, k, log = FALSE, zscale = FALSE)
rgnk(n, A, B, C = 0.8, g, k)
pgnk(q, ..., lower = 0, upper = 1, tol = 1e-06, silent = TRUE, trace = 0)
is_gnk_valid(A, B, C = 0.8, g, k, n_grid = 100L, s_grid = 2L)
p |
numeric vector of probabilities |
A |
numeric location parameter of g-and-k distribution |
B |
positive numeric scale parameter of g-and-k distribution |
C |
numeric parameter of g-and-k distribution. Default is 0.8 |
g |
numeric skeweness parameter of g-and-k distribution |
k |
non-negative numeric kurtosis parameter of g-and-k distribution |
zscale |
is the probability input provided on scale of |
log |
logical should the result be returned as log(). Default is FALSE |
n |
numeric number of samples to draw |
q |
vector of quantiles |
... |
used by method |
lower , upper |
the |
tol |
the |
silent |
the |
trace |
integer number passed to |
n_grid |
integer size of helper grid to be passed to |
s_grid |
integer beta shape of helper grid to be passed to |
vector of quantiles for g-and-k distribution
qgnk(0.1, 3,1,0.8, 2,0.5)
is_gnk_valid(A=5, B=5, C=0.8, g=0.5, k=-0.3) #FALSE
is_gnk_valid(A=5, B=5, C=0.8, g=0.5, k=-0.1) #TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.