myncurve: Normal Curve

Description Usage Arguments Examples

View source: R/myncurve.R

Description

This function wil produce a normal curve when given a mean value, a standard deviation, and a significance level point estimate where alpha cuts off. This function will provide a shaded region to the left of the provided cut off value (a). This function also provides the probability of a value at or below the given 'a' value.

Usage

1
myncurve(mu, sigma, a)

Arguments

mu

mean value

sigma

standard deviation value

a

the value that alpha cuts off at; for P(x<=a)

Examples

1
2
3
4
5
6
7
myncurve(10,5,6)
With mu = 10 mean, sigma = 5 standard deviation, and a = 6
where the alpha level cut-off happens.
So this will be a normal distirbution centered at 10 with a
tail shaded in to the left of the value 6.
There will also be a provided probability of a value at or below
'a', so the probability of a value at or below 6.

casspants/MATH4753kran1018 documentation built on Nov. 26, 2020, 1:12 p.m.