Learn R Programming

exams.forge (version 1.0.10)

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))

Examples

Run this code
q2norm(c(100,200))

Run the code above in your browser using DataLab