Skew Normal Cumulative Distribution Function
Usage
prob_skewnorm(x, mean = 0, sd = 1, shape = 0)
Arguments
- x
A numeric vector of quantiles.
- mean
A numeric vector of the means.
- sd
A non-negative numeric vector of the standard deviations.
- shape
A numeric vector of shape.
Value
An numeric vector of the corresponding probabilities.
See also
Other prob_dist:
prob_bern(),
prob_beta(),
prob_beta_binom(),
prob_binom(),
prob_exp(),
prob_gamma(),
prob_gamma_pois(),
prob_gamma_pois_zi(),
prob_lnorm(),
prob_neg_binom(),
prob_norm(),
prob_pois(),
prob_pois_zi(),
prob_student(),
prob_unif()
Examples
prob_skewnorm(c(-2:2))
#> [1] 0.02275013 0.15865525 0.50000000 0.84134475 0.97724987
prob_skewnorm(c(-2:2), shape = -2)
#> [1] 0.04549995 0.31559163 0.85241638 0.99828112 0.99999969
prob_skewnorm(c(-2:2), shape = 2)
#> [1] 3.143618e-07 1.718880e-03 1.475836e-01 6.844084e-01 9.545001e-01