TI-BASIC:Shade T
Command Summary
Finds the probability of an interval of the Student's t distribution, and graphs the distribution with the interval's area shaded.
Command Syntax
Shade_t(lower, upper, df)
Menu Location
Press:
- 2ND DISTR to access the distribution menu
- RIGHT to select the DRAW submenu
- 2 to select Shade_t(, or use arrows
TI-83/84/+/SE
2 bytes
Shade_t( is equivalent to Tcdf( in terms of the probability it calculates: if a random variable follows the Student's t distribution, you can use it to calculate the probability that the variable's value falls in a certain interval. However, in addition to calculating the probability, this command also draws the distribution, and shades the interval whose area represents the probability you want.
Note that this command does not actually return the value it calculates in Ans or anywhere else: it's merely displayed on the graph. If you're going to use the value in further calculations, you'll have to use tcdf( as well.
Like tcdf(, Shade_t( takes three arguments: the lower bound, the upper bound, and the degrees of freedom.
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 Shade_t( command's output is affected by the graphing window, and on many windows you won't be able to get a good idea of what the graph looks like. For best results, Ymin should be either 0 or a small negative number, and Ymax should be 0.5 or less. Xmin and Xmax should be opposites of each other (so the middle of the graph is 0), but how large they are depends on the degrees of freedom and on how much of the graph you want to see: -4 and 4 are good starting places.
Keep in mind that Shade_t( is a drawing command and not the graph of an equation, so changing graph settings, the ClrDraw command, and a great deal of other things will erase its output.