normal_interval: Probability Interval for a Normal Curve

Description Usage Arguments Value Author(s) Examples

View source: R/normal_interval.R

Description

Computes "equal-tails" probability interval for a normal curve

Usage

1
  normal_interval(prob, normal_pars)

Arguments

prob

value of coverage probability

normal_pars

vector of mean and standard deviation of the normal curve

Value

Computes and displays the interval that contains the normal curve with the specified probability

Author(s)

Jim Albert

Examples

1
2
3
  parameters <- c(2, 0.5)
  prob_content <- 0.5
  normal_interval(prob_content, parameters)

TeachBayes documentation built on May 1, 2019, 9:17 p.m.