Difference between revisions of "TI-BASIC:Normalcdf"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(Automated @@ correction)
 
Line 2: Line 2:
 
|picture=NORMALCDF.GIF
 
|picture=NORMALCDF.GIF
 
|summary=Finds the probability for an interval of the normal curve.
 
|summary=Finds the probability for an interval of the normal curve.
|syntax=normalcdf(''lower'', ''upper'' @@[@@, ''μ'', ''σ''@@]@@)
+
|syntax=normalcdf(''lower'', ''upper'' <nowiki>[</nowiki>, ''μ'', ''σ''<nowiki>]</nowiki>)
 
|location=Press:
 
|location=Press:
 
# 2ND DISTR to access the distribution menu
 
# 2ND DISTR to access the distribution menu

Latest revision as of 21:39, 24 February 2016

NORMALCDF.GIF

Command Summary

Finds the probability for an interval of the normal curve.

Command Syntax

normalcdf(lower, upper [, μ, σ])

Menu Location

Press:

  1. 2ND DISTR to access the distribution menu
  2. 2 to select normalcdf(, or use arrows.

Calculator Compatibility

TI-83/84/+/SE

Token Size

2 bytes

normalcdf( is the normal (Gaussian) cumulative density function. If some random variable follows a normal distribution, you can use this command to find the probability that this variable will fall in the interval you supply.

There are two ways to use normalcdf(. With two arguments (lower bound and upper bound), the calculator will assume you mean the standard normal distribution, and use that to find the probability corresponding to the interval between "lower bound" and "upper bound". You can also supply two additional arguments to use the normal distribution with a specified mean and standard deviation. For example:

for the standard normal distribution
:normalcdf(-1,1

for the normal distribution with mean 10 and std. dev. 2.5
:normalcdf(5,15,10,2.5

Advanced

Often, you want to find a "tail probability" - a special case for which the interval has no lower or no upper bound. For example, "what is the probability x is greater than 2?". The TI-83+ has no special symbol for infinity, but you can use E99 to get a very large number that will work equally well in this case (E is the decimal exponent obtained by pressing [2nd] [EE]). Use E99 for positive infinity, and -E99 for negative infinity.

The normal distribution is often used to approximate the binomial distribution when there are a lot of trials. This isn't really necessary on the TI-83+ because the Binompdf( and Binomcdf( commands are already very fast - however, the normal distribution can be slightly faster, and the skill can come in handy if you don't have access to a calculator but do have a table of normal distributions (yeah, right). Here is how to convert a binomial distribution to a normal one:

:binompdf(N,P,X
can be
:normalcdf(X-.5,X+.5,NP,√(NP(1-P

:binomcdf(N,P,X,Y
can be
:normalcdf(X-.5,Y+.5,NP,√(NP(1-P

How much faster this is will depend on N and P, since the binomial distribution takes a long time to evaluate for large values of N, but the normal distribution takes about the same time for any mean and standard deviation. Also, this is an approximation that is only valid for some binomial distributions - a common rule of thumb is NP>10.

Formulas

As with other continuous distributions, any probability is an integral of the probability density function. Here, too, we can define normalcdf( for the standard normal case in terms of Normalpdf(: Template:TI-BASIC:Math \int_a^b e^{-\frac1{2}x^2} \, \mathrm{d}x }}

or in terms of the error function: Template:TI-BASIC:Math\right)-\operatorname{erf}\left(\frac{a}{\sqrt{2}}\right)\right) }}

For the arbitrary mean μ and standard deviation σ, normalcdf( is defined in terms of the standard normal distribution, with the bounds of the interval standardized: Template:TI-BASIC:Math

Related Commands