<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3154300528435620946</atom:id><lastBuildDate>Tue, 03 Jan 2012 09:02:06 +0000</lastBuildDate><category>Teach</category><category>Course</category><category>Picture</category><category>Add-In</category><category>Print</category><category>Command Locations</category><category>Hyperlinks</category><category>Arrays</category><category>Screenshots</category><category>Monitor</category><category>VBA Code</category><category>Files</category><category>Delete</category><category>Speech</category><category>Sort</category><category>Fix</category><category>Worksheet</category><category>Shell</category><category>Version</category><category>Real Time Scenarios</category><category>Charts</category><category>Source</category><category>Exception</category><category>Excel 2003</category><category>Function</category><category>Drawing</category><category>Fault</category><category>Error</category><category>Forms</category><category>Articles</category><category>Problem</category><category>Yahoo</category><category>Lists</category><category>Routines</category><category>Mail</category><category>Menu</category><category>Merge</category><category>Excel 2007</category><category>Workbook</category><category>Range</category><category>Custom ToolBar</category><category>David Heiser</category><category>Shortcuts</category><category>Basics</category><category>Search</category><category>Best Practices</category><category>Matrix</category><category>Map</category><category>Statistical Analysis</category><category>Function Keys</category><category>Classes</category><category>Maths</category><category>Color</category><category>Format</category><category>DateTime</category><category>Rows</category><category>Classroom</category><category>Shapes</category><category>Conditional Formatting</category><category>Formulas</category><category>Macros</category><category>Split</category><title>Fun with Excel</title><description>Blog has Microsoft office excel 2007 2003 2000 97 application macros VBA code source function formula basics shortcuts examples tutorials tips tricks</description><link>http://funwithexcel.blogspot.com/</link><managingEditor>noreply@blogger.com (ddadmin)</managingEditor><generator>Blogger</generator><openSearch:totalResults>181</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>5</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/FunWithExcel" /><feedburner:info uri="funwithexcel" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>33.640223</geo:lat><geo:long>-117.691086</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>FunWithExcel</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3154300528435620946.post-3961742657775407103</guid><pubDate>Sat, 08 Jan 2011 06:56:00 +0000</pubDate><atom:updated>2011-01-07T22:58:46.703-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Formulas</category><category domain="http://www.blogger.com/atom/ns#">Function</category><category domain="http://www.blogger.com/atom/ns#">Source</category><category domain="http://www.blogger.com/atom/ns#">David Heiser</category><category domain="http://www.blogger.com/atom/ns#">Teach</category><category domain="http://www.blogger.com/atom/ns#">Classroom</category><category domain="http://www.blogger.com/atom/ns#">Course</category><category domain="http://www.blogger.com/atom/ns#">Statistical Analysis</category><category domain="http://www.blogger.com/atom/ns#">Version</category><title>Setting Up The Excel Sheet For Calculating P Values</title><description>Enter data into the cells. The following are some recommended layouts if functions are used. If the Tool-Pac routines are used, you only need to be able to identify the ranges of the existing data.&lt;br /&gt;ONE SAMPLE TESTS&lt;br /&gt;MEAN&lt;br /&gt;Name&lt;br /&gt;μ&lt;br /&gt;Mean&lt;br /&gt;St. Dev&lt;br /&gt;n&lt;br /&gt;df&lt;br /&gt;t&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(3)&lt;br /&gt;(4)&lt;br /&gt;(5)&lt;br /&gt;(6)&lt;br /&gt;(7)&lt;br /&gt;FOR A HYPOTHESIS ON ONE POPULATION MEAN (KNOWN), NORMALLY DISTRIBUTED, ONE TAIL TEST&lt;br /&gt;POPULATION σ KNOWN&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) Function AVERAGE of data&lt;br /&gt;(3) From Claim&lt;br /&gt;(4) Function COUNT on data&lt;br /&gt;(5) Cell(4) - 1&lt;br /&gt;(7) Function NORMDIST( (2), (1), (3), TRUE )&lt;br /&gt;z = (⎯X − μ) / ( σ / √ n)&lt;br /&gt;σ NOT KNOWN, LARGE SAMPLE&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) Function AVERAGE on data&lt;br /&gt;(3) From STDEV on data&lt;br /&gt;(4) Function COUNT on data&lt;br /&gt;(5) Cell(4) - 1&lt;br /&gt;(7) Function NORMDIST( (2), (1), (3), TRUE )&lt;br /&gt;z = (⎯X − μ) / ( s / √ n)&lt;br /&gt;σ NOT KNOWN, SMALL SAMPLE&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) Function AVERAGE on Data&lt;br /&gt;(3) From STDEV on data&lt;br /&gt;(4) Function COUNT on data&lt;br /&gt;(5) = (4) – 1&lt;br /&gt;(6) = ( ( (1) – (2) ) ) / ( (4) / SQR (3) )&lt;br /&gt;(7) Function TDIST( (6), (5), 1 or 2 from Claim )&lt;br /&gt;t = (⎯X − μ) / ( s / √ n)&lt;br /&gt;FOR A HYPOTHESIS ON ONE POPULATION MEAN OR MEDIAN (KNOWN), NORMALLY DISTRIBUTED, TWO TAIL TEST&lt;br /&gt;POPULATION σ KNOWN&lt;br /&gt;Name&lt;br /&gt;μ&lt;br /&gt;Sigma&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(3)&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) From Claim&lt;br /&gt;(3) Function ZTEST( range of data, (1), (2) )&lt;br /&gt;POPULATION σ UNKNOWN, LARGE SAMPLE&lt;br /&gt;Name&lt;br /&gt;μ&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) Function ZTEST( range of data, (1) ..leave blank.. )&lt;br /&gt;MEDIAN&lt;br /&gt;Name&lt;br /&gt;Population Median&lt;br /&gt;# of + signs&lt;br /&gt;# of – signs&lt;br /&gt;n&lt;br /&gt;Smaller of a or b&lt;br /&gt;z Value&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(4)&lt;br /&gt;(3)&lt;br /&gt;(5)&lt;br /&gt;(6)&lt;br /&gt;(7)&lt;br /&gt;FOR A HYPOTHESIS ON ONE POPULATION MEDIAN VALUE, NONPARAMETRIC, LARGE SAMPLES (N &gt; 25)&lt;br /&gt;(1) Function MEDIAN on data&lt;br /&gt;(2) Manually count the number of data values greater than or equal to (1)&lt;br /&gt;(3) Function COUNT on data&lt;br /&gt;(4) = (3) – (2)&lt;br /&gt;(5) Smaller of (2) or (4)&lt;br /&gt;(6) = ( (5) + 0.5 – (3) / 2) / ( SQR(3) / 2 )&lt;br /&gt;(7) Function NORMSDIST( (6) )&lt;br /&gt;z = [ x + 0.5 – n / 2 ] / [ √ n / 2 ]&lt;br /&gt;FOR A HYPOTHESIS ON PROPORTION&lt;br /&gt;Name&lt;br /&gt;p&lt;br /&gt;q&lt;br /&gt;n&lt;br /&gt;np&lt;br /&gt;nq&lt;br /&gt;Number of successes&lt;br /&gt;p-hat&lt;br /&gt;z&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(3)&lt;br /&gt;(4)&lt;br /&gt;(5)&lt;br /&gt;(6)&lt;br /&gt;(7)&lt;br /&gt;(8)&lt;br /&gt;(9)&lt;br /&gt;FOR A HYPOTHESIS ON ONE POPULATION PROPORTION, LARGE SAMPLES WHERE NP&gt;5 AND NQ&gt;5&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) = 1 – (1)&lt;br /&gt;(3) From Claim&lt;br /&gt;(4) = (1) * (3)&lt;br /&gt;(5) = (2) * (3)&lt;br /&gt;(6) From Claim&lt;br /&gt;(7) = (6) / (3)&lt;br /&gt;(8) = ( (7) – (1) ) / SQR( (1) * (2) / (3) )&lt;br /&gt;(9) Function NORMSDIST( (8) )&lt;br /&gt;z = (p-hat − p) / √ (p × q / n)&lt;br /&gt;FOR A HYPOTHESIS ON VARIANCE&lt;br /&gt;Name&lt;br /&gt;Population σ2&lt;br /&gt;Variance&lt;br /&gt;n&lt;br /&gt;df&lt;br /&gt;Chi&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(3)&lt;br /&gt;(4)&lt;br /&gt;(5)&lt;br /&gt;(6)&lt;br /&gt;FOR A HYPOTHESIS ON ONE POPULATION VARIANCE&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) From VAR on data&lt;br /&gt;(3) Function COUNT on data&lt;br /&gt;(4) = (3) - 1&lt;br /&gt;(5) = (4) * (2) / (1)&lt;br /&gt;(6) Function CHIDIST( (5), (4) )&lt;br /&gt;χ2 = ( n − 1 ) × s2 / σ2&lt;br /&gt;FOR A HYPOTHESIS ON CORRRELATION COEFFICIENT&lt;br /&gt;Name&lt;br /&gt;Correlation Coefficient r&lt;br /&gt;n&lt;br /&gt;df&lt;br /&gt;t&lt;br /&gt;Probability&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(3)&lt;br /&gt;(4)&lt;br /&gt;(5)&lt;br /&gt;(1) Function CORREL(Range of x data, Range of y data) or from Claim&lt;br /&gt;(2) Function COUNT(Range of x) or from Claim&lt;br /&gt;(3) = (2) - 2&lt;br /&gt;(4) = (1) / SQR( (1 – (1) * (1) ) / (3) )&lt;br /&gt;(5) Function TDIST( (4), (3), 1 or 2 from Claim )&lt;br /&gt;t = r / √ ( (1 – r2 ) / (n – 2) )&lt;br /&gt;TWO SAMPLE TESTS&lt;br /&gt;FOR A HYPOTHESIS ON TWO POPULATIONS&lt;br /&gt;MEANS, TWO INDEPENDENT SAMPLES&lt;br /&gt;(1) Range of data set 1&lt;br /&gt;(2) Range of data set 2&lt;br /&gt;(3) Tails, either 1 or 2&lt;br /&gt;1 is for a one tailed test&lt;br /&gt;2 is for a two tailed test&lt;br /&gt;(4) Characteristics of the two data sets&lt;br /&gt;1 is for paired data values, having equal numbers of values (no missing values)&lt;br /&gt;2 is for the equal variance (homoscedastic) characteristic&lt;br /&gt;3 is for the unequal variance (heteroscedastic) characteristic&lt;br /&gt;(5) Probability = TTEST( (1), (2), (3), (4) )&lt;br /&gt;(6)&lt;br /&gt;DIFFERENCES, PAIRED DEPENDENT SAMPLES&lt;br /&gt;t = (⎯d − μd ) / ( sd / √ n)&lt;br /&gt;Equal Variance&lt;br /&gt;t = {(⎯X1 −⎯X2 ) −(μ1 − μ2)} / sm&lt;br /&gt;sm = sp × √ ( 1/ n1 + 1/ n2 )&lt;br /&gt;sp = √ (pooled variance)&lt;br /&gt;(pooled variance) = { (df × s2 )1 + (df × s2)2 } / dfTotal&lt;br /&gt;Unequal Variance&lt;br /&gt;t = {(⎯X1 −⎯X2 ) −(μ1 − μ2)} / sm&lt;br /&gt;sm = √ { (s2 / n)1 + (s2 / n)2 }&lt;br /&gt;PROPORTIONS, RANDOM INDEPENDENT LARGE SAMPLES&lt;br /&gt;(n1p&gt;5, n1q&gt;5, n2p&gt;5 and n2q&gt;5)&lt;br /&gt;Subscript&lt;br /&gt;Name&lt;br /&gt;p&lt;br /&gt;q&lt;br /&gt;n&lt;br /&gt;np&lt;br /&gt;nq&lt;br /&gt;Number of successes&lt;br /&gt;p-hat&lt;br /&gt;SD&lt;br /&gt;z&lt;br /&gt;Probability&lt;br /&gt;1&lt;br /&gt;(1)&lt;br /&gt;(2)&lt;br /&gt;(3)&lt;br /&gt;(4)&lt;br /&gt;(5)&lt;br /&gt;(6)&lt;br /&gt;(7)&lt;br /&gt;2&lt;br /&gt;(8)&lt;br /&gt;(9)&lt;br /&gt;(10)&lt;br /&gt;(11)&lt;br /&gt;(12)&lt;br /&gt;(13)&lt;br /&gt;(14)&lt;br /&gt;Combined&lt;br /&gt;(15)&lt;br /&gt;(16)&lt;br /&gt;(17)&lt;br /&gt;(18)&lt;br /&gt;(19)&lt;br /&gt;(20)&lt;br /&gt;(21)&lt;br /&gt;(1) From Claim&lt;br /&gt;(2) = 1 – (1)&lt;br /&gt;(3) From Claim&lt;br /&gt;(4) = (1) * (3)&lt;br /&gt;(5) = (2) * (3)&lt;br /&gt;(7) From Claim&lt;br /&gt;(8) = (6) / (3)&lt;br /&gt;(8) From Claim&lt;br /&gt;(9) = 1 – (1)&lt;br /&gt;(10) From Claim&lt;br /&gt;(11) = (1) * (3)&lt;br /&gt;(12) = (2) * (3)&lt;br /&gt;(13) From Claim&lt;br /&gt;(14) = (6) / (3)&lt;br /&gt;(17) = (3) + (10)&lt;br /&gt;(18) = (6) + (13)&lt;br /&gt;(15) = (18) / (17)&lt;br /&gt;(16) = 1 – (15)&lt;br /&gt;(19) = SQR( (15) * (16) * ( 1 / (3) + 1 / (10) ) )&lt;br /&gt;(20) = ( (7) – (14) – (1) + (8) ) / (19)&lt;br /&gt;(21) Function NORMSDIST ( (20) )&lt;br /&gt;z = {(p-hat1 − p-hat2 ) – (p1 – p2 )} / σm&lt;br /&gt;p = (x1 + x2) / (n1 + n2)&lt;br /&gt;q = 1 – p&lt;br /&gt;σm = √ { (p × q / n1 ) + (p × q / n2 }&lt;br /&gt;VARIANCES, TWO INDEPENDENT SAMPLES For a hypothesis on two population variances&lt;br /&gt;(1) Range of data set 1&lt;br /&gt;(2) Range of data set 2&lt;br /&gt;(3) Probability = FTEST( (1), (2) )&lt;br /&gt;F = s21 / s22&lt;br /&gt;The FTEST function can be used here, but it gives incorrect p values.&lt;br /&gt;DATA ANALYSIS ROUTINE OUTPUTS&lt;br /&gt;The data analysis routines output the following table:&lt;br /&gt;df&lt;br /&gt;Degrees of freedom&lt;br /&gt;t Stat&lt;br /&gt;Calculated t value&lt;br /&gt;P(T&lt;=t) one-tail P1 t Critical one-tail P(T&lt;=t) two-tail P2 t Critical two-tail You have to translate the P1 and P2 values to determine the probability of the given hypothesis being true. The output table is confusing here. Hypothesis Symbol Actual Data Values B&gt;A&lt;br /&gt;Actual Values B=A&lt;br /&gt;Actual Data Values BA&lt;br /&gt;1 – p1&lt;br /&gt;p1&lt;br /&gt;p1&lt;br /&gt;2&lt;br /&gt;B&gt;=A&lt;br /&gt;1 – p1&lt;br /&gt;p1&lt;br /&gt;p1&lt;br /&gt;3&lt;br /&gt;B α: Fail to reject H0&lt;br /&gt;ii. If Probability ≤ α: Reject H0&lt;br /&gt;d. If the test is a true hypothesis test, the calculated p value is NOT reported, only the decision is reported.&lt;br /&gt;e. Decision: Reject H0:&lt;br /&gt;i. H0 is the claim: There is enough evidence at … to reject the claim of …&lt;br /&gt;ii. Ha is the claim: There is enough evidence at … to support the claim of ...&lt;br /&gt;f. Decision: Fail to Reject H0:&lt;br /&gt;i. H0 is the claim: There is not enough evidence at … to reject the claim of …&lt;br /&gt;ii. Ha is the claim: There is not enough evidence at … to support the claim of …&lt;br /&gt;g. Changing a hypothesis “in mid stream” presents problems in assigning an appropriate p value under the Neyman-Pearson concept. This requires now an inductive approach to the problem, evaluating multiple hypotheses. This is beyond Excel. Goodman (1999) argues then that a Bayesian approach be taken, in which the likelihood ratios of each hypothesis on the data be calculated and combined with prior probability structures for obtaining the correct probability values. Excel does not have the capability to obtain likelihood ratios from a set of data.&lt;br /&gt;&lt;br /&gt;Author : David Heiser [dheiser594@gmail.com]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3154300528435620946-3961742657775407103?l=funwithexcel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jrheVWhmziayPt-VZC1n-mS7pqM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jrheVWhmziayPt-VZC1n-mS7pqM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jrheVWhmziayPt-VZC1n-mS7pqM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jrheVWhmziayPt-VZC1n-mS7pqM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=i_tkrl_vgao:ZJKU7zWdpNA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=i_tkrl_vgao:ZJKU7zWdpNA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=i_tkrl_vgao:ZJKU7zWdpNA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=i_tkrl_vgao:ZJKU7zWdpNA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=i_tkrl_vgao:ZJKU7zWdpNA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FunWithExcel/~4/i_tkrl_vgao" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/FunWithExcel/~3/i_tkrl_vgao/setting-up-excel-sheet-for-calculating.html</link><author>noreply@blogger.com (ddadmin)</author><thr:total>1</thr:total><feedburner:origLink>http://funwithexcel.blogspot.com/2011/01/setting-up-excel-sheet-for-calculating.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3154300528435620946.post-1017385669188798417</guid><pubDate>Sat, 08 Jan 2011 06:47:00 +0000</pubDate><atom:updated>2011-01-07T22:48:46.092-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Formulas</category><category domain="http://www.blogger.com/atom/ns#">Function</category><category domain="http://www.blogger.com/atom/ns#">Source</category><category domain="http://www.blogger.com/atom/ns#">David Heiser</category><category domain="http://www.blogger.com/atom/ns#">Teach</category><category domain="http://www.blogger.com/atom/ns#">Classroom</category><category domain="http://www.blogger.com/atom/ns#">Course</category><category domain="http://www.blogger.com/atom/ns#">Statistical Analysis</category><category domain="http://www.blogger.com/atom/ns#">Version</category><title>Standardized Residuals</title><description>The actual output table of standardized residuals from linear regression is the residual divided by the unbiased standard deviation of the residuals.&lt;br /&gt;&lt;br /&gt;One argument is that since the LMS solution is based on the sum of the residuals being zero, the appropriate divisor of the sum of squares would be N rather than N-1. This may be Cryer’s complaint.&lt;br /&gt;&lt;br /&gt;The mathematics on biased or unbiased estimates is not based on degrees of freedom arguments, but on asymptotic characteristics of the standard deviation value. The residuals computed do not constitute a true “population”, since the assumption of a LMS solution is that the data is a sample of a population.&lt;br /&gt;&lt;br /&gt;My position is that the calculation is correct as it is in Excel.&lt;br /&gt;&lt;br /&gt;Author : David Heiser [dheiser594@gmail.com]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3154300528435620946-1017385669188798417?l=funwithexcel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/i8hk5-G2dxGIJBDZWW9kidWY2-s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i8hk5-G2dxGIJBDZWW9kidWY2-s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/i8hk5-G2dxGIJBDZWW9kidWY2-s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i8hk5-G2dxGIJBDZWW9kidWY2-s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=xUTRoWNVVIA:oXCQGdYyT80:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=xUTRoWNVVIA:oXCQGdYyT80:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=xUTRoWNVVIA:oXCQGdYyT80:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=xUTRoWNVVIA:oXCQGdYyT80:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=xUTRoWNVVIA:oXCQGdYyT80:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FunWithExcel/~4/xUTRoWNVVIA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/FunWithExcel/~3/xUTRoWNVVIA/standardized-residuals.html</link><author>noreply@blogger.com (ddadmin)</author><thr:total>0</thr:total><feedburner:origLink>http://funwithexcel.blogspot.com/2011/01/standardized-residuals.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3154300528435620946.post-2031227786542071215</guid><pubDate>Sat, 08 Jan 2011 06:44:00 +0000</pubDate><atom:updated>2011-01-07T22:47:23.306-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Formulas</category><category domain="http://www.blogger.com/atom/ns#">Function</category><category domain="http://www.blogger.com/atom/ns#">Source</category><category domain="http://www.blogger.com/atom/ns#">David Heiser</category><category domain="http://www.blogger.com/atom/ns#">Teach</category><category domain="http://www.blogger.com/atom/ns#">Classroom</category><category domain="http://www.blogger.com/atom/ns#">Course</category><category domain="http://www.blogger.com/atom/ns#">Statistical Analysis</category><category domain="http://www.blogger.com/atom/ns#">Version</category><title>Regression Normal Probability Plot</title><description>&lt;span style="font-weight:bold;"&gt;LINEAR REGRESSION OUTPUTS:&lt;/span&gt;&lt;br /&gt;In the Data Analysis Regression routine, an input box appears. At the bottom there are boxes to check if specific outputs are requested. They are:&lt;br /&gt;&lt;br /&gt;Residuals&lt;br /&gt;Standardized Residuals&lt;br /&gt;Residual Plots&lt;br /&gt;Line Fit Plots&lt;br /&gt;Normal Probability Plots&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Residuals:&lt;/span&gt; Gives three columns of data below the regression output information block. The first column is observation and is just a sequence number referring the sequence of input data values. The second column is the predicted Y value, and the third column is the difference between the actual data Y value and the calculated Y value, based n the regression coefficients listed.&lt;div&gt;&lt;br /&gt;&lt;b&gt;Standardized Residuals:&lt;/b&gt; Gives a column of values, which come from the division of the residual by the standard deviation of the residuals. Use it to look for outliers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Residual Plots:&lt;/span&gt; Gives numerous plots of the residual versus each of the X variables. If only one X is input, there is only one chart. The chart can be changed just like all other Excel charts. Use it to detect patterns, indicated deviations from the regression equation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Line Fit Plots:&lt;/span&gt; Generates a chart with a plot of predicted Y values versus observed Y values. Use it to determine if the regression is a suitable fit over the entire range of the data.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Normal Probability Plots:&lt;/span&gt;&lt;br /&gt;Two new columns of values are generated in the same space below the regression output. The first column is a calculated value from:&lt;br /&gt;100 * ((sequence number/n) – (1/2*n)),&lt;br /&gt;where sequence number is the numbers from 1 to n. The second column is the sorted observed Y values from lowest to highest. These columns bear no relationship to the residual columns described above, although they occupy the same row space. The chart is just a scatter plot of these two columns. It bears no relationship to normal distribution characteristics.&lt;br /&gt;The intent was to generate a form of a Meier-Kaplan plot of the Y data to determine if the distribution of Y values is normal. If it is normal, then correlation coefficients may be more important then regression coefficients.&lt;br /&gt;The more common application today of the term “Normal Probability Plot”, is to plot the residuals versus a z value (or cumulative normal percentile) derived from the normal probability distribution for the ranking location of the residual. This gives a visual look to determine if the residuals are actually normally distributed. The assumption of error (as residuals) being normally distributed is an important assumption. The probability values on the coefficients and coefficient confidence intervals are based on this assumption. If the plot is roughly a straight line, then the assumption is valid.&lt;br /&gt;&lt;br /&gt;Author : David Heiser [dheiser594@gmail.com]&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3154300528435620946-2031227786542071215?l=funwithexcel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_UWCCZN9Ujaeo5MQh5HVIOJFfjI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_UWCCZN9Ujaeo5MQh5HVIOJFfjI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_UWCCZN9Ujaeo5MQh5HVIOJFfjI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_UWCCZN9Ujaeo5MQh5HVIOJFfjI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=WepOONSgeYM:rgavQkvBqNU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=WepOONSgeYM:rgavQkvBqNU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=WepOONSgeYM:rgavQkvBqNU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=WepOONSgeYM:rgavQkvBqNU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=WepOONSgeYM:rgavQkvBqNU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FunWithExcel/~4/WepOONSgeYM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/FunWithExcel/~3/WepOONSgeYM/regression-normal-probability-plot.html</link><author>noreply@blogger.com (ddadmin)</author><thr:total>0</thr:total><feedburner:origLink>http://funwithexcel.blogspot.com/2011/01/regression-normal-probability-plot.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3154300528435620946.post-7126845436843877155</guid><pubDate>Mon, 09 Aug 2010 14:01:00 +0000</pubDate><atom:updated>2010-08-09T07:03:24.159-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Formulas</category><category domain="http://www.blogger.com/atom/ns#">Function</category><category domain="http://www.blogger.com/atom/ns#">Source</category><category domain="http://www.blogger.com/atom/ns#">David Heiser</category><category domain="http://www.blogger.com/atom/ns#">Teach</category><category domain="http://www.blogger.com/atom/ns#">Classroom</category><category domain="http://www.blogger.com/atom/ns#">Course</category><category domain="http://www.blogger.com/atom/ns#">Statistical Analysis</category><category domain="http://www.blogger.com/atom/ns#">Version</category><title>Polynomial Regression in Excel</title><description>&lt;span style="font-weight:bold;"&gt;EXCEL 2000&lt;br /&gt;CENTERING INPUT DATA:&lt;/span&gt;&lt;br /&gt;In most cases, centering the data about the mean (an approximate mean is OK) will improve accuracy of the result. If the problem requires a polynomial beyond a cubic, centering will be the only way it can be done. The standard coefficient error values will not be the values obtained from fitting a polynomial to the original data. A similar process to convert centered standard coefficient error values back to direct standard coefficient error values has not yet been worked out.&lt;br /&gt;1. The centered data set:&lt;br /&gt;a. Build a worksheet with the Y, X data. Set column A as the Y data and columns B to {m+1}1, as the X data. Reserve row 1 for labels that identify each of the powers of the X variable.&lt;br /&gt;b. In column A, row {n+3} enter =AVERAGE(A2:A{n+1}) . Formula copy across to column B.&lt;br /&gt;c. Copy the cells in row 1 and paste then in row {n+4}&lt;br /&gt;d. In column A row {n+5} put in the formula =A2-A${n+3}) and formula copy across to column B.&lt;br /&gt;e. Formula copy the selected cells down to row {2n+4}.&lt;br /&gt;f. The centered X, Y starting data will be columns A and B from rows {n+4} to {2n+5).&lt;br /&gt;g. Generate the polynomial terms.&lt;br /&gt;i. For quadratic: Starting with cell C{n+5} enter =B{n+5} * B{n+5}&lt;br /&gt;ii. For cubic: Starting with cell D{n+5} enter =B{n+5} * C{n+5}&lt;br /&gt;iii. For quadratic: Starting with cell E{n+5} enter =B{n+5} * D{n+5}&lt;br /&gt;iv. Continue this scheme up to the highest power desired.&lt;br /&gt;h. The range for the Y data will be A{n+4}:A{2n+5}.&lt;br /&gt;i. The range for the X variables will be B{n+4}:{m+1}{2n+5}, where m is the highest power of the fitting polynomial.&lt;br /&gt;2. Go into Data Analysis, select Regression. Set Y to the range listed in g. above and set X to the range listed in h. above. Set the labels box.&lt;br /&gt;1 The {….} is a notation whose value has to be converted either to a row number or an alphabetic character corresponding to a column designation. n is the number of “points” or observations in the data set, and m is the number of variables in the data set.&lt;br /&gt;3. Set the Regression output to begin to the left of the centered data.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CONVERTING FROM CENTERED COEFFICIENTS TO DIRECT COFFICIENTS:&lt;/span&gt;&lt;br /&gt;1. For fitting polynomials to centered X and Y values, the calculations to convert coefficient values and the intercept to the original coordinate system are more complex. It is a translation of the polynomial from the centered X and Y values to the original coordinates. Algebra can be used to show how this is done. Each term involves a sign, a binomial coefficient, the mean value of the X to a power and the regression coefficient.&lt;br /&gt;2. The following instructions are for any polynomial up to a power of 10.&lt;br /&gt;a. Build up a table on a worksheet in Excel, from column A to column W and from row 1 to row 12. Columns A to M contain the basic information, and columns N to W contain the cells of the cross products.&lt;br /&gt;b. Put in the following data into the cells.&lt;br /&gt;i. Cell N1 is the average Y from the data worksheet Cell A{n+3}.&lt;br /&gt;ii. Cell N3 is the average X from the data worksheet Cell B{n+3}&lt;br /&gt;iii. Cells A1:A11 are the Data Analysis Regression output sheet cells corresponding to the column of fitted coefficient values. Put in a zero for any coefficients beyond the ones fitted.&lt;br /&gt;iv. The center of the table represents the standard binomial coefficients. Column B is a sign control on the term.&lt;br /&gt;v. In cells N4:N11, put in the indicated formula. These are the powers of the average X.&lt;br /&gt;A&lt;br /&gt;B&lt;br /&gt;C&lt;br /&gt;D&lt;br /&gt;E&lt;br /&gt;F&lt;br /&gt;G&lt;br /&gt;H&lt;br /&gt;I&lt;br /&gt;J&lt;br /&gt;K&lt;br /&gt;L&lt;br /&gt;M&lt;br /&gt;N&lt;br /&gt;1&lt;br /&gt;Intercept&lt;br /&gt;+1&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;average y&lt;br /&gt;2&lt;br /&gt;Coef A&lt;br /&gt;-1&lt;br /&gt;1&lt;br /&gt;-1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;1&lt;br /&gt;3&lt;br /&gt;Coef B&lt;br /&gt;+1&lt;br /&gt;1&lt;br /&gt;-2&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;average x&lt;br /&gt;4&lt;br /&gt;Coef C&lt;br /&gt;-1&lt;br /&gt;1&lt;br /&gt;-3&lt;br /&gt;3&lt;br /&gt;-1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;M3*M3&lt;br /&gt;5&lt;br /&gt;Coef D&lt;br /&gt;+1&lt;br /&gt;1&lt;br /&gt;-4&lt;br /&gt;6&lt;br /&gt;-4&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;M4*M3&lt;br /&gt;6&lt;br /&gt;Coef E&lt;br /&gt;-1&lt;br /&gt;1&lt;br /&gt;-5&lt;br /&gt;10&lt;br /&gt;-10&lt;br /&gt;5&lt;br /&gt;-1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;M5*M3&lt;br /&gt;7&lt;br /&gt;Coef F&lt;br /&gt;+1&lt;br /&gt;1&lt;br /&gt;-6&lt;br /&gt;15&lt;br /&gt;-20&lt;br /&gt;15&lt;br /&gt;-6&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;M6*M3&lt;br /&gt;8&lt;br /&gt;Coef G&lt;br /&gt;-1&lt;br /&gt;1&lt;br /&gt;-7&lt;br /&gt;21&lt;br /&gt;-35&lt;br /&gt;35&lt;br /&gt;-21&lt;br /&gt;7&lt;br /&gt;-1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;M7*M3&lt;br /&gt;9&lt;br /&gt;Coef H&lt;br /&gt;+1&lt;br /&gt;1&lt;br /&gt;-8&lt;br /&gt;28&lt;br /&gt;-56&lt;br /&gt;70&lt;br /&gt;-56&lt;br /&gt;28&lt;br /&gt;-8&lt;br /&gt;1&lt;br /&gt;0&lt;br /&gt;0&lt;br /&gt;M8*M3&lt;br /&gt;10&lt;br /&gt;Coef I&lt;br /&gt;-1&lt;br /&gt;1&lt;br /&gt;-9&lt;br /&gt;36&lt;br /&gt;-84&lt;br /&gt;126&lt;br /&gt;-126&lt;br /&gt;84&lt;br /&gt;-36&lt;br /&gt;9&lt;br /&gt;-1&lt;br /&gt;0&lt;br /&gt;M9*M3&lt;br /&gt;11&lt;br /&gt;Coef J&lt;br /&gt;+1&lt;br /&gt;1&lt;br /&gt;-10&lt;br /&gt;45&lt;br /&gt;-120&lt;br /&gt;210&lt;br /&gt;-252&lt;br /&gt;210&lt;br /&gt;-120&lt;br /&gt;45&lt;br /&gt;-10&lt;br /&gt;1&lt;br /&gt;M10*M3&lt;br /&gt;12&lt;br /&gt;M11*M3&lt;br /&gt;vi. Put in the following formulas on the diagonals. Then formula copy down to row 11 in each column. It will not properly formula copy across a row.&lt;br /&gt;vii. In cell O12, enter =SUM(O1:O11) and formula copy across to cell Y12. These cells will contain the translated direct coefficient values for the polynomial&lt;br /&gt;O&lt;br /&gt;P&lt;br /&gt;Q&lt;br /&gt;R&lt;br /&gt;S&lt;br /&gt;T&lt;br /&gt;U&lt;br /&gt;V&lt;br /&gt;W&lt;br /&gt;X&lt;br /&gt;Y&lt;br /&gt;1&lt;br /&gt;A1+N1&lt;br /&gt;2&lt;br /&gt;A2*B2* C1*N3&lt;br /&gt;A2*B2* D2*N2&lt;br /&gt;3&lt;br /&gt;A3*B3* C2*N4&lt;br /&gt;A3*B3* D3*N3&lt;br /&gt;A3*B3* E3*N2&lt;br /&gt;4&lt;br /&gt;A4*B4* E4*N3&lt;br /&gt;A4*B4* F4*N2&lt;br /&gt;5&lt;br /&gt;A5*B5* F5*N3&lt;br /&gt;A5*B5* G5*N2&lt;br /&gt;6&lt;br /&gt;A6*B6* G6*N3&lt;br /&gt;A6*B6* H6*N2&lt;br /&gt;7&lt;br /&gt;A7*B7* H7*N3&lt;br /&gt;A7*B7* I7*N2&lt;br /&gt;8&lt;br /&gt;A8*B8* I8*N3&lt;br /&gt;A8*B8* J8*N2&lt;br /&gt;9&lt;br /&gt;A9*B9* J9*N3&lt;br /&gt;A9*B9* K9*N2&lt;br /&gt;10&lt;br /&gt;A10*B10* K10*N3&lt;br /&gt;A10*B10* L10*N2&lt;br /&gt;11&lt;br /&gt;A11*B11* L11*N3&lt;br /&gt;A11*B11* M11*N2&lt;br /&gt;12&lt;br /&gt;SUM (O1: O11)&lt;br /&gt;SUM (P2:P11)&lt;br /&gt;SUM(Q3 :Q11)&lt;br /&gt;SUM (R4:R11)&lt;br /&gt;SUM (S5:S11)&lt;br /&gt;SUM (T6:T11)&lt;br /&gt;SUM (U7:U11)&lt;br /&gt;SUM (V8:V11)&lt;br /&gt;SUM(W9: W11)&lt;br /&gt;SUM (X10:X11)&lt;br /&gt;SUM (Y11:Y11)&lt;br /&gt;c. Transfer the values in cells O12 to Y12 to the regression output sheet. The standard errors of the coefficients will remain the same.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;FILIP POLYNOMIAL FIT&lt;/span&gt;&lt;br /&gt;Centering the 82 observations and running Data Analysis – Regression on the data (as a multivariate regression) gave a set of parameter values. The coefficients were translated back to the original coordinate system using the method described above. Other parameters values came from the centered data run. The standard deviations of coefficient values in the original coordinate system cannot be recovered from the centered data standard deviations of coefficient values.&lt;br /&gt;The comparison is given in LRE values.&lt;br /&gt;Parameter Estimate Standard Deviation of Estimate&lt;br /&gt;B0 10.28 0&lt;br /&gt;B1 10.28 0&lt;br /&gt;B2 10.27 0&lt;br /&gt;B3 10.27 0&lt;br /&gt;B4 10.26 0&lt;br /&gt;B5 10.25 0&lt;br /&gt;B6 10.24 0&lt;br /&gt;B7 10.23 0&lt;br /&gt;B8 9.25 0&lt;br /&gt;B9 10.40 0&lt;br /&gt;B10 10.20 0&lt;br /&gt;Residual Standard Deviation 14.51&lt;br /&gt;R-Squared 15.95&lt;br /&gt;Analysis of Variance Table&lt;br /&gt;Source df SS MS F ratio&lt;br /&gt;Regression 16 14.83 14.80 14.33&lt;br /&gt;Residual 16 14.27 14.18&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EXCEL 2003:&lt;/span&gt;&lt;br /&gt;The new regression algorithm is robust enough to do polynomial regression directly. No special methods are needed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Author : David Heiser [dheiser594@gmail.com]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3154300528435620946-7126845436843877155?l=funwithexcel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4qQ7zp3sBHeVTbJtpmC9XmsJQw0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4qQ7zp3sBHeVTbJtpmC9XmsJQw0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4qQ7zp3sBHeVTbJtpmC9XmsJQw0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4qQ7zp3sBHeVTbJtpmC9XmsJQw0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=Gi_VKERNG-M:j6f7DbGXYQw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=Gi_VKERNG-M:j6f7DbGXYQw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=Gi_VKERNG-M:j6f7DbGXYQw:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=Gi_VKERNG-M:j6f7DbGXYQw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=Gi_VKERNG-M:j6f7DbGXYQw:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FunWithExcel/~4/Gi_VKERNG-M" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/FunWithExcel/~3/Gi_VKERNG-M/polynomial-regression-in-excel.html</link><author>noreply@blogger.com (ddadmin)</author><thr:total>0</thr:total><feedburner:origLink>http://funwithexcel.blogspot.com/2010/08/polynomial-regression-in-excel.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3154300528435620946.post-7077429187043632717</guid><pubDate>Fri, 06 Aug 2010 14:43:00 +0000</pubDate><atom:updated>2010-08-06T07:47:51.526-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Formulas</category><category domain="http://www.blogger.com/atom/ns#">Function</category><category domain="http://www.blogger.com/atom/ns#">Source</category><category domain="http://www.blogger.com/atom/ns#">David Heiser</category><category domain="http://www.blogger.com/atom/ns#">Teach</category><category domain="http://www.blogger.com/atom/ns#">Classroom</category><category domain="http://www.blogger.com/atom/ns#">Course</category><category domain="http://www.blogger.com/atom/ns#">Statistical Analysis</category><category domain="http://www.blogger.com/atom/ns#">Version</category><title>Singularity, Multicolinearity, Accuracy And Other Matrix Problems</title><description>&lt;span style="font-weight:bold;"&gt;SINGULARITY&lt;/span&gt;&lt;br /&gt;Singularity occurs when one or more columns (or rows) of the X matrix are either identical or differ by a constant times the other column or row. Near singularity occurs when the data in one row (or column) is very close to a multiple of another row (or column).&lt;br /&gt;It is not an issue when there is only one X variable. It occurs when there are two or more X variables.&lt;br /&gt;As Reyment and Joreskg (1996) say, “By finding the rank of a data matrix, much can be learned about the complexity of the contained data. The rank will give the dimensionality of the matrix, which determines the number of linearly independent vectors necessary to span the space containing the vectors of the matrix, The eigenvectors and eigenvalues of a matrix will not only determine the rank, but will also yield a set of linearly independent basis vectors”. From the basis vectors, a new X’X and X’Y matrix can be constructed which will give the correct regression of Y on the linearly independent X variables (which may not be directly related on a 1:1 basis with the identified variables)&lt;br /&gt;The only adequate way to determine singularity and near singularity is to examine the eigenvalues. Excel does not have a function that will return a vector of eigenvalues for the X’X matrix. This is a real weakness in Excel. However, the interpretation of an eigenvalue vector with regard to singularity is generally beyond the scope of introductory statistics.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MATRIX SINGULARITY PROBLEMS:&lt;br /&gt;EXCEL 2000&lt;/span&gt;&lt;br /&gt;LINEST in Excel 2000 is not able to work when the input data has singularity. It will stop with meaningless values in the output. This is discussed in KBAs 209326 and 828533. Excel 2003 LINEST however is resistant to singularity problems (see KBA 828533) and when it occurs, it will automatically delete the singular columns from the analysis and reset the degrees of freedom to reflect this.&lt;br /&gt;By doing CORREL on the data, columns that have correlation values of 0.999999 or greater, indicate a singular or near singular data input matrix. Excel 2000 matrix inversion is fairly robust to near singularity, and will calculate a linear regression with one pair of columns that correlate to 0.999999 or more. Excel 2003 LINEST will not find singularity when high correlation values occur. The relationship has to be exact (or when in the QR triangularization, the normalized diagonal value is smaller than 5E-15.)&lt;br /&gt;The method given in the next paragraph is a weak method, but it is the only way to get some rank information out of the X matrix using only Excel provided functions. Excel does not have the capabilities to fix the problem.&lt;br /&gt;Checking to see if there is a singularity problem:&lt;br /&gt;1. Put the X matrix on a separate worksheet.&lt;br /&gt;2. Create the transpose matrix of X using the TRANSPOSE matrix function (X’)&lt;br /&gt;3. Form the X’X matrix by multiplying the transposed matrix times the original matrix using the MMULT matrix function (X’X).&lt;br /&gt;4. Note: b and c can be done in one equation =MMULT(TRANSPOSE(B2:G17),B2:G17).&lt;br /&gt;5. Create the inverse matrix of the X’X matrix using the MINVERSE matrix function. (X”X)-1 . If Excel gives an error code, then X is definitely singular. A singular symmetrical matrix here is the same as dividing by zero.&lt;br /&gt;6. Obtain the determinant of both X”X and (X”X)-1 using the MDETERM function in a single cell. It returns a single value.&lt;br /&gt;a. Let a = MDETERM(X’X) and b = MDETERM(((X”X)-1).&lt;br /&gt;b. If the inversion matrix (X”X)-1 is correct, a should equal 1/b&lt;br /&gt;c. The LRE value of the 1/b value with reference to the a value is an indicator of rank or singularity problems.&lt;br /&gt;EXCEL 2003&lt;br /&gt;The new algorithm in LINEST detects singularity, and automatically deletes the offending variable.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MULTICOLINARITY:&lt;/span&gt;&lt;br /&gt;Co-linearity occurs when data columns are very closely correlated. That is the correlation coefficients are close to one, but not exactly one (plus or minus). If it were exactly one, it would be a case of singularity.&lt;br /&gt;The inherent problem with co-linearity is that regression coefficient values become very dependent on the distribution and values of the errors. Given a reference column of data (and a value of a reference regression coefficient), by adding a new data column that is co-linear with the reference column, the resulting regression coefficients will spread away from the reference value, as co-linearity increases, with the sum of these two coefficients approaching the reference value asymptotically. The result with co-linearity is that some coefficient values that appear to be unrealistic. Co-linearity also affects the values of the other coefficients.&lt;br /&gt;Co-linearity check:&lt;br /&gt;1. Select an empty block of cells, m x m.&lt;br /&gt;2. In the first cell enter =CORREL(B{n+5}:B{2n+5},B{n+5}:B{2n+5})&lt;br /&gt;3. Formula copy across m cells.&lt;br /&gt;4. Formula copy down m rows.&lt;br /&gt;5. The block now contains the correlation coefficients of all variables, with a 1 down the diagonal and values above the diagonal equal to values below the diagonal.&lt;br /&gt;6. Look for cells off the diagonal that have values close to 1. A value of 0.99 and larger, is considered close to1. Excel matrix inversion is fairly robust to near singularity, and will calculate a linear regression with one pair of columns that correlate to 0.999999 or more.&lt;br /&gt;7. Coefficient values for variable closely correlated ( 0.99 and higher) variables may be “screwy” and have high standard errors. There is nothing you can do about this except to change your model to reduce the effects.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ESTIMATING THE ACCURACY OF THE RESULTS:&lt;br /&gt;COMPUTING METHODS:&lt;/span&gt;&lt;br /&gt;In general the methods to solve linear regression problems are:&lt;br /&gt;Input matrix inversion and LU decomposition&lt;br /&gt;QR decompositions, using Householder transformations and plane rotations&lt;br /&gt;QR Gram-Schmidt Algorithm&lt;br /&gt;Classical&lt;br /&gt;Modified&lt;br /&gt;LINEST in Excel 2000 uses input matrix inversions and LU decomposition. Excel 2003 uses a QR decomposition using Householders transformations to get a triangular matrix for solution of coefficient values.&lt;br /&gt;Matrix arithmetic theory (see Stewart 1995 and 1998) goes into the deeper mathematical aspects. It is based on the concept of matrix norms (every non-singular matrix has a norm, and there are many types of norms). The errors in regression coefficients due to the finite arithmetic used, is reflected in the concept that the actual output results are different from exact arithmetic results. This difference is unknown since exact arithmetic is not possible, but by applying theory here, the actual computer results can be expressed as being equal to exact arithmetic on an augmented matrix that differs from the true input matrix(s). Theory allows estimates to be made of the differences between the actual matrix and the augmented matrix in terms of norm values.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ESTIMATING ACCURACY (EXCEL 2000)&lt;/span&gt;&lt;br /&gt;The basis is that the accuracy of the solution depends on the accuracy of the inversion of the X’X covariance matrix. The figure of merit used is the LRE value of the determinant of the (X’X)-1(X’X) matrix. If the inversion is precise, this (hat) matrix is the identity matrix, and the identity matrix has a determinant of one. If the off-diagonal values are large enough, the determinant will be different from one. The LRE value of the difference from one is a measure of the accuracy of the regression results. The process of obtaining the LRE value of the determinant is given below.&lt;br /&gt;1. Put the X matrix on a separate worksheet.&lt;br /&gt;2. Create the transpose matrix of X using the TRANSPOSE matrix function (X’)&lt;br /&gt;3. Form the X’X matrix by multiplying the transposed matrix times the original matrix using the MMULT matrix function (X’X).&lt;br /&gt;4. Note: b and c can be done in one equation =MMULT(TRANSPOSE(B2:G17),B2:G17) /goes in cells B25:G30/&lt;br /&gt;5. Create the inverse matrix of the X’X matrix using the MINVERSE matrix function. (X”X)-1 . If Excel gives an error code, then X is definitely singular. A singular symmetrical matrix here is the same as dividing by zero.&lt;br /&gt;6. Create the product matrix by multiplying the inverse matrix (X”X)-1 by (X’X) using the MMULT matrix function (Q).&lt;br /&gt;7. Note: d and e can be done in one equation.&lt;br /&gt;8. =MMULT(MINVERSE(B25:G30),B25:G30) /goes in cells B35:G40)/&lt;br /&gt;9. Examine Q for the magnitude of the off diagonal cells, and how close the diagonal cells are to 1.&lt;br /&gt;10. If the matrix looks to be reasonably close to a unity matrix, continue and get the determinant of the Q matrix.&lt;br /&gt;11. Obtain the determinant using the MDETERM function in a single cell. It works on a symmetrical matrix and returns a single value.&lt;br /&gt;12. Calculate the LRE value with reference to 1.0.&lt;br /&gt;There are no guidelines on what is an acceptable LRE value here. It really depends of how well the linear equation model fits the data.&lt;br /&gt;This limit is not a hard limit, since larger matrices will have larger off diagonal terms. This is due to the limitations of IEEE 64 bit floating point arithmetic. The determinant of the (X’X)-1 * (X’X) product when given an LRE calculation with reference to 1, is a crude estimate of the LRE value of the coefficients.&lt;br /&gt;For example from the Longley data set: The additive was applied to the centered data.&lt;br /&gt;Table N-1: Coefficient and Determinant LRE Values&lt;br /&gt;Variable&lt;br /&gt;Original&lt;br /&gt;Centered&lt;br /&gt;1000 Additive&lt;br /&gt;100,000 Additive&lt;br /&gt;10,000,000 Additive&lt;br /&gt;Intercept&lt;br /&gt;8.26&lt;br /&gt;12.41&lt;br /&gt;-&lt;br /&gt;-&lt;br /&gt;-&lt;br /&gt;GNP Deflator&lt;br /&gt;7.57&lt;br /&gt;12.80&lt;br /&gt;8.03&lt;br /&gt;3.76&lt;br /&gt;0&lt;br /&gt;Gross National Product&lt;br /&gt;7.78&lt;br /&gt;13.36&lt;br /&gt;9.24&lt;br /&gt;4.13&lt;br /&gt;0.68&lt;br /&gt;Unemployment&lt;br /&gt;8.36&lt;br /&gt;13.61&lt;br /&gt;9.61&lt;br /&gt;4.75&lt;br /&gt;1.40&lt;br /&gt;Military Employment&lt;br /&gt;8.60&lt;br /&gt;12.49&lt;br /&gt;9.83&lt;br /&gt;5.01&lt;br /&gt;1.69&lt;br /&gt;Population&lt;br /&gt;7.40&lt;br /&gt;13.17&lt;br /&gt;8.86&lt;br /&gt;3.56&lt;br /&gt;0&lt;br /&gt;Year&lt;br /&gt;8.27&lt;br /&gt;13.17&lt;br /&gt;9.26&lt;br /&gt;4.87&lt;br /&gt;1.76&lt;br /&gt;Determinant&lt;br /&gt;10.83&lt;br /&gt;13.55&lt;br /&gt;9.62&lt;br /&gt;5.12&lt;br /&gt;3.60&lt;br /&gt;The determinant LRE value runs somewhat higher than the LRE values of the coefficients. For a rule-of-thumb, it would suggest that if the LRE value of the&lt;br /&gt;determinant is less than 5, the coefficient vector should be considered inaccurate and not be used.&lt;br /&gt;&lt;b&gt;ESTIMATING ACCURACY (EXCEL 2003)&lt;/b&gt;&lt;br /&gt;Under Excel 2003, there is no way to estimate the accuracy of the results from LINEST. Stewart making some general observations says that generally the QR methods tend to give more accurate results but the difference from normal equations (the edge) is small. However the QR methods are much more stable. There are conditions where the normal equations are not even positive definite. (Stewart, 1995, p 318)&lt;br /&gt;Excel 2000 uses the normal equations. Excel 2003 uses a QR method. However for the example given in KBA 828533, internal values to 15 digits are given with regard to applying LINEST 2003 to a simple problem. Stewarts (1995) QR algorithm 1.11 gives identical internal values.&lt;br /&gt;&lt;br /&gt;Author : David Heiser [dheiser594@gmail.com]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3154300528435620946-7077429187043632717?l=funwithexcel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ivJl8Gg1KAV46tEJJyL2VAldecA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ivJl8Gg1KAV46tEJJyL2VAldecA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ivJl8Gg1KAV46tEJJyL2VAldecA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ivJl8Gg1KAV46tEJJyL2VAldecA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:YwkR-u9nhCs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=YwkR-u9nhCs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=DCiDpnYJwpk:2_TN-QNArwk:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=DCiDpnYJwpk:2_TN-QNArwk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=DCiDpnYJwpk:2_TN-QNArwk:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?i=DCiDpnYJwpk:2_TN-QNArwk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/FunWithExcel?a=DCiDpnYJwpk:2_TN-QNArwk:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/FunWithExcel?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FunWithExcel/~4/DCiDpnYJwpk" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/FunWithExcel/~3/DCiDpnYJwpk/singularity-multicolinearity-accuracy.html</link><author>noreply@blogger.com (ddadmin)</author><thr:total>0</thr:total><feedburner:origLink>http://funwithexcel.blogspot.com/2010/08/singularity-multicolinearity-accuracy.html</feedburner:origLink></item></channel></rss>

