<?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%3AAnova</id>
	<title>TI-BASIC:Anova - 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%3AAnova"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Anova&amp;action=history"/>
	<updated>2026-05-15T18:33:22Z</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:Anova&amp;diff=1430&amp;oldid=prev</id>
		<title>Maintenance script: Automated superscript correction</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Anova&amp;diff=1430&amp;oldid=prev"/>
		<updated>2016-02-24T22:23:17Z</updated>

		<summary type="html">&lt;p&gt;Automated superscript correction&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:23, 24 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The ANOVA (analysis of variance) command is used to test if there is a significant difference between the means of several populations (this is an extension of the [[TI-BASIC:2_Sampttest|two-sample t-test]] which compares only two populations). The calculator assumes the null hypothesis, that all means are equal, and returns a probability value, p, of the differences in the data occurring if the null hypothesis were true. If p is small (usually, if it&amp;#039;s less than .05), then it&amp;#039;s unlikely we&amp;#039;d get such differences just by chance if the null hypothesis were true, so we reject it and conclude that at least one of the means is different.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The ANOVA (analysis of variance) command is used to test if there is a significant difference between the means of several populations (this is an extension of the [[TI-BASIC:2_Sampttest|two-sample t-test]] which compares only two populations). The calculator assumes the null hypothesis, that all means are equal, and returns a probability value, p, of the differences in the data occurring if the null hypothesis were true. If p is small (usually, if it&amp;#039;s less than .05), then it&amp;#039;s unlikely we&amp;#039;d get such differences just by chance if the null hypothesis were true, so we reject it and conclude that at least one of the means is different.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are two reasons why we don&#039;t test the means in pairs using a simpler test. First of all, it would take a long time: there&#039;s so many pairs to compare. Second of all, when you&#039;re doing many tests, there&#039;s a high probability you&#039;ll get a low p-value by chance. Imagine that you&#039;re doing 10 tests. If the probability of getting a low p-value on one test is .05, then the probability that at least one test will return one is 1-.95&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;^^&lt;/del&gt;10&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;^^&lt;/del&gt;: about 0.4 - this is quite likely to happen. The ANOVA test avoids this by having only one null hypothesis to test.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are two reasons why we don&#039;t test the means in pairs using a simpler test. First of all, it would take a long time: there&#039;s so many pairs to compare. Second of all, when you&#039;re doing many tests, there&#039;s a high probability you&#039;ll get a low p-value by chance. Imagine that you&#039;re doing 10 tests. If the probability of getting a low p-value on one test is .05, then the probability that at least one test will return one is 1-.95&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/ins&gt;10&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/sup&amp;gt;&lt;/ins&gt;: about 0.4 - this is quite likely to happen. The ANOVA test avoids this by having only one null hypothesis to test.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you&amp;#039;re only interested in the result of the test, the only thing you&amp;#039;ll need in the output is the second line: &amp;quot;p=...&amp;quot; This is your p-value, and determines whether you should reject the null hypothesis or not. If you need more detail, here are the meanings of the other variables:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you&amp;#039;re only interested in the result of the test, the only thing you&amp;#039;ll need in the output is the second line: &amp;quot;p=...&amp;quot; This is your p-value, and determines whether you should reject the null hypothesis or not. If you need more detail, here are the meanings of the other variables:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Anova&amp;diff=663&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:Anova&amp;diff=663&amp;oldid=prev"/>
		<updated>2016-02-24T18:12: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=ANOVA.GIF&lt;br /&gt;
|summary=Performs a one way ANOVA (analysis of variance) test to compare the means of multiple populations (up to 20).&lt;br /&gt;
|syntax=ANOVA(&amp;#039;&amp;#039;list&amp;#039;&amp;#039;, &amp;#039;&amp;#039;list&amp;#039;&amp;#039;, …&lt;br /&gt;
|location=Press:&lt;br /&gt;
# STAT to access the statistics menu&lt;br /&gt;
# LEFT to access the TESTS submenu&lt;br /&gt;
# ALPHA F to select ANOVA(, or use arrows&lt;br /&gt;
Change the last keypress to ALPHA H on a TI-84+/SE with OS 2.30 or higher.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=2 bytes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The ANOVA (analysis of variance) command is used to test if there is a significant difference between the means of several populations (this is an extension of the [[TI-BASIC:2_Sampttest|two-sample t-test]] which compares only two populations). The calculator assumes the null hypothesis, that all means are equal, and returns a probability value, p, of the differences in the data occurring if the null hypothesis were true. If p is small (usually, if it&amp;#039;s less than .05), then it&amp;#039;s unlikely we&amp;#039;d get such differences just by chance if the null hypothesis were true, so we reject it and conclude that at least one of the means is different.&lt;br /&gt;
&lt;br /&gt;
There are two reasons why we don&amp;#039;t test the means in pairs using a simpler test. First of all, it would take a long time: there&amp;#039;s so many pairs to compare. Second of all, when you&amp;#039;re doing many tests, there&amp;#039;s a high probability you&amp;#039;ll get a low p-value by chance. Imagine that you&amp;#039;re doing 10 tests. If the probability of getting a low p-value on one test is .05, then the probability that at least one test will return one is 1-.95^^10^^: about 0.4 - this is quite likely to happen. The ANOVA test avoids this by having only one null hypothesis to test.&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re only interested in the result of the test, the only thing you&amp;#039;ll need in the output is the second line: &amp;quot;p=...&amp;quot; This is your p-value, and determines whether you should reject the null hypothesis or not. If you need more detail, here are the meanings of the other variables:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039; is the test statistic. If the null hypothesis is true, it should follow Snedecor&amp;#039;s F distribution, and [[TI-BASIC:Fcdf|Fcdf(]] can be used to determine the p-value.&lt;br /&gt;
* For both Factor and Error:&lt;br /&gt;
** MS is the mean squares (SS/df). If the null hypothesis is true, Factor MS should be roughly equal to Error MS&lt;br /&gt;
** SS is the sum of squares - see the TI-83+ Manual for formulas&lt;br /&gt;
** df is the number of degrees of freedom - for Factor, it&amp;#039;s the df between the categorical variables, and for Error, it&amp;#039;s the sum of df between each variable.&lt;br /&gt;
* Sxp is the pooled variation.&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
The statistics &amp;#039;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;#039;, p, and Sxp will be stored to the appropriate variables after this test. The other six statistics do not have a normal variable associated with them. However, the [[TI-BASIC:Statistics_Tokens|two-byte tokens]] 0x6237 through 0x623C are, in fact, used to store the values of Factor MS, Factor SS, Factor df, Error MS, Error SS, and Error df respectively. They can&amp;#039;t be accessed through a menu, but if you use a hex editor to paste them into your program, you will be able to use them just like any other variable.&lt;br /&gt;
&lt;br /&gt;
However, be careful because the Factor and Error tokens look exactly alike (even though they refer to different variables), and can be confused. Also, there is a chance that future OS versions will change the behavior of ANOVA(, though this is unlikely, and this trick will no longer work.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#argument|ERR:ARGUMENT]]&amp;#039;&amp;#039;&amp;#039; is thrown if one of the lists is blank, only one list is used, or the function is completely blank.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#syntax|ERR:SYNTAX]]&amp;#039;&amp;#039;&amp;#039; is thrown if you do not use lists (Matrixes, numbers,etc)&lt;br /&gt;
* * &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#invalid_Dim|ERR:INVALID DIM]]&amp;#039;&amp;#039;&amp;#039; is thrown if you use a list that has 0 or a negative number.&lt;br /&gt;
* * &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#data_Type|ERR:DATA TYPE]]&amp;#039;&amp;#039;&amp;#039; is thrown by using &amp;quot;l&amp;quot; or a list with a different set of data.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:2_Sampttest|2_SampTTest]]&lt;br /&gt;
* [[TI-BASIC:Chisquare_Test|χ²-Test(]]&lt;br /&gt;
* [[TI-BASIC:2_Sampftest|2_SampFTest]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>