Neutrosophic Discrete Uniform {ntsDists} | R Documentation |
Density, distribution function, quantile function and random
generation for the neutrosophic discrete uniform distribution with
parameter k_N
.
dnsDiscUnif(x, k)
pnsDiscUnif(q, k, lower.tail = TRUE)
qnsDiscUnif(p, k)
rnsDiscUnif(n, k)
x |
a vector or matrix of observations for which the pdf needs to be computed. |
k |
parameter of the distribution that must be a positive finite interval. |
q |
a vector or matrix of quantiles for which the cdf needs to be computed. |
lower.tail |
logical; if TRUE (default), probabilities are
|
p |
a vector or matrix of probabilities for which the quantile needs to be computed. |
n |
number of random values to be generated. |
Let X_N
be a neutrosophic random variable and denote
X_N \sim \mathcal{DU}(1,2,\ldots,k_N)
as neutrosophic discrete
uniform distribution with parameter k_N
has the density
f_N(x)=\frac{1}{k_N}
for k_N \in (k_L, k_U)
.
dnsDiscUnif
gives the probability mass function,
pnsDiscUnif
gives the distribution function
qnsDiscUnif
gives the quantile function
rnsDiscUnif
generates random variables from the neutrosophic Discrete Uniform Distribution.
Granados, C. (2022). Some discrete neutrosophic distributions with neutrosophic parameters based on neutrosophic random variables. Hacettepe Journal of Mathematics and Statistics, 51(5), 1442-1457.
dnsDiscUnif(x = 8, k = c(10, 11))
dnsDiscUnif(x = c(8, 9), k = c(10, 11))
pnsDiscUnif(q = 2, k = c(10, 11))
qnsDiscUnif(p = 0.2, k = c(10, 11))
# Simulate 10 numbers
rnsDiscUnif(n = 10, k = c(10, 11))