qwakeby | R Documentation |
Wakeby distribution
qwakeby(u, alpha, beta, gamma, delta, xi)
fwakeby(u, alpha, beta, gamma, delta, xi, log = FALSE)
dqwakeby(u, alpha, beta, gamma, delta, xi, log = FALSE)
rwakeby(n, alpha, beta, gamma, delta, xi)
pwakeby(q, ..., lower = 0, upper = 1, tol = 1e-06, silent = TRUE, trace = 0)
dwakeby(x, alpha, beta, gamma, delta, xi, tol = 1e-06, log = FALSE)
is_wakeby_valid(alpha, beta, gamma, delta, xi, n_grid = 100L, s_grid = 2L)
ffwakeby(u, alpha, beta, gamma, delta, xi)
u |
numeric vector of probabilities |
alpha |
Wakeby scale parameter |
beta |
Wakeby shape parameter |
gamma |
Wakeby scale parameter |
delta |
Wakeby shape parameter |
xi |
Wakeby location parameter |
log |
should the log density be returned |
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 |
x |
numeric vector of data |
n_grid |
integer size of helper grid to be passed to |
s_grid |
integer beta shape of helper grid to be passed to |
Support \xi
to \infty
if \delta \geq 0, \gamma>0
or \xi
to \xi+(\alpha/\beta)-(\gamma/\delta)
otherwise.
quantiles, QDF, DQF, random samples or probabilities of Wakeby disribution
p_grd <- make_pgrid()
q_grd <- qwakeby(p_grd, 5, 3, 0.1, 0.2, 0)
f_grd <- fwakeby(p_grd, 5, 3, 0.1, 0.2, 0)
dq_grd <- dqwakeby(p_grd, 5, 3, 0.1, 0.2, 0)
d_grd <- dwakeby(q_grd,5, 3, 0.1, 0.2, 0)
plot(q_grd,dq_grd, type="l", lwd=1, lty=2)
lines(q_grd,d_grd, col="firebrick")
is_wakeby_valid(10,5,1,0.3,0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.