<?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%3A1_Var_Stats</id>
	<title>TI-BASIC:1 Var Stats - 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%3A1_Var_Stats"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:1_Var_Stats&amp;action=history"/>
	<updated>2026-05-30T18:17:08Z</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:1_Var_Stats&amp;diff=1295&amp;oldid=prev</id>
		<title>Maintenance script: Automated @@ correction</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:1_Var_Stats&amp;diff=1295&amp;oldid=prev"/>
		<updated>2016-02-24T21:39:54Z</updated>

		<summary type="html">&lt;p&gt;Automated @@ 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 21:39, 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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;|picture=1-VARSTATS.GIF&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;|picture=1-VARSTATS.GIF&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;div&gt;|summary=Calculates some statistics for a single list of data, and stores them to statistical variables. They&amp;#039;re also displayed in a scrollable list, if done outside a program.&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;|summary=Calculates some statistics for a single list of data, and stores them to statistical variables. They&amp;#039;re also displayed in a scrollable list, if done outside a program.&lt;/div&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;|syntax=1-Var Stats &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@@&lt;/del&gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@@&lt;/del&gt;&#039;&#039;list&#039;&#039;, [&#039;&#039;freqlist&#039;&#039;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@@&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;@@&lt;/del&gt;&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;|syntax=1-Var Stats &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&#039;&#039;list&#039;&#039;, [&#039;&#039;freqlist&#039;&#039;]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&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;div&gt;|location=Press:&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;|location=Press:&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;div&gt;# STAT to access the statistics menu&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;# STAT to access the statistics menu&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:1_Var_Stats&amp;diff=1029&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:1_Var_Stats&amp;diff=1029&amp;oldid=prev"/>
		<updated>2016-02-24T18:30:57Z</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=1-VARSTATS.GIF&lt;br /&gt;
|summary=Calculates some statistics for a single list of data, and stores them to statistical variables. They&amp;#039;re also displayed in a scrollable list, if done outside a program.&lt;br /&gt;
|syntax=1-Var Stats @@[@@&amp;#039;&amp;#039;list&amp;#039;&amp;#039;, [&amp;#039;&amp;#039;freqlist&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 CALC submenu&lt;br /&gt;
# 1 or ENTER to select 1-Var Stats&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This command calculates a bunch of common (and a few uncommon) statistics for a [[TI-BASIC:Lists|list]] (it uses L1 by default, but you can use any list by supplying it as an argument). You have to store the list to a variable first, though, before calculating statistics for it. For example:&lt;br /&gt;
&lt;br /&gt;
 :{5,12,7,8,4,9→L1&lt;br /&gt;
 :1-Var Stats&lt;br /&gt;
&lt;br /&gt;
Like other statistical commands, you can use a frequency list as well, for cases where one element occurs more times than another (you can do this with a normal list, too, but that might be inconvenient when an element occurs very many times). For example:&lt;br /&gt;
&lt;br /&gt;
 :{1,2,3→L1&lt;br /&gt;
 :{5,3,2→L2&lt;br /&gt;
 :1-Var Stats L1,L2&lt;br /&gt;
&lt;br /&gt;
is the frequency-list equivalent of:&lt;br /&gt;
&lt;br /&gt;
 :{1,1,1,1,1,2,2,2,3,3→L1&lt;br /&gt;
 :1-Var Stats&lt;br /&gt;
&lt;br /&gt;
When you&amp;#039;re running it from the home screen, 1-Var Stats will display the statistics; this won&amp;#039;t happen if you do it inside a program. Either way, it will also store what it calculated to the statistics variables found in VARS&amp;gt;Statistics... The variables 1-Var Stats affects are:&lt;br /&gt;
* &amp;lt;math&amp;gt;\overline{\textrm{x}}&amp;lt;/math&amp;gt; is the mean (average) of the elements, as returned by [[TI-BASIC:Mean|Mean(]]&lt;br /&gt;
* Σx is the sum of the elements, as returned by [[TI-BASIC:Sum|Sum(]]&lt;br /&gt;
* Σx² is the sum of the squares of the elements&lt;br /&gt;
* Sx is the sample standard deviation, as returned by [[TI-BASIC:Stddev|StdDev(]]&lt;br /&gt;
* σx is population standard deviation&lt;br /&gt;
* n is the number of elements in the list, as returned by [[TI-BASIC:Dim|Dim(]]&lt;br /&gt;
* minX is the minimum value, as returned by [[TI-BASIC:Min|Min(]]&lt;br /&gt;
* Q1 is the first quartile&lt;br /&gt;
* Med is the median, as returned by [[TI-BASIC:Median|Median(]]&lt;br /&gt;
* Q3 is the third quartile&lt;br /&gt;
* maxX is the maximum value, as returned by [[TI-BASIC:Max|Max(]]&lt;br /&gt;
&lt;br /&gt;
1-Var Stats will not work with &amp;quot;reserved&amp;quot; list names that the calculator uses internally. The only known such reserved list is the list RESID, and there&amp;#039;s no reason to suspect there are any others. Ans, TblInput, and any expression which resolves to a list, are also not appropriate for this command: store all of these to a list before doing 1-Var Stats on them.&lt;br /&gt;
&lt;br /&gt;
= Optimization =&lt;br /&gt;
&lt;br /&gt;
Aside from statistical analysis, 1-Var Stats can also be used when you want to use the values it calculates more than once. This will save on size, since, for example Σx takes up less space than sum(L1), but considering how many calculations 1-Var Stats makes, it will usually be slower. Here&amp;#039;s a short example which saves 1 byte:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 :Disp &amp;quot;RANGE:&amp;quot;,max(L1)-min(L1&lt;br /&gt;
 can be&lt;br /&gt;
 :1-Var Stats&lt;br /&gt;
 :Disp &amp;quot;RANGE:&amp;quot;,maxX-minX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:2_Var_Stats|2_Var_Stats]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>