<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AShadechisquare</id>
	<title>TI-BASIC:Shadechisquare - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AShadechisquare"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Shadechisquare&amp;action=history"/>
	<updated>2026-04-19T13:25:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Shadechisquare&amp;diff=1076&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Shadechisquare&amp;diff=1076&amp;oldid=prev"/>
		<updated>2016-02-24T18:33:24Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=SHADECHISQUARE.GIF&lt;br /&gt;
|summary=Finds the probability of an interval of the χ² distribution, and graphs this distribution with the interval&amp;#039;s area shaded.&lt;br /&gt;
|syntax=Shadeχ²(&amp;#039;&amp;#039;lower&amp;#039;&amp;#039;, &amp;#039;&amp;#039;upper&amp;#039;&amp;#039;, &amp;#039;&amp;#039;df&amp;#039;&amp;#039;)&lt;br /&gt;
|location=Press:&lt;br /&gt;
# 2ND DISTR to access the distribution menu&lt;br /&gt;
# RIGHT to select the DRAW submenu&lt;br /&gt;
# 3 to select Shadeχ²(, or use arrows&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=2 bytes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Shadeχ²( is equivalent to [[TI-BASIC:Chisquarecdf|χ²cdf(]] in terms of the probability it calculates: if a random variable follows the χ² distribution, you can use it to calculate the probability that the variable&amp;#039;s value falls in a certain interval. However, in addition to calculating the probability, this command also draws the χ² curve, and shades the interval whose area represents the probability you want.&lt;br /&gt;
&lt;br /&gt;
Note that this command does not actually return the value it calculates in Ans or anywhere else: it&amp;#039;s merely displayed on the graph. If you&amp;#039;re going to use the value in further calculations, you&amp;#039;ll have to use χ²cdf( as well.&lt;br /&gt;
&lt;br /&gt;
The Shadeχ²( command takes three arguments. &amp;#039;&amp;#039;lower&amp;#039;&amp;#039; and &amp;#039;&amp;#039;upper&amp;#039;&amp;#039; identify the interval you&amp;#039;re interested in. &amp;#039;&amp;#039;df&amp;#039;&amp;#039; specifies the degrees of freedom (selecting from an infinite family of χ² distributions).&lt;br /&gt;
&lt;br /&gt;
Thus, the following code would find the probability of χ² between 0 and 1 on a χ² distribution with 2 degrees of freedom, and shade this interval:&lt;br /&gt;
&lt;br /&gt;
 :Shadeχ²(0,1,2&lt;br /&gt;
&lt;br /&gt;
= Advanced =&lt;br /&gt;
&lt;br /&gt;
Often, you want to find a &amp;quot;tail probability&amp;quot; - a special case for which the interval has no lower or no upper bound. For example, &amp;quot;what is the probability x is greater than 2?&amp;quot;. 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. &lt;br /&gt;
&lt;br /&gt;
It can be hard to find the best window for Shadeχ²( to work in, since it doesn&amp;#039;t automatically zoom for you. For any number of degrees of freedom (except for 1), the graph doesn&amp;#039;t go above y=.5 (a good value for Ymax); Ymin should probably be something small and negative. Xmin should be around 0 (possibly slightly less if you like seeing axes), while Xmax probably shouldn&amp;#039;t go above 5.&lt;br /&gt;
&lt;br /&gt;
Keep in mind that Shadeχ²( is just a drawing command and not an actual graphed function, so resizing the window, [[TI-BASIC:Clrdraw|ClrDraw]], and a bunch of other things will simply get rid of it.&lt;br /&gt;
 &lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Chisquarepdf|χ²pdf(]]&lt;br /&gt;
* [[TI-BASIC:Chisquarecdf|χ²cdf(]]&lt;br /&gt;
* [[TI-BASIC:Shade|Shade(]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>