Visualize how changes in mean and standard deviation affect the shape of the normal distribution. Compute & visualize quantiles out of given probability and probability from a given quantile.

dist_norm_plot(mean = 0, sd = 1)

dist_norm_perc(probs = 0.95, mean = 0, sd = 1, type = c("lower",
  "upper", "both"))

dist_norm_prob(perc, mean = 0, sd = 1, type = c("lower", "upper",
  "both"))

Arguments

mean

Mean of the normal distribution.

sd

Standard deviation of the normal distribution.

probs

Probability value.

type

Lower tail, upper tail or both.

perc

Quantile value.

Value

Percentile for the probs based on mean, sd and type or probability value for perc based on mean, sd and type.

See also

Examples

# visualize normal distribution dist_norm_plot()
#> Warning: `dist_normal_plot()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_norm_plot(mean = 2, sd = 0.6)
#> Warning: `dist_normal_plot()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
# visualize probability from a given quantile dist_norm_prob(3.78, mean = 2, sd = 1.36)
#> Warning: `dist_normal_prob()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_norm_prob(3.43, mean = 2, sd = 1.36, type = 'upper')
#> Warning: `dist_normal_prob()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_norm_prob(c(-1.74, 1.83), type = 'both')
#> Warning: `dist_normal_prob()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
# visualize quantiles out of given probability dist_norm_perc(0.95, mean = 2, sd = 1.36)
#> Warning: `dist_normal_perc()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_norm_perc(0.3, mean = 2, sd = 1.36, type = 'upper')
#> Warning: `dist_normal_perc()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_norm_perc(0.95, mean = 2, sd = 1.36, type = 'both')
#> Warning: `dist_normal_perc()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.