q2norm: Mean and Standard Deviation for Normal Distribution
Description
Given two (or more) quantiles it computes an (approximate) mean and standard deviation for a corresponding normal distribution.
Usage
q2norm(x, probs = c(0.025, 0.975))
Value
A list with a component mean
and sd
.
Arguments
- x
numeric(2): the quantiles
- probs
numeric(2): probabilities with values in \([0,1]\) (default: c(0.025, 0.975)
)