Skip to contents

Quantile Function

Usage

ssd_qburrIII3(
  p,
  shape1 = 1,
  shape2 = 1,
  scale = 1,
  lower.tail = TRUE,
  log.p = FALSE
)

ssd_qgamma(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)

ssd_qgompertz(p, location = 1, shape = 1, lower.tail = TRUE, log.p = FALSE)

ssd_qinvpareto(p, shape = 3, scale = 1, lower.tail = TRUE, log.p = FALSE)

ssd_qlgumbel(
  p,
  locationlog = 0,
  scalelog = 1,
  lower.tail = TRUE,
  log.p = FALSE
)

ssd_qllogis_llogis(
  p,
  locationlog1 = 0,
  scalelog1 = 1,
  locationlog2 = 1,
  scalelog2 = 1,
  pmix = 0.5,
  lower.tail = TRUE,
  log.p = FALSE
)

ssd_qllogis(p, locationlog = 0, scalelog = 1, lower.tail = TRUE, log.p = FALSE)

ssd_qlnorm_lnorm(
  p,
  meanlog1 = 0,
  sdlog1 = 1,
  meanlog2 = 1,
  sdlog2 = 1,
  pmix = 0.5,
  lower.tail = TRUE,
  log.p = FALSE
)

ssd_qlnorm(p, meanlog = 0, sdlog = 1, lower.tail = TRUE, log.p = FALSE)

ssd_qmulti(
  p,
  burrIII3.weight = 0,
  burrIII3.shape1 = 1,
  burrIII3.shape2 = 1,
  burrIII3.scale = 1,
  gamma.weight = 0,
  gamma.shape = 1,
  gamma.scale = 1,
  gompertz.weight = 0,
  gompertz.location = 1,
  gompertz.shape = 1,
  invpareto.weight = 0,
  invpareto.shape = 3,
  invpareto.scale = 1,
  lgumbel.weight = 0,
  lgumbel.locationlog = 0,
  lgumbel.scalelog = 1,
  llogis.weight = 0,
  llogis.locationlog = 0,
  llogis.scalelog = 1,
  llogis_llogis.weight = 0,
  llogis_llogis.locationlog1 = 0,
  llogis_llogis.scalelog1 = 1,
  llogis_llogis.locationlog2 = 1,
  llogis_llogis.scalelog2 = 1,
  llogis_llogis.pmix = 0.5,
  lnorm.weight = 0,
  lnorm.meanlog = 0,
  lnorm.sdlog = 1,
  lnorm_lnorm.weight = 0,
  lnorm_lnorm.meanlog1 = 0,
  lnorm_lnorm.sdlog1 = 1,
  lnorm_lnorm.meanlog2 = 1,
  lnorm_lnorm.sdlog2 = 1,
  lnorm_lnorm.pmix = 0.5,
  weibull.weight = 0,
  weibull.shape = 1,
  weibull.scale = 1,
  lower.tail = TRUE,
  log.p = FALSE
)

ssd_qmulti_fitdists(p, fitdists, lower.tail = TRUE, log.p = FALSE)

ssd_qweibull(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)

Arguments

p

vector of probabilities.

shape1

shape1 parameter.

shape2

shape2 parameter.

scale

scale parameter.

lower.tail

logical; if TRUE (default), probabilities are P[X <= x], otherwise, P[X > x].

log.p

logical; if TRUE, probabilities p are given as log(p).

shape

shape parameter.

location

location parameter.

locationlog

location on the log scale parameter.

scalelog

scale on log scale parameter.

locationlog1

locationlog1 parameter.

scalelog1

scalelog1 parameter.

locationlog2

locationlog2 parameter.

scalelog2

scalelog2 parameter.

pmix

Proportion mixture parameter.

meanlog1

mean on log scale parameter.

sdlog1

standard deviation on log scale parameter.

meanlog2

mean on log scale parameter.

sdlog2

standard deviation on log scale parameter.

meanlog

mean on log scale parameter.

sdlog

standard deviation on log scale parameter.

burrIII3.weight

weight parameter for the Burr III distribution.

burrIII3.shape1

shape1 parameter for the Burr III distribution.

burrIII3.shape2

shape2 parameter for the Burr III distribution.

burrIII3.scale

scale parameter for the Burr III distribution.

gamma.weight

weight parameter for the gamma distribution.

gamma.shape

shape parameter for the gamma distribution.

gamma.scale

scale parameter for the gamma distribution.

gompertz.weight

weight parameter for the Gompertz distribution.

gompertz.location

location parameter for the Gompertz distribution.

gompertz.shape

shape parameter for the Gompertz distribution.

invpareto.weight

weight parameter for the inverse Pareto distribution.

invpareto.shape

shape parameter for the inverse Pareto distribution.

invpareto.scale

scale parameter for the inverse Pareto distribution.

lgumbel.weight

weight parameter for the log-Gumbel distribution.

lgumbel.locationlog

location parameter for the log-Gumbel distribution.

lgumbel.scalelog

scale parameter for the log-Gumbel distribution.

llogis.weight

weight parameter for the log-logistic distribution.

llogis.locationlog

location parameter for the log-logistic distribution.

llogis.scalelog

scale parameter for the log-logistic distribution.

llogis_llogis.weight

weight parameter for the log-logistic log-logistic mixture distribution.

llogis_llogis.locationlog1

locationlog1 parameter for the log-logistic log-logistic mixture distribution.

llogis_llogis.scalelog1

scalelog1 parameter for the log-logistic log-logistic mixture distribution.

llogis_llogis.locationlog2

locationlog2 parameter for the log-logistic log-logistic mixture distribution.

llogis_llogis.scalelog2

scalelog2 parameter for the log-logistic log-logistic mixture distribution.

llogis_llogis.pmix

pmix parameter for the log-logistic log-logistic mixture distribution.

lnorm.weight

weight parameter for the log-normal distribution.

lnorm.meanlog

meanlog parameter for the log-normal distribution.

lnorm.sdlog

sdlog parameter for the log-normal distribution.

lnorm_lnorm.weight

weight parameter for the log-normal log-normal mixture distribution.

lnorm_lnorm.meanlog1

meanlog1 parameter for the log-normal log-normal mixture distribution.

lnorm_lnorm.sdlog1

sdlog1 parameter for the log-normal log-normal mixture distribution.

lnorm_lnorm.meanlog2

meanlog2 parameter for the log-normal log-normal mixture distribution.

lnorm_lnorm.sdlog2

sdlog2 parameter for the log-normal log-normal mixture distribution.

lnorm_lnorm.pmix

pmix parameter for the log-normal log-normal mixture distribution.

weibull.weight

weight parameter for the Weibull distribution.

weibull.shape

shape parameter for the Weibull distribution.

weibull.scale

scale parameter for the Weibull distribution.

fitdists

An object of class fitdists.

Functions

  • ssd_qburrIII3(): Quantile Function for BurrIII Distribution

  • ssd_qgamma(): Quantile Function for Gamma Distribution

  • ssd_qgompertz(): Quantile Function for Gompertz Distribution

  • ssd_qinvpareto(): Quantile Function for Inverse Pareto Distribution

  • ssd_qlgumbel(): Quantile Function for Log-Gumbel Distribution

  • ssd_qllogis_llogis(): Cumulative Distribution Function for Log-Logistic/Log-Logistic Mixture Distribution

  • ssd_qllogis(): Cumulative Distribution Function for Log-Logistic Distribution

  • ssd_qlnorm_lnorm(): Cumulative Distribution Function for Log-Normal/Log-Normal Mixture Distribution

  • ssd_qlnorm(): Cumulative Distribution Function for Log-Normal Distribution

  • ssd_qmulti(): Quantile Function for Multiple Distributions

  • ssd_qmulti_fitdists(): Quantile Function for Multiple Distributions

  • ssd_qweibull(): Cumulative Distribution Function for Weibull Distribution

See also

Examples


ssd_qburrIII3(0.5)
#> [1] 1

ssd_qgamma(0.5)
#> [1] 0.6931472

ssd_qgompertz(0.5)
#> [1] 0.526589

ssd_qinvpareto(0.5)
#> [1] 0.7937005

ssd_qlgumbel(0.5)
#> [1] 1.442695

ssd_qllogis_llogis(0.5)
#> [1] 1.648721

ssd_qllogis(0.5)
#> [1] 1

ssd_qlnorm_lnorm(0.5)
#> [1] 1.648721

ssd_qlnorm(0.5)
#> [1] 1

# multi
ssd_qmulti(0.5, gamma.weight = 0.5, lnorm.weight = 0.5)
#> [1] 0.8410196

# multi fitdists
fit <- ssd_fit_dists(ssddata::ccme_boron)
ssd_qmulti_fitdists(0.5, fit)
#> [1] 15.32579

ssd_qweibull(0.5)
#> [1] 0.6931472