Learn R Programming

TeachBayes (version 0.1.0)

normal_interval: Probability Interval for a Normal Curve

Description

Computes Probability Interval for a Normal Curve

Usage

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

Examples

Run this code
  parameters <- c(2, 0.5)
  normal_interval(.5, parameters)

Run the code above in your browser using DataLab