<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1542321886756338348</id><updated>2024-08-29T16:25:38.183-05:00</updated><category term="Lecture Notes"/><category term="Fun stuff"/><category term="Final"/><category term="Homework"/><category term="Midterm"/><category term="General Statistics"/><category term="Quizzes"/><title type='text'>GSB420 - Business Statistics</title><subtitle type='html'>GSB 420 - Notes from Applied Quantitative Analysis - Winter 2008</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>91</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-2655018197698622658</id><published>2011-11-06T11:58:00.019-06:00</published><updated>2012-04-26T15:50:36.082-05:00</updated><title type='text'>The New GSB420 Blog</title><content type='html'>After several months, even years, of inactivity, I&#39;ve decided to revive and revise this blog and restructure it in a logical sequence, rather than continue with the reverse chronological order which is the standard format for blogs. My goal is to make it easier for readers to find the material that they&#39;re looking for.&lt;br /&gt;
&lt;br /&gt;
Therefore, this will be the top-most entry in the blog and it will contain a table of contents with links to the articles in the logical order in which you will probably want to learn them - starting from basic principles and working towards more complex concepts. &lt;strong&gt;It will take me some time to complete this restructructing, so please be patient.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I&#39;ve also decided to update the individual entries in the blog and remove references that are specific to the class when I took it in 2008. Those comments are no longer relevant.&lt;br /&gt;
&lt;br /&gt;
I hope you enjoy this blog and benefit from it. If you have any questions, please feel free to email me at eliezerappleton at gmail dot com.&lt;br /&gt;
&lt;br /&gt;
Lecture 1&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/basic-definitions-ch-1.html&quot;&gt;Basic Definitions&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/presentational-statistics-ch-2.html&quot;&gt;Presentational Statistics&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-1-ch-3-descriptive-statistics.html&quot;&gt;Descriptive Statistics&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-1-pop-quiz-1.html&quot;&gt;Quiz #1&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/post-lecture-1-notes-and-research.html&quot;&gt;Lecture 1 - Additional Notes and Research&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 2&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-ch-3.html&quot;&gt;Using Standard Deviation&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-ch-3-shape-of-distribution.html&quot;&gt;Shape of the Distribution&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-ch-3-correlating-two-sets-of.html&quot;&gt;Correlating Two Sets of Data&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/more-on-covariance-and-correlation.html&quot;&gt;More on Covariance and Correlation Coefficient&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/sample-vs-population.html&quot;&gt;Sample vs. Population&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-ch-4-probability.html&quot;&gt;Basic Probability&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-ch-4-conditional-probability.html&quot;&gt;Conditional Probability&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-ch-4-independency.html&quot;&gt;Independency&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-2-pop-quiz-2.html&quot;&gt;Pop quiz #2&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/post-lecture-2-research-and-notes.html&quot;&gt;Post-lecture 2 notes and research&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 3&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-3-bayes-theorem.html&quot;&gt;Bayes&#39;s Theorem&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-3-counting-rules.html&quot;&gt;Counting Rules&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-3-ch-5-discrete-random.html&quot;&gt;Discrete Random Variables&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-3-ch-5-binomial-distribution.html&quot;&gt;Binomial Distribution&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-3-ch-5-poisson-distribution.html&quot;&gt;Poisson Distribution&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 4&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-4-ch-6-continuous-random.html&quot;&gt;Continuous Random Variables&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-4-ch-6-normal-distribution.html&quot;&gt;The Normal Distribution&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/01/lecture-4-ch-6-standard-normal.html&quot;&gt;The Standard Normal Distribution&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 5&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-5-ch-6b-7-and-8a-central-limit.html&quot;&gt;The Standard Normal Distribution (continued)&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-5-ch-6b-checking-for-normality.html&quot;&gt;Checking for Normality&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-5-ch-7-sampling-distributions.html&quot;&gt;Sampling Distributions&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-5-ch-8-confidence-interval.html&quot;&gt;Confidence Interval Estimation&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 6&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-6-ch-8b-confidence-interval-for.html&quot;&gt;Confidence Interval for the Mean with Known Std Dev&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-6-ch-8b-confidence-interval-for_15.html&quot;&gt;Confidence Interval for the Mean with Unknown Std Dev&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-6-ch-8b-confidence-interval-for_17.html&quot;&gt;Confidence Interval for the Mean - Examples and Minitab&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-6-ch-8c-determining-sample-size.html&quot;&gt;Determining Sample Size&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-6-ch-9-hypothesis-testing.html&quot;&gt;Hypothesis Testing&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/one-tail-hypothesis-testing.html&quot;&gt;One-Tail Hypothesis Testing&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 7 - Linear Regression&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-7-simple-linear-regression.html&quot;&gt;Simple Linear Regression&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/least-squares-method.html&quot;&gt;The Least Squares Method&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-7-assumptions-in-method-of.html&quot;&gt;Assumptions in the Method of Least Squares&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-7-coefficient-of-determination.html&quot;&gt;Coefficient of Determination&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Lecture 8 - Residual Analysis&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-8-residual-analysis-definition.html&quot;&gt;Definition of Residual Analysis&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/02/lecture-8-residual-analysis-checking.html&quot;&gt;Checking Linearity&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/03/lecture-8-residual-analysis-checking.html&quot;&gt;Checking the Normality Assumption&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/03/lecture-8-residual-analysis-checking_02.html&quot;&gt;Checking the Equal Variance Assumption&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/03/lecture-8-residual-analysis-checking_04.html&quot;&gt;Checking Independence of Errors&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/03/lecture-8-inferences-about-regression.html&quot;&gt;Inferences About the Regression Slope - Part 1&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/03/lecture-8-inferences-about-regression_04.html&quot;&gt;Inferences About the Regression Slope - Part 2&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gsb420.blogspot.com/2008/03/lecture-8-confidence-interval-for.html&quot;&gt;Confidence Interval for Ŷ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/2655018197698622658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/2655018197698622658?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2655018197698622658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2655018197698622658'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2011/11/new-gsb420-blog.html' title='The New GSB420 Blog'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-7089269468974548306</id><published>2008-03-28T16:36:00.002-05:00</published><updated>2008-03-28T16:38:31.564-05:00</updated><title type='text'>ECO 509 - Spring Quarter 2008</title><content type='html'>Next quarter (Spring 2008) I&#39;ll be taking ECO 509 - Business Conditions Analysis (aka Macroeconomics) with Professor Jaejoon Woo  (Wed night section).&lt;br /&gt;&lt;br /&gt;You can find the blog for ECO 509 at &lt;a href=&quot;http://eco509.blogspot.com&quot;&gt;http://eco509.blogspot.com&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/7089269468974548306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/7089269468974548306?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7089269468974548306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7089269468974548306'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/eco-509-spring-quarter-2008.html' title='ECO 509 - Spring Quarter 2008'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-613426970934741313</id><published>2008-03-14T08:50:00.002-05:00</published><updated>2008-03-14T12:20:07.565-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Final"/><title type='text'>Final Exam Recap</title><content type='html'>Well, it&#39;s finally over! Here&#39;s a recap of my random thoughts on the final exam:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In general, the final was harder than I expected. I&#39;m pretty sure I did well, but it was definitely harder than the midterm and harder than I thought it would be.&lt;/li&gt;&lt;li&gt;He hit us with 10 straight questions from Chapter 12 right out of the block! I expected to ease into it. The previous quarter&#39;s final was pretty linear - starting at chapter 7, then chapter 8, etc and not hitting chapter 12 until the last questions. I knew chapter 12 would be a big chunk of the exam, but I didn&#39;t expect him to lead off with it.&lt;/li&gt;&lt;li&gt;I think we were all pretty stumped by that one question (was it 9 or 10?) that had us calculate the intercept, b&lt;sub&gt;0&lt;/sub&gt;. I kept coming up with 100 for an answer, but it wasn&#39;t one of the choices. I saw Azzam go up and ask about something and figured it might be that. So I went up and asked also. I think we all breathed a sigh of relief when he made the change to the last two choices. BTW, I think he could have just changed Σ Y to be 100 and that would have made the intercept 40, which was one of the choices.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Probability of Type I errors? Sheesh! I didn&#39;t see that coming. The answer is that it&#39;s alpha, α.&lt;/li&gt;&lt;li&gt;I was surprised at the &quot;regular&quot; question that had us work out the regression from the raw data. I&#39;m almost positive I made some arithmetic mistakes in calculating the Σ(X&lt;sub&gt;i&lt;/sub&gt;-Xbar)(Y&lt;sub&gt;i&lt;/sub&gt;-Ybar) or Σ(X&lt;sub&gt;i&lt;/sub&gt;-Xbar)&lt;sup&gt;2&lt;/sup&gt; or one of the other calculations.&lt;/li&gt;&lt;li&gt;My answer for the &quot;west nile&quot; question was that we do &lt;span style=&quot;font-style: italic;&quot;&gt;not&lt;/span&gt; reject the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt; that the average # of cases is different than 3.&lt;/li&gt;&lt;li&gt;On the last question, part A, you had to assume (or somehow know through ESP or divine vision) that the level of confidence to use is 95%. You can calculate the t-score easily enough (I think I got something like 2.414), but draw any conclusions, you need to calculate the critical value for t&lt;sub&gt;α/2, n-1&lt;/sub&gt; which requires the level of confidence.&lt;/li&gt;&lt;li&gt;I &lt;span style=&quot;font-style: italic;&quot;&gt;knew&lt;/span&gt; there would be a Durbin-Watson question on the exam! My answer for that one was that there was &lt;span style=&quot;font-style: italic;&quot;&gt;not&lt;/span&gt; evidence of autocorrelation since the DW stat was greater than d&lt;sub&gt;U&lt;/sub&gt; and less than 2+d&lt;sub&gt;L&lt;/sub&gt;. I&#39;m not sure I was using the right d&lt;sub&gt;U&lt;/sub&gt; because I wasn&#39;t sure if I should use &amp;alpha; or &amp;alpha;/2 on the DW table. I used &amp;alpha; (which I think was 0.05).&lt;/li&gt;&lt;li&gt;As predicted, there were a few questions with Minitab output. No big surprises there.&lt;/li&gt;&lt;li&gt;In at least 2 of the questions (one multiple choice and one &quot;regular&quot;), he gave us the variance rather than the standard deviation. Tricky! I almost fell for that one.&lt;/li&gt;&lt;li&gt;One question asked us to determine sample size, given a confidence level, margin of error and standard deviation (or maybe variance). Using the formula, you calculate n=74.3 (something like that - not a round number). You had to know to round up, not truncate the decimal.&lt;/li&gt;&lt;li&gt;Higher confidence levels need wider intervals. You had to figure he would ask about that.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;If p is low, H&lt;sub&gt;0&lt;/sub&gt; must go! You could use that to answer one of the multiple choice question on p-value approach in hypothesis testing.&lt;/li&gt;&lt;/ul&gt;All in all, not a terrible test. Just harder than last quarter&#39;s final, IMHO. I&#39;m anxious to see how I did. I think he said he may have them graded by Monday. The multiple choice is easy to grade. I think he gives the &quot;regular&quot; questions to a Teaching Assistant. HW5 grades have not been posted to Blackboard yet.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/613426970934741313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/613426970934741313?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/613426970934741313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/613426970934741313'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/final-exam-recap.html' title='Final Exam Recap'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-5894057179814345857</id><published>2008-03-13T13:41:00.003-05:00</published><updated>2008-03-13T15:34:59.788-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Final"/><title type='text'>Final Exam Study Guide - Last Minute Notes</title><content type='html'>Just a couple of last minute thoughts:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;There were no example problems that used the Durbin-Watson statistic. That doesn&#39;t mean it won&#39;t be on the exam! The D-W table is part of the formula sheet, so I&#39;m expecting a question on it.&lt;/li&gt;&lt;li&gt;Remember that if DW is less than d&lt;sub&gt;L&lt;/sub&gt;, there&#39;s autocorrelation. If it&#39;s between d&lt;sub&gt;L&lt;/sub&gt; and d&lt;sub&gt;U&lt;/sub&gt;, it&#39;s inconclusive. If it&#39;s between d&lt;sub&gt;U&lt;/sub&gt; and 2+d&lt;sub&gt;L&lt;/sub&gt;, there&#39;s no autocorrelation. I doubt we&#39;ll be asked about the range from 2-4.&lt;/li&gt;&lt;li&gt;Review how to read those Minitab outputs! There&#39;s bound to be at least one on the exam. Remember that in Minitab output, SS stands from Sum of Squares. S stands for S&lt;sub&gt;YX&lt;/sub&gt;. The Coefficient of the Intercept is b&lt;sub&gt;0&lt;/sub&gt;. The Coefficient of the other (independent) variable is b&lt;sub&gt;1&lt;/sub&gt;. SE stands for standard error.&lt;/li&gt;&lt;li&gt;There weren&#39;t any practice problems on the confidence interval for mean/individual Y. I would expect one of those since the formulas are on the sheet. He&#39;ll probably give us h&lt;sub&gt;i&lt;/sub&gt; and S&lt;sub&gt;XY&lt;/sub&gt;. Remember to use n-2 when looking up the value for t in this case.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Remember that most of the answers can be derived from the data in the question and the formula sheet. You&#39;re not really expected to memorize very much. If you can&#39;t figure it out, look at the formula sheet.&lt;/li&gt;&lt;li&gt;Remember to bring a copy of the formula sheet,  a calculator and a #2 pencil. Don&#39;t laugh! I forgot a pencil for the midterm and ran out to Walgreen&#39;s a half hour before the exam.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/5894057179814345857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/5894057179814345857?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/5894057179814345857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/5894057179814345857'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/final-exam-study-guide-last-minute.html' title='Final Exam Study Guide - Last Minute Notes'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-7234065302006432023</id><published>2008-03-12T17:02:00.010-05:00</published><updated>2008-03-13T09:46:59.448-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Final"/><title type='text'>Final Exam Study Guide - Practice Questions - Part 2</title><content type='html'>In this post, I&#39;ll go over the answers to the &quot;regular&quot; questions from the last quarter&#39;s final. I&#39;ll also note which chapter the question is from.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 1 &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(Chapter 12)&lt;/span&gt;: &lt;/span&gt;You would like to estimate the income of a person based on his age. The following data shows the yearly income (in $1,000) and age of a sample of seven individuals.&lt;pre&gt;Income (in $1,000) Age&lt;br /&gt;20                 18&lt;br /&gt;24                 20&lt;br /&gt;24                 23&lt;br /&gt;25                 34&lt;br /&gt;26                 24&lt;br /&gt;27                 27&lt;br /&gt;34                 27&lt;br /&gt;&lt;/pre&gt;a. Develop the least squares regression equation.&lt;br /&gt;b. Estimate the yearly income of a 30-year-old individual.&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;a. In order to calculate b&lt;sub&gt;0&lt;/sub&gt; and b&lt;sub&gt;1&lt;/sub&gt;, we need to first calculate the mean of X (age) and Y (income).  For xbar, I calculated 24.71 and for ybar, I got 25.71. To calculate b&lt;sub&gt;1&lt;/sub&gt;, we need to calculate x&lt;sub&gt;i&lt;/sub&gt;-xbar and y&lt;sub&gt;i&lt;/sub&gt;-ybar for each i:&lt;br /&gt;&lt;pre&gt;Income Age x&lt;sub&gt;i&lt;/sub&gt;-xbar y&lt;sub&gt;i&lt;/sub&gt;-ybar (x&lt;sub&gt;i&lt;/sub&gt;-xbar)(y&lt;sub&gt;i&lt;/sub&gt;-ybar) (x&lt;sub&gt;i&lt;/sub&gt;-xbar)&lt;sup&gt;2&lt;/sup&gt;&lt;br /&gt;&lt;br /&gt;20     18  -6.71   -5.71        38.31          45.02&lt;br /&gt;24     20  -4.71   -1.71         8.05          22.18&lt;br /&gt;24     23  -1.71   -1.71         2.92           2.92&lt;br /&gt;25     34   9.29   -0.71        -6.60          86.30&lt;br /&gt;26     24  -0.71    0.29        -0.21           0.50&lt;br /&gt;27     27   2.29    1.29         2.95           5.24&lt;br /&gt;34     27   2.29    8.29        18.98           5.24&lt;br /&gt;&lt;/pre&gt;The sum of the (x&lt;sub&gt;i&lt;/sub&gt;-xbar)(y&lt;sub&gt;i&lt;/sub&gt;-ybar) is 64.4. The sum of the (x&lt;sub&gt;i&lt;/sub&gt;-xbar)&lt;sup&gt;2&lt;/sup&gt; is 167.4. Therefore, b&lt;sub&gt;1&lt;/sub&gt; is 64.4/167.4 = 0.38.&lt;br /&gt;We can also calculate b&lt;sub&gt;0&lt;/sub&gt; = ybar - b&lt;sub&gt;1&lt;/sub&gt;xbar = 25.71 - (0.38)(24.71) = 16.2.&lt;br /&gt;Therefore, the regression equation is y = 16.2 + 0.38x.&lt;br /&gt;&lt;br /&gt;b. Use the equation to estimate y for x=30:&lt;br /&gt;y = 16.2 + 0.38(30) = 27.6, which is $27,600 annual income.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 2 &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;(Chapter 12)&lt;/span&gt;:&lt;/span&gt; Below you are given a partial computer output based on a sample of 8 observations, relating an independent variable (x) and a dependent variable (y).&lt;pre&gt;              &lt;span style=&quot;font-weight: bold;&quot;&gt;Coefficient Standard Error&lt;/span&gt;&lt;br /&gt;Intercept     13.251      10.77&lt;br /&gt;X             0.803       0.385&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Analysis of Variance&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;SOURCE            SS&lt;/span&gt;&lt;br /&gt;Regression&lt;br /&gt;Error (Residual)  41.674&lt;br /&gt;Total             71.875&lt;/pre&gt;a. Develop the estimated regression line.&lt;br /&gt;b. At α = 0.05, test for the significance of the slope.&lt;br /&gt;c. Determine the coefficient of determination (R&lt;sup&gt;2&lt;/sup&gt;).&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;a. This one&#39;s a lot easier than #1. No calculations necessary, just the ability to pull b&lt;sub&gt;0&lt;/sub&gt; and b&lt;sub&gt;1&lt;/sub&gt; out of the computer output. They&#39;re the coefficients of the intercept and X. So the regression equation becomes:&lt;br /&gt;y = 13.251 + 0.803x&lt;br /&gt;&lt;br /&gt;b. The t score for the slope is t = b&lt;sub&gt;1&lt;/sub&gt;/s&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;.&lt;br /&gt;From part a, we know that b&lt;sub&gt;1&lt;/sub&gt; = 0.803.&lt;br /&gt;s&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; is given in the computer output as the standard error of x = 0.385.&lt;br /&gt;Therefore, t = 0.803/0.385 = 2.086.&lt;br /&gt;Looking at the t distribution table for n-2=6 and α/2=0.025, we find a critical t value of 2.447. Since the t score of 2.086 is less than 2.447, we do not reject the null hypothesis that there is &lt;span style=&quot;font-style: italic;&quot;&gt;no&lt;/span&gt; linear relationship.&lt;br /&gt;&lt;br /&gt;c. r&lt;sup&gt;2&lt;/sup&gt; = SSR/SST. But SSR was conveniently removed from the computer output. We need to calculate it from SSR = SST-SSE = 71.875-41.674 = 30.201.&lt;br /&gt;Therefore, r&lt;sup&gt;2&lt;/sup&gt; = 30.201/71.875 = 0.42.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 3 (&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;Chapter 9&lt;/span&gt;):&lt;/span&gt; A sample of 81 account balances of a credit company showed an average balance of $1,200 with a standard deviation of $126.&lt;br /&gt;a. Formulate the hypotheses that can be used to determine whether the mean of all account balances is significantly different from $1,150.&lt;br /&gt;b. Let α = .05. Using the critical value approach what is your conclusion?&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;a. Since we want to know if the mean is &quot;significantly different&quot; from $1,150, the null hypothesis is that it &lt;span style=&quot;font-style: italic;&quot;&gt;is&lt;/span&gt; $1,150.&lt;br /&gt;H&lt;sub&gt;0&lt;/sub&gt;: μ = 1150&lt;br /&gt;H&lt;sub&gt;1&lt;/sub&gt;: μ ≠ 1150&lt;br /&gt;&lt;br /&gt;b. Since we don&#39;t have the population standard deviation, use the t test statistic.&lt;br /&gt;t = (xbar-μ&lt;sub&gt;0&lt;/sub&gt;)/(s/√n)&lt;br /&gt;= (1200-1150)/(126/√81)&lt;br /&gt;= 50/14&lt;br /&gt;= 3.57&lt;br /&gt;The critical value for t for 80 degrees of freedom and &amp;amp;alpha/2=0.025 is 1.990.&lt;br /&gt;Since the t-value=3.57 is greater than the critical value of 1.990, we reject H&lt;sub&gt;0&lt;/sub&gt; and conclude that the mean is significantly different from $1,150.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 4 (&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;Chapter 8&lt;/span&gt;):&lt;/span&gt; A statistician selected a sample of 16 accounts receivable and determined the mean of the sample to be $5,000 with a sample standard deviation of $400. He reported that the sample information indicated the mean of the population ranges from $4,739.80 to $5,260.20. He neglected to report what confidence level (1-a) he had used. Based on the above information, determine the confidence level that was used.&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; The statistician is reporting a confidence interval of 5000 ± 260.20. He only mentions the sample standard deviation (not the population std dev), so he must be using the t-distribution and the formula: xbar ± t&lt;sub&gt;n-1, α/2&lt;/sub&gt;(s/√n).&lt;br /&gt;&lt;br /&gt;So we have:&lt;br /&gt;260.2 = t(s/√n)&lt;br /&gt;260.2 = t (400/√16)&lt;br /&gt;260.2 = 100t&lt;br /&gt;t = 2.602&lt;br /&gt;&lt;br /&gt;We look to the t distribution table and find that t&lt;sub&gt;15, α/2&lt;/sub&gt; = 2.602 is true for α/2 = 0.01. So α = 0.02 and the confidence level is 1-0.02 = 0.98 = 98%.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 5 (&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;Chapter 12&lt;/span&gt;):&lt;/span&gt; The director of graduate studies at a college of business would like to predict the grade point index (GPI) of students in an MBA program based on their GMAT scores. A sample of 20 students is selected. The result of the regression is summarized in the following Minitab output.&lt;pre&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Regression Analysis: GPI versus GMAT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The regression equation is&lt;br /&gt;GPI = 0.300 + 0.00487 GMAT&lt;br /&gt;&lt;br /&gt;Predictor         Coef         SE Coef         T&lt;br /&gt;Constant        0.3003          0.3616      0.83&lt;br /&gt;GMAT         0.0048702           [ N ]     [ M ]&lt;br /&gt;&lt;br /&gt;S = 0.155870 R-Sq = 79.8%&lt;br /&gt;&lt;br /&gt;Analysis of Variance&lt;br /&gt;&lt;br /&gt;Source             DF         SS         MS         F         P&lt;br /&gt;Regression          1     1.7257     1.7257     71.03     0.000&lt;br /&gt;Residual Error     18     0.4373     0.0243&lt;br /&gt;Total              19     2.1631&lt;/pre&gt;a) Given that Σ(X&lt;sub&gt;i&lt;/sub&gt;-xbar)&lt;sup&gt;2&lt;/sup&gt; = 72757.2 , where X = GMAT, compute N.&lt;br /&gt;b) Compute M and interpret the result. In particular do we reject the underlying hypothesis (which hypothesis) or not?&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;a.&lt;/span&gt; N is what we usually call the standard error of the slope, s&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;. (This is the hardest part of the problem - figuring out what&#39;s missing in the Minitab output.) From the formula sheet, we know:&lt;br /&gt;s&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; = S&lt;sub&gt;XY&lt;/sub&gt;/√SSX&lt;br /&gt;&lt;br /&gt;We&#39;re given SSX, but we need to calculate S&lt;sub&gt;XY&lt;/sub&gt; from the formula:&lt;br /&gt;S&lt;sub&gt;XY&lt;/sub&gt; = √(SSE/(n-2)).&lt;br /&gt;&lt;br /&gt;We have SSE from the output: SSE = 0.4373. So,&lt;br /&gt;S&lt;sub&gt;XY&lt;/sub&gt; = √(0.4373/18) = 0.156&lt;br /&gt;&lt;br /&gt;Therefore,&lt;br /&gt;s&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; = 0.156/√72757.2 = 0.156/269.7 = 0.00058&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;b.&lt;/span&gt; M is the t-score for the slope which is given by:&lt;br /&gt;t = b&lt;sub&gt;1&lt;/sub&gt;/s&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;&lt;br /&gt;= 0.0048702/0.00058&lt;br /&gt;= 8.4&lt;br /&gt;&lt;br /&gt;The critical value for t for 18 degrees of freedom and α/2=0.005 is 2.878. Therefore, since our t-score is greater than the critical t-value, we would reject the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt;: μ=0.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/7234065302006432023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/7234065302006432023?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7234065302006432023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7234065302006432023'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/final-exam-study-guide-practice_12.html' title='Final Exam Study Guide - Practice Questions - Part 2'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-2841069202858984079</id><published>2008-03-10T12:44:00.021-05:00</published><updated>2008-03-13T12:37:44.271-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Final"/><title type='text'>Final Exam Study Guide - Practice Questions</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 1:&lt;/span&gt; A population has a standard deviation of 16. If a sample of size 64 is selected from this population, what is the probability that the sample mean will be within ±2 of the population mean?&lt;br /&gt;a. 0.6826&lt;br /&gt;b. 0.3413&lt;br /&gt;c. -0.6826&lt;br /&gt;d. Since the mean is not given, there is no answer to this question.&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;We need to calculate the z-score for the ±2 interval. In order to do that, we need the standard error of the mean, σ/√n = 16/sqrt(64) = 2.&lt;br /&gt;So when we&#39;re asked for the probability that the sample mean is ±2 from the population mean, it&#39;s asking for the probability of the mean being within 1 standard error. Even without looking it up in the table, we know that the answer must be A - both from our experience that 68% of the data fall within 1 std dev, and because the other answers are unreasonable.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 2:&lt;/span&gt; The fact that the sampling distribution of sample means can be approximated by a normal probability distribution whenever the sample size is large is based on the&lt;br /&gt;a. central limit theorem&lt;br /&gt;b. fact that we have tables of areas for the normal distribution&lt;br /&gt;c. assumption that the population has a normal distribution&lt;br /&gt;d. None of these alternatives is correct.&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; There&#39;s not much to say here. The statement is essentially the definition of the Central Limit Theorem, see page 213. The sample size must be approximately 30 for this to hold for all distributions.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 3:&lt;/span&gt; A population has a mean of 53 and a standard deviation of 21. A sample of 49 observations will be taken. The probability that the sample mean will be greater than&lt;br /&gt;57.95 is&lt;br /&gt;a. 0&lt;br /&gt;b. .0495&lt;br /&gt;c. .4505&lt;br /&gt;d. .9505&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; Find the z-score of this mean: (57.95-53)/(21/sqrt(49)) = 4.95/3 = 1.65. So the question becomes: What&#39;s the probability of an observation being more than 1.65 std devs from the mean. You know it can&#39;t be much. It&#39;s greater than 0. Answer B is the only logical one. Of course, when we go to the cumulative normal distribution table, we find that 1.65 has 0.9505 area, so the area to the right of 1.65 is 0.0495.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 4:&lt;/span&gt; Suppose a sample of n = 50 items is drawn from a population of manufactured products and the weight, X, of each item is recorded. Prior experience has shown that the weight has a probability distribution with mu = 6 ounces and sigma = 2.5 ounces. Which of the following is true about the sampling distribution of the sample mean if a sample of size &lt;span style=&quot;font-weight: bold;&quot;&gt;50&lt;/span&gt; is selected?&lt;br /&gt;a) The mean of the sampling distribution is 6 ounces.&lt;br /&gt;b) The standard deviation of the sampling distribution is 2.5 ounces.&lt;br /&gt;c) The shape of the sample distribution is approximately normal.&lt;br /&gt;d) All of the above are correct.&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;A is  true. Although when you take a single sample, its mean is not necessarily equal to the population mean, nonetheless, the mean of the sampling distribution (of &lt;span style=&quot;font-style: italic;&quot;&gt;all&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt; samples&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;) will tend toward the population mean as n increases.&lt;br /&gt;B is also not necessarily true. The standard deviation of the sample is not necessarily equal to the population standard deviation. It is usually smaller by a factor of 1/&amp;amp;radicn.&lt;br /&gt;C is not true. The central limit theorem tells us that when the sample size is ≥30, the distribution &lt;span style=&quot;font-style: italic;&quot;&gt;of the sample mean&lt;/span&gt; is approximately normal. However, the shape of the sample distribution itself is not necessarily normal.&lt;br /&gt;D is clearly not true since B and C are not true.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 5:&lt;/span&gt; The owner of a fish market has an assistant who has determined that the weights of catfish are normally distributed, with mean of 3.2 pounds and standard deviation of 0.8 pound. If a sample of 25 fish yields a mean of 3.6 pounds, what is the Z-score for this observation?&lt;br /&gt;a) 18.750&lt;br /&gt;b) 2.500&lt;br /&gt;c) 1.875&lt;br /&gt;d) 0.750&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt;&lt;br /&gt;When evaluating the sample mean,&lt;br /&gt;z = (xbar-μ)/(σ/√n) &lt;span style=&quot;font-weight: bold;&quot;&gt;Note:&lt;/span&gt; This formula is &lt;span style=&quot;font-style: italic;&quot;&gt;not&lt;/span&gt; on the sheet.&lt;br /&gt;= (3.6-3.2)/(0.8/√25)&lt;br /&gt;= 0.4/0.16&lt;br /&gt;= 2.5&lt;br /&gt;So, answer B is correct.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 6:&lt;/span&gt; A 95% confidence interval for a population mean is determined to be 100 to 120. If the confidence coefficient is reduced to 0.90, the interval for mu&lt;br /&gt;a. becomes narrower&lt;br /&gt;b. becomes wider&lt;br /&gt;c. does not change&lt;br /&gt;d. becomes 0.1&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer: &lt;/span&gt;No calculations are necessary here. It&#39;s completely conceptual. The general rule is: A higher level of confidence requires a wider confidence interval. Therefore, if we reduce the level of confidence to 90%, the confidence interval can be narrower. Answer A is the correct answer.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;Exhibit 8-3&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;The manager of a grocery store has taken a random sample of 100 customers. The average length of time it took these 100 customers to check out was 3.0 minutes. It is known that the standard deviation of the population of checkout times is 1 minute.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 7:&lt;/span&gt; Refer to Exhibit 8-3. The standard error of the mean equals&lt;br /&gt;a. 0.001&lt;br /&gt;b. 0.010&lt;br /&gt;c. 0.100&lt;br /&gt;d. 1.000&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; The standard error of the mean is:&lt;br /&gt;σ/√n = 1/√100 = 1/10 = 0.1&lt;br /&gt;The correct answer is C.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 8: &lt;/span&gt;Refer to Exhibit 8-3. With a .95 probability, the sample mean will provide a margin of error of&lt;br /&gt;a. 1.96&lt;br /&gt;b. 0.10&lt;br /&gt;c. 0.196&lt;br /&gt;d. 1.64&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; The margin of error is the plus/minus term in the confidence interval. In this case, since we know the population standard deviation, the margin of error term is:&lt;br /&gt;z&lt;sub&gt;α/2&lt;/sub&gt;(σ/√n)&lt;br /&gt;From the z-table, we find that z&lt;sub&gt;0.025&lt;/sub&gt; = 1.96&lt;br /&gt;Therefore,&lt;br /&gt;margin of error, E = 1.96(1/√100) = 0.196&lt;br /&gt;Answer C is correct.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 12:&lt;/span&gt; When the following hypotheses are being tested at a level of significance of α&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;H&lt;sub&gt;0&lt;/sub&gt;: μ ≥ 100 H&lt;sub&gt;a&lt;/sub&gt;: μ &amp;lt; 100&lt;br /&gt;&lt;/div&gt;the null hypothesis will be rejected if the p-value is&lt;br /&gt;a. &amp;lt; α&lt;br /&gt;b. &amp;gt; α&lt;br /&gt;c. &amp;gt; α/2&lt;br /&gt;d. &amp;lt; α/2  &lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; First, we notice that this is a one-tailed hypothesis test. The rejection region is entirely to one side of the mean.&lt;br /&gt;Our general rule is &lt;span style=&quot;font-weight: bold;&quot;&gt;If p is low, H&lt;sub&gt;0&lt;/sub&gt; must go.&lt;/span&gt; So, if p is less than α, we reject the null hypothesis. Answer A is correct.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 13:&lt;/span&gt; In order to test the following hypotheses at an α level of significance&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;H&lt;sub&gt;0&lt;/sub&gt;: μ ≤ 100 H&lt;sub&gt;a&lt;/sub&gt;: μ &amp;gt; 100&lt;br /&gt;&lt;/div&gt;the null hypothesis will be rejected if the test statistic Z is&lt;br /&gt;a. &amp;gt; Z&lt;sub&gt;α&lt;/sub&gt;&lt;br /&gt;b. &amp;lt; Z&lt;sub&gt;α&lt;/sub&gt;&lt;br /&gt;c. &amp;lt; -Z&lt;sub&gt;α&lt;/sub&gt;&lt;br /&gt;d. &amp;gt;  Z&lt;sub&gt;α&lt;/sub&gt;/2&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer: &lt;/span&gt;We&#39;ve got a one-tailed hypothesis again. This time, the rejection region is in the right-hand tail. Therefore, we reject H&lt;sub&gt;0&lt;/sub&gt; if the test statistic is more extreme (i.e. further to the right) than the Z&lt;sub&gt;α&lt;/sub&gt;. So answer A is correct.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 14:&lt;/span&gt; Your investment executive claims that the average yearly rate of return on the stocks she recommends is more than 10.0%. She takes a sample to prove her claim. The correct set of hypotheses is&lt;br /&gt;a. H&lt;sub&gt;0&lt;/sub&gt;: μ = 10.0%  H&lt;sub&gt;a&lt;/sub&gt;: μ ≠ 10.0%&lt;br /&gt;b. H&lt;sub&gt;0&lt;/sub&gt;: μ ≤ 10.0% H&lt;sub&gt;a&lt;/sub&gt;: μ &amp;gt; 10.0%&lt;br /&gt;c. H&lt;sub&gt;0&lt;/sub&gt;: μ ≥ 10.0% H&lt;sub&gt;a&lt;/sub&gt;: μ &amp;lt; 10.0%&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; I don&#39;t really like this question because it sounds like she&#39;s making a claim based on a status quo of the return rate being &amp;gt; 10%. Since the null hypothesis is about the status quo, I&#39;m tempted to pick answer C. Unfortunately, that&#39;s not the right way to look at it in this case.&lt;br /&gt;&lt;br /&gt;Rather, since her claim is that the return is &lt;span style=&quot;font-style: italic;&quot;&gt;greater than&lt;/span&gt; 10%, which does not contain an equal sign, that must be the alternative hypothesis, H&lt;sub&gt;a&lt;/sub&gt;. Therefore, the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt;, is μ ≤ 10%. Answer B is correct.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 15:&lt;/span&gt; A soft drink filling machine, when in perfect adjustment, fills the bottles with 12 ounces of soft drink. Any over filling or under filling results in the shutdown and readjustment of the machine. To determine whether or not the machine is properly adjusted, the correct set of hypotheses is&lt;br /&gt;a. H&lt;sub&gt;0&lt;/sub&gt;: μ &amp;gt; 12  H&lt;sub&gt;a&lt;/sub&gt;: μ ≤ 12&lt;br /&gt;b. H&lt;sub&gt;0&lt;/sub&gt;: μ ≤ 12 H&lt;sub&gt;a&lt;/sub&gt;: μ &amp;gt; 12&lt;br /&gt;c. H&lt;sub&gt;0&lt;/sub&gt;: μ = 12  H&lt;sub&gt;a&lt;/sub&gt;: μ ≠ 12&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; This one&#39;s a gimme. The null hypothesis H&lt;sub&gt;0&lt;/sub&gt; is that the machine is continuing to work properly and μ = 12. The alternative hypothesis, H&lt;sub&gt;a&lt;/sub&gt; is that it is filling with some other mean volume and μ ≠ 12. Correct answer is C.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 16:&lt;/span&gt; A two-tailed test is performed at 95% confidence. The p-value is determined to be 0.11.&lt;br /&gt;The null hypothesis&lt;br /&gt;a. must be rejected&lt;br /&gt;b. should not be rejected&lt;br /&gt;c. could be rejected, depending on the sample size&lt;br /&gt;d. has been designed incorrectly&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; Since the level of significance is 5%, the combined area of the two-tailed rejection region is 0.05. I.e., 0.025 in either tail. The p-value is 0.11. We remember our mantra: &lt;span style=&quot;font-weight: bold;&quot;&gt;If p is low, H&lt;sub&gt;0&lt;/sub&gt; must go!&lt;/span&gt; But p is &lt;span style=&quot;font-style: italic;&quot;&gt;not&lt;/span&gt; lower than 0.05. Therefore, we do not reject H&lt;sub&gt;0&lt;/sub&gt; and answer B is correct.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 17:&lt;/span&gt; For a one-tailed hypothesis test (upper tail) the p-value is computed to be 0.034. If the test is being conducted at 95% confidence, the null hypothesis&lt;br /&gt;a. could be rejected or not rejected depending on the sample size&lt;br /&gt;b. could be rejected or not rejected depending on the value of the mean of the sample&lt;br /&gt;c. is not rejected&lt;br /&gt;d. is rejected&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; Level of significance is 5% = 0.05. p is 0.034. Repeat after me: If p is low, H&lt;sub&gt;0&lt;/sub&gt; must go! In this case, yes, p is lower than the level of significance and therefore H&lt;sub&gt;0&lt;/sub&gt; is rejected. Answer D is correct.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Note:&lt;/span&gt; If this had been a two-tailed test, then the 0.05 rejection region would have been split between the two tails, each having 0.025. In that case, it&#39;s not clear whether p = 0.034 is lower than 0.025 unless we know whether p was calculated on one side (as we did in class) or on both sides (as is done in the textbook). I asked Prof. Selcuk about this in an email and he replied that he would avoid such ambiguous cases on the final exam.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;Exhibit 9-1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;n = 36&lt;br /&gt;xbar = 24.6&lt;br /&gt;S = 12&lt;br /&gt;H&lt;sub&gt;0&lt;/sub&gt;: μ ≤ 20&lt;br /&gt;H&lt;sub&gt;a&lt;/sub&gt;: μ &amp;gt; 20&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 18:&lt;/span&gt; Refer to Exhibit 9-1. The test statistic (t-score of xbar) is&lt;br /&gt;a. 2.3&lt;br /&gt;b. 0.38&lt;br /&gt;c. -2.3&lt;br /&gt;d. -0.38&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer: &lt;/span&gt;The formula (on the formula sheet) for the t test statistic is:&lt;br /&gt;t = (xbar - μ&lt;sub&gt;0&lt;/sub&gt;)/(s/√n)&lt;br /&gt;= (24.6-20)/(12/√36)&lt;br /&gt;= 4.6/2 = 2.3&lt;br /&gt;A is the correct answer.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 19:&lt;/span&gt; Refer to Exhibit 9-1. If the test is done at 95% confidence, the null hypothesis should&lt;br /&gt;a. not be rejected&lt;br /&gt;b. be rejected&lt;br /&gt;c. Not enough information is given to answer this question.&lt;br /&gt;d. None of these alternatives is correct.&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; This question is tricky because we don&#39;t know if it&#39;s a one-tail or two-tail test. First, assume it&#39;s a one-tail test, i.e. the entire rejection region is in one tail. Refer to the t distribution table and look up the t value for 35 degrees of freedom and a 0.05 area in the tail. We find that t value to be approximately 1.69. Our t test statistic is 2.3 which is greater than 1.69, indicating that we should reject the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;Just to be sure, let&#39;s assume that&#39;s it&#39;s a two-tail test, so the rejection region is only 0.025 on each side. Referring to the t distribution table again, we find the t value for 35 degrees of freedom and a 0.025 area is approximately 2.03. Again, our t test statistic is more extreme than the critical t value. Therefore, reject the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;Answer B is correct.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 20:&lt;/span&gt; In regression analysis if the dependent variable is measured in dollars, the independent variable&lt;br /&gt;a. must also be in dollars&lt;br /&gt;b. must be in some units of currency&lt;br /&gt;c. can be any units&lt;br /&gt;d. can not be in dollars&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; This is entirely conceptual. The dependent and independent variables are entirely independent of each other. Think of the site.mtw example that we were using extensively in class. The dependent variable was store sales (measured in dollars) and the independent variable was the size of the store (measured in square feet). The correct answer is C - the independent variable can be in any units.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 21:&lt;/span&gt; In a regression analysis, if SST=4500 and SSE=1575, then the coefficient of determination (R&lt;sup&gt;2&lt;/sup&gt;) is&lt;br /&gt;a. 0.35&lt;br /&gt;b. 0.65&lt;br /&gt;c. 2.85&lt;br /&gt;d. 0.45&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer: &lt;/span&gt;Since SST=SSE+SSR, SSR=4500-1575=2925. And R&lt;sup&gt;2&lt;/sup&gt;=SSR/SST=2925/4500=0.65. Therefore, answer B is correct.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 22: &lt;/span&gt;Regression analysis was applied between sales (Y in $1,000) and advertising (X in $100), and the following estimated regression equation was obtained.&lt;br /&gt;Y-hat = 80 + 6.2 X&lt;br /&gt;Based on the above estimated regression line, if advertising is $10,000, then the point estimate for sales (in dollars) is&lt;br /&gt;a. $62,080&lt;br /&gt;b. $142,000&lt;br /&gt;c. $700&lt;br /&gt;d. $700,000&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; When a question is this easy, you know there&#39;s some sort of trick. &lt;span style=&quot;font-weight: bold; color: rgb(0, 0, 153);&quot;&gt;Watch your units!!&lt;/span&gt; Since X is in &lt;span style=&quot;font-style: italic;&quot;&gt;hundreds &lt;/span&gt;of dollars, plug in 100 in the regression equation. Y = 80 + 6.2(100) = 700. Y is in &lt;span style=&quot;font-style: italic;&quot;&gt;thousands &lt;/span&gt;of dollars. Therefore, the point estimate for sales in dollars is $700,000 - answer D.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 23:&lt;/span&gt; If the coefficient of correlation is a positive value, then&lt;br /&gt;a. the intercept must also be positive&lt;br /&gt;b. the coefficient of determination (R2) can be either negative or positive, depending on the value of the slope&lt;br /&gt;c. the regression equation could have either a positive or a negative slope&lt;br /&gt;d. the slope of the line must be positive&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer: &lt;/span&gt;We learned about the coefficient of correlation way back in Chapter 3. It&#39;s a measure of the strength of the linear relationship between x and y. Its values range from -1 to 1. Values close to -1 or 1 indicate a strong linear relationship, either negative or positive.&lt;br /&gt;&lt;br /&gt;Answer A is incorrect because the coefficient of correlation tells us nothing about the intercept.&lt;br /&gt;Answer B is incorrect because the coefficient of determination (r&lt;sup&gt;2&lt;/sup&gt;) can only be positive. r&lt;sup&gt;2&lt;/sup&gt; = SSR/SST and both SSR and SST are positive (since they&#39;re both sums of squares), so r&lt;sup&gt;2&lt;/sup&gt; must be positive.&lt;br /&gt;Answer C is incorrect because a positive coefficient of correlation indicates a positive relationship which would be modeled with a positive slope.&lt;br /&gt;Answer D is correct.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153); font-weight: bold;&quot;&gt;Exhibit 14-10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;The following information regarding a dependent variable Y and an independent variable X is&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;provided.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;∑ X = 16         ∑ (x-xbar)(y-ybar) = -8&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;∑ Y = 28         ∑ (x-xbar)&lt;sup&gt;2&lt;/sup&gt; = 8&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;n = 4&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 24:&lt;/span&gt; Refer to Exhibit 14-10. The slope of the regression function is&lt;br /&gt;a. -1&lt;br /&gt;b. 1.0&lt;br /&gt;c. 11&lt;br /&gt;d. 0.0&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer:&lt;/span&gt; On the formula sheet we have the formula for the regression slope, b&lt;sub&gt;1&lt;/sub&gt;:&lt;br /&gt;b&lt;sub&gt;1&lt;/sub&gt; = ∑ (x-xbar)(y-ybar) / ∑ (x-xbar)&lt;sup&gt;2&lt;/sup&gt;  = -8/8 = -1.&lt;br /&gt;So answer A is correct.&lt;br /&gt;&lt;blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Question 25:&lt;/span&gt; Refer to Exhibit 14-10. The intercept of the regression line is&lt;br /&gt;a. -1&lt;br /&gt;b. 1.0&lt;br /&gt;c. 11&lt;br /&gt;d. 0.0&lt;/blockquote&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Answer: &lt;/span&gt;Again, the formula sheet gives us the computation for the intercept, b&lt;sub&gt;0&lt;/sub&gt;:&lt;br /&gt;b&lt;sub&gt;0&lt;/sub&gt; = ybar - b&lt;sub&gt;1&lt;/sub&gt;xbar = (28/4) - (-1)(16/4) = 7 + 4 = 11.&lt;br /&gt;So answer C is correct.&lt;br /&gt;&lt;br /&gt;More answers to sample problems to come. (I&#39;m kinda jumping around for now.)</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/2841069202858984079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/2841069202858984079?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2841069202858984079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2841069202858984079'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/final-exam-study-guide-practice.html' title='Final Exam Study Guide - Practice Questions'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-3154355167306003789</id><published>2008-03-10T10:23:00.005-05:00</published><updated>2008-11-13T00:06:31.782-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Final"/><title type='text'>Final Exam Study Guide - Analysis of Prior Exam Questions</title><content type='html'>Looking at last quarter&#39;s exam gives us some insight as to what to expect on our final. The most important piece is that it provides practice questions at the level we&#39;ll be expected to perform. It is extremely worthwhile to do these problems on your own and make sure you understand the answer.*&lt;br /&gt;&lt;br /&gt;Another interesting insight that we gain from the sample exam is the distribution of questions. Here&#39;s what I came up for the number of questions per chapter and the number of points associated with those questions:&lt;br /&gt;&lt;pre&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; &quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAb2en8FGOAqhtHI6j0rMDZy4lm9DvyLtKJhHaKmjHoxE5BOCVKBBJNWP-_5VeuWrPRia0GG59J-wROOoI-keEseNNP6zy2q_4UTOk01yEkvhvULH_e8TQz73MjiHqmwbXFQBayaELorAP/s200/ChapterPoints.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5176137105263601122&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;          Mult    Short   Total&lt;br /&gt;Chapter   Choice  Answer  Points&lt;br /&gt;7         6       0       12&lt;br /&gt;8         5       1       20&lt;br /&gt;9         8       1       26&lt;br /&gt;12        6       3       42&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;We&#39;ll probably have a few questions from Chapter 6 thrown in, but those will probably be relatively easy compared to the more advanced material. These numbers tell me one thing for sure: Chapter 12 is really important!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;*For the record: If you noticed that I didn&#39;t stick around for the in-class review off the sample final on Thursday, it&#39;s &lt;span style=&quot;font-style: italic;&quot;&gt;not&lt;/span&gt; because I think I know all this stuff! Just the opposite. Almost all of this material is new to me and I wanted to work through all the questions &lt;span style=&quot;font-style: italic;&quot;&gt;on my own&lt;/span&gt; without having heard the answer already solved by someone else.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/3154355167306003789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/3154355167306003789?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/3154355167306003789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/3154355167306003789'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/final-exam-study-guide-analysis-of.html' title='Final Exam Study Guide - Analysis of Prior Exam Questions'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAb2en8FGOAqhtHI6j0rMDZy4lm9DvyLtKJhHaKmjHoxE5BOCVKBBJNWP-_5VeuWrPRia0GG59J-wROOoI-keEseNNP6zy2q_4UTOk01yEkvhvULH_e8TQz73MjiHqmwbXFQBayaELorAP/s72-c/ChapterPoints.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-2109823498495990281</id><published>2008-03-10T09:05:00.011-05:00</published><updated>2008-11-13T00:06:31.978-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Final"/><title type='text'>Final Exam Study Guide - Outline</title><content type='html'>&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdlWClY3tyJMc24k0DpOp0axs8xGXWwW-AwqbyKzfTrtrrN5xdGi4cBeYBEoQPjMcvBKsRHIxp_2mqnQGhO4JBm_0G-D2SutFEjR4XWhK0PJOydnCGnd8skHOP0eI_wypxOpA9Su4c6rLN/s200/Studying.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5176131268403045842&quot; border=&quot;0&quot; /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Final Exam Study Guide&lt;/span&gt;&lt;br /&gt;There&#39;s a lot of material to review for our final exam. In order to study for the final, I&#39;m going through all the chapters that will be covered (6, 7, 8, 9 and 12) and pulling out the important points from each one. I&#39;ve basically written them up as &quot;learning objectives&quot; for each chapter. Also since we didn&#39;t cover every section of every chapter, I&#39;ve listed the sections that we &lt;span style=&quot;font-style: italic;&quot;&gt;did&lt;/span&gt; cover.&lt;br /&gt;&lt;br /&gt;Here&#39;s my outline as it stands so far:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Chapter 6 - The Normal Distribution&lt;/span&gt;&lt;br /&gt;6.1&lt;br /&gt;Understand the concept of a continuous probability distribution and the difference between continuous and discrete probability distributions.      &lt;br /&gt;&lt;br /&gt;6.2&lt;br /&gt;Understand the normal and standard normal distributions.&lt;br /&gt;Calculate the z score for any given X.&lt;br /&gt;Read the standard normal distribution table and answer questions of the form:&lt;br /&gt;P(X&amp;lt;a)&lt;br /&gt;P(X&amp;gt;a)&lt;br /&gt;P(a&amp;lt;X&amp;lt;b)&lt;br /&gt;&lt;br /&gt;6.3&lt;br /&gt;Use the normal probability plot to evaluate normality of data.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Chapter 7 - Sampling Distributions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7.1&lt;br /&gt;Understand the concept of a sampling distribution.&lt;br /&gt;&lt;br /&gt;7.2&lt;br /&gt;Calculate z-scores for xbar using the standard error of the mean: σ/√n&lt;br /&gt;Understand the Central Limit Theorem.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Chapter 8 - Confidence Intervals&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8.1&lt;br /&gt;Construct a confidence interval for the population mean, given a sample mean, &lt;i style=&quot;&quot;&gt;population&lt;/i&gt; standard deviation, sample size and level of confidence.&lt;br /&gt;Know that a high level of confidence requires a wider confidence interval.&lt;br /&gt;&lt;br /&gt;8.2&lt;br /&gt;Construct a confidence interval for the population mean, given the sample mean, &lt;i style=&quot;&quot;&gt;sample&lt;/i&gt; standard deviation, sample size and level of confidence.&lt;br /&gt;Know that for the t statistic, the degrees of freedom is n-1.&lt;br /&gt;Read the t-table to find the critical value for a given level of confidence and degrees of freedom.&lt;br /&gt;&lt;br /&gt;8.4&lt;br /&gt;Calculate the sample size required for a given margin of error and level of confidence.&lt;br /&gt;Know that a smaller margin of error requires a larger sample size.&lt;br /&gt;Know that a higher level of confidence requires a larger sample size.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Chapter 9 – Hypothesis Testing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;9.1&lt;br /&gt;Understand the concept of the null and alternative hypotheses.&lt;br /&gt;Construct null and alternative hypotheses based on a description of the test.&lt;br /&gt;Understand the concepts of rejection and non-rejection regions.&lt;br /&gt;Understand the level of significance, alpha, of a hypothesis test.&lt;br /&gt;&lt;br /&gt;9.2&lt;br /&gt;Know the difference between a one-tailed and two-tailed hypothesis test.&lt;br /&gt;Calculate critical values for the rejection and non-rejection regions for both one-tailed and two-tailed tests.&lt;br /&gt;Calculate the z test statistic and compare to critical values to make a decision whether or not to reject the null hypothesis.&lt;br /&gt;Calculate the p-value and compare to the level of significance to make a decision whether or not to reject the null hypothesis.&lt;br /&gt;&lt;br /&gt;9.3&lt;br /&gt;Create null and alternative hypotheses for one-tailed testing.&lt;br /&gt;&lt;br /&gt;9.4&lt;br /&gt;Use the t test statistic to conduct one and two-tailed hypothesis tests when σ is not known.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Chapter 12 - Simple Linear Regression&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;12.1&lt;br /&gt;Understand the basic concepts of independent and dependent variables, intercept and slope.&lt;br /&gt;Understand the concept of simple linear regression.&lt;br /&gt;Regression: modeling a relationship between variables with a curve&lt;br /&gt;Linear Regression: the curve in the relationship is a straight line (not some sort of arc)&lt;br /&gt;Simple Linear Regression: only consider one independent variable as the predictor of the dependent variable&lt;br /&gt;Understand the simple linear regression model formula: Y&lt;sub&gt;i&lt;/sub&gt; = β&lt;sub&gt;0&lt;/sub&gt; + β&lt;sub&gt;1&lt;/sub&gt;X&lt;sub&gt;i&lt;/sub&gt; + ε&lt;sub&gt;i&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;12.2&lt;br /&gt;Understand the method of least squares.&lt;br /&gt;Apply the computation formulas of the least squares method to compute the Y intercept b&lt;sub&gt;0&lt;/sub&gt; and the slope b&lt;sub&gt;1&lt;/sub&gt;.&lt;br /&gt;Know how to read and interpret partial computer output (Minitab) and develop the regression line based on it.&lt;br /&gt;&lt;br /&gt;12.3&lt;br /&gt;Understand the sum of squares terms SST, SSR and SSE for the measures of variation in regression.&lt;br /&gt;Calculate any of the sum of squares terms, given the other two.&lt;br /&gt;Understand the coefficient of determination, r&lt;sup&gt;2&lt;/sup&gt;.&lt;br /&gt;Calculate  r&lt;sup&gt;2&lt;/sup&gt; given any two sum of square terms.&lt;br /&gt;Know how to read and interpret partial computer output (Minitab) and calculate sum of squares terms and   r&lt;sup&gt;2&lt;/sup&gt; based on it.&lt;br /&gt;Understand the standard error of the estimate and calculate it, given SSE or SST and SSR.&lt;br /&gt;&lt;br /&gt;12.4&lt;br /&gt;Know the four assumptions necessary to use the method of least squares in simple linear regression.&lt;br /&gt;&lt;br /&gt;12.5&lt;br /&gt;Know how to use residual analysis to validate the four assumptions.&lt;br /&gt;&lt;br /&gt;12.6&lt;br /&gt;Understand the Durbin-Watson statistic.&lt;br /&gt;Know how to interpret the Durbin-Watson statistic to detect autocorrelation.&lt;br /&gt;&lt;br /&gt;12.7&lt;br /&gt;Calculate the standard error of the slope, S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;.&lt;br /&gt;Calculate the t test statistic for the slope and determine whether there is a significant linear relationship.&lt;br /&gt;Know that when comparing the t test statistic for the slope to the critical t value, you use n-2 degrees of freedom.&lt;br /&gt;Construct a confidence interval for the slope.&lt;br /&gt;&lt;br /&gt;12.8&lt;br /&gt;Construct a prediction interval for an individual response Y.&lt;br /&gt;Construct a confidence interval for the mean of Y.&lt;br /&gt;(This is as far as I got so far. More to come!)</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/2109823498495990281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/2109823498495990281?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2109823498495990281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2109823498495990281'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/final-exam-study-guide-outline.html' title='Final Exam Study Guide - Outline'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdlWClY3tyJMc24k0DpOp0axs8xGXWwW-AwqbyKzfTrtrrN5xdGi4cBeYBEoQPjMcvBKsRHIxp_2mqnQGhO4JBm_0G-D2SutFEjR4XWhK0PJOydnCGnd8skHOP0eI_wypxOpA9Su4c6rLN/s72-c/Studying.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-1809182078869223749</id><published>2008-03-04T16:46:00.004-06:00</published><updated>2008-11-13T00:06:32.435-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Confidence Interval for Ŷ</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Confidence Interval for Ŷ&lt;/span&gt;&lt;br /&gt;Once we&#39;ve calculated our regression coefficients, b&lt;sub&gt;0&lt;/sub&gt; and b&lt;sub&gt;1&lt;/sub&gt;, we can estimate the value of Y at any given X with the formula:&lt;br /&gt;Ŷ = b&lt;sub&gt;0&lt;/sub&gt; + b&lt;sub&gt;1&lt;/sub&gt;X&lt;br /&gt;&lt;br /&gt;This is known as a &lt;span style=&quot;font-weight: bold;&quot;&gt;point estimate&lt;/span&gt;. It estimates Ŷ to a point. However, since it&#39;s just an estimate, it&#39;s logical to ask for a confidence interval around Ŷ.&lt;br /&gt;&lt;br /&gt;In addition to constructing a confidence interval for an &lt;span style=&quot;font-style: italic;&quot;&gt;individual &lt;/span&gt;Ŷ, we can also construct a confidence interval for an &lt;span style=&quot;font-style: italic;&quot;&gt;average &lt;/span&gt;Ŷ at X.&lt;br /&gt;&lt;br /&gt;The difference is best illustrated with an example. In site.mtw we have data on square footage of stores and their annual sales. In general, sales increase linearly with increasing square footage. We perform a regression analysis and determine the regression coefficients. Now we could ask two questions:&lt;br /&gt;1. If I build a single new store with 4,000 square feet, what does the regression predict for its annual sales? The answer can be expressed as a confidence interval for an &lt;span style=&quot;font-style: italic;&quot;&gt;individual &lt;/span&gt;Ŷ, because we&#39;re making a prediction for an &lt;span style=&quot;font-style: italic;&quot;&gt;individual &lt;/span&gt;new store.&lt;br /&gt;2. If I build 10 new stores, each with 4,000 square feet, what does the regression predict for the average annual sales of those stores? The answer to this question can be expressed as a confidence interval for an &lt;span style=&quot;font-style: italic;&quot;&gt;average &lt;/span&gt;Ŷ, since we&#39;re making a prediction about the &lt;span style=&quot;font-style: italic;&quot;&gt;average &lt;/span&gt;sales at many new stores.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Confidence Interval for &lt;span style=&quot;font-style: italic;&quot;&gt;Average &lt;/span&gt;Ŷ&lt;/span&gt;&lt;br /&gt;The confidence interval for the &lt;span style=&quot;font-style: italic;&quot;&gt;average &lt;/span&gt;Ŷ (question #2 above) takes the common form:&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVgWqF502zU1LlbaLcljsGo-ke7vvh1YYKWL9JuviuYWIzC951TqNLz9CTrucagBsG_lYFD_ll9-thVo7Pb_yW2iThszM74H_uLzoYPLVwdTYc1ZoB9rHWny65qpLQnKfFaaRDZ0mRH5pM/s1600-h/AverageConfInterval.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVgWqF502zU1LlbaLcljsGo-ke7vvh1YYKWL9JuviuYWIzC951TqNLz9CTrucagBsG_lYFD_ll9-thVo7Pb_yW2iThszM74H_uLzoYPLVwdTYc1ZoB9rHWny65qpLQnKfFaaRDZ0mRH5pM/s320/AverageConfInterval.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5174033500514821474&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;where S&lt;sub&gt;Ŷ&lt;/sub&gt; is the standard error of Ŷ. &lt;span style=&quot;font-weight: bold;&quot;&gt;Note: &lt;/span&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;n-2&lt;/span&gt; is used in looking up the t value in the t table.&lt;br /&gt;&lt;br /&gt;We are told that&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTwEOuRtNSxzHFmsvFWPY6hbxo2D9Saz0AMCMHzKfXVXEK94hGhY4V8Ge-5L2PXLwEl3IOinZk9k2AUILWtzAZx8QSczx2zIzPOANF4y7XJhb8e7U9x3rH4U5jhuSMPy7a4K6KVo4RQQWr/s1600-h/StdErrYHat.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTwEOuRtNSxzHFmsvFWPY6hbxo2D9Saz0AMCMHzKfXVXEK94hGhY4V8Ge-5L2PXLwEl3IOinZk9k2AUILWtzAZx8QSczx2zIzPOANF4y7XJhb8e7U9x3rH4U5jhuSMPy7a4K6KVo4RQQWr/s320/StdErrYHat.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5174035678063240562&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;where h&lt;sub&gt;i&lt;/sub&gt; is given by:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxFRnVMO2_HDNcCm3ZmZhwPGG_rR2_3nqflZTE7wRbEDTM4t33_d_FMcEFGI2pIrPq3vs5b2nGifQsR56u7wfChOjxJQd8Fi_IqXGM36UP6qFnhJOwBbEtwpyqoev3dpBoO6gw-gOzheuI/s1600-h/hi.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxFRnVMO2_HDNcCm3ZmZhwPGG_rR2_3nqflZTE7wRbEDTM4t33_d_FMcEFGI2pIrPq3vs5b2nGifQsR56u7wfChOjxJQd8Fi_IqXGM36UP6qFnhJOwBbEtwpyqoev3dpBoO6gw-gOzheuI/s320/hi.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5174030485447779666&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;That&#39;s all there is to it! Well see in a minute that Minitab can calculate the standard error term for us, so it&#39;s constructing the interval is just a matter of looking up the value in the t table and then doing the arithmetic.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Confidence Interval for &lt;span style=&quot;font-style: italic;&quot;&gt;Individual &lt;/span&gt;Ŷ&lt;/span&gt;&lt;br /&gt;If we&#39;re constructing the confidence interval for an individual Ŷ (question #1 above), the calculations are very similar except that we use a 1+h&lt;sub&gt;i&lt;/sub&gt; term in place of h&lt;sub&gt;i&lt;/sub&gt;. So that term becomes:&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHCvD00kuRlokeXdmNrxNvXgUKF7r5A8PdkceRacCwsgspS8VyO74XAMMEp0MoE9Uy6YWDNVz2ZfwPAjq4Jy6tpeIUMj6wNJy5yJUs3ukVgzHM8f2UOeyQL_J8_InnSWpDSG41TwtK3fVZ/s1600-h/StdErrIndivYHat.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHCvD00kuRlokeXdmNrxNvXgUKF7r5A8PdkceRacCwsgspS8VyO74XAMMEp0MoE9Uy6YWDNVz2ZfwPAjq4Jy6tpeIUMj6wNJy5yJUs3ukVgzHM8f2UOeyQL_J8_InnSWpDSG41TwtK3fVZ/s320/StdErrIndivYHat.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5174038319468127618&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Other than the standard error term, everything else is the same as calculating for an average Ŷ.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Using Minitab to calculate the confidence interval&lt;/span&gt;&lt;br /&gt;Here&#39;s how to get the info we need out of Minitab:&lt;br /&gt;1. Load up your data in a worksheet. (We use the site.mtw file as usual.)&lt;br /&gt;2. Select Stat-Regression-Regression from the menubar.&lt;br /&gt;3. Put the independent variable (square feet) in the Predictor box. Put the dependent variable (annual sales) in the Response box.&lt;br /&gt;4. Click the Options button. Enter 4 in the Prediction interval for new observations box. This tells Minitab that we want a prediction of annual sales at 4000 square feet (the units of our data are thousands of feet).&lt;br /&gt;5. Check the Confidence Limit checkbox if you want a confidence interval for an average Y. Check the Prediction Limit checkbox if you want a confidence interval for an individual Y.&lt;br /&gt;6. Click OK in the Options and the main Regression windows. The results appear in the session window. Here&#39;s the relevant information:&lt;br /&gt;&lt;pre&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Predicted Values for New Observations&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;New&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Obs    Fit  SE Fit      95% CI          95% PI&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;  1  7.644   0.309  (6.971, 8.317)  (5.433, 9.854)&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;The prediction is 7.64 (the &quot;fit&quot;). The SE Fit term is the standard error for the average Y (the one with just h&lt;sub&gt;i&lt;/sub&gt;, not 1+h&lt;sub&gt;i&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;I suspect that we&#39;ll probably be expected to construct the confidence interval for the average Y, given the Fit and SE Fit output. Don&#39;t forget: You still need to look up the t value (at n-2!) and multiply the SE Fit value by it.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/1809182078869223749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/1809182078869223749?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/1809182078869223749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/1809182078869223749'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/lecture-8-confidence-interval-for.html' title='Lecture 8 - Confidence Interval for Ŷ'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVgWqF502zU1LlbaLcljsGo-ke7vvh1YYKWL9JuviuYWIzC951TqNLz9CTrucagBsG_lYFD_ll9-thVo7Pb_yW2iThszM74H_uLzoYPLVwdTYc1ZoB9rHWny65qpLQnKfFaaRDZ0mRH5pM/s72-c/AverageConfInterval.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-4931847501592590413</id><published>2008-03-04T15:06:00.005-06:00</published><updated>2008-03-04T15:39:02.328-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Inferences About the Regression Slope - Part 2</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Confidence Interval for b&lt;sub&gt;1&lt;/sub&gt;&lt;/span&gt;&lt;br /&gt;The second question that we ask when evaluating the regression is: What is the confidence interval for b&lt;sub&gt;1&lt;/sub&gt;?&lt;br /&gt;&lt;br /&gt;Like any confidence interval, this one will take the form:&lt;br /&gt;b&lt;sub&gt;1&lt;/sub&gt; ± t&lt;sub&gt;α/2, n-2&lt;/sub&gt; S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;In the last blog post, we found that S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; is:&lt;br /&gt;S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; = S&lt;sub&gt;XY&lt;/sub&gt;/SQRT(SSX)&lt;br /&gt;&lt;br /&gt;Knowing S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;, we can look up t in the t-table and construct the confidence interval relatively easily.&lt;br /&gt;&lt;br /&gt;Note that for the confidence interval for b&lt;sub&gt;1&lt;/sub&gt; we use &lt;span style=&quot;font-weight: bold;&quot;&gt;n-2&lt;/span&gt; in looking up the t-score.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Using Minitab to evaluate the regression&lt;/span&gt;&lt;br /&gt;We won&#39;t be expected to calculate S&lt;sub&gt;XY&lt;/sub&gt; and S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; by hand for the final (or so we were told). But we will likely be asked to create a confidence interval for b&lt;sub&gt;1&lt;/sub&gt; given a snippet of Minitab output. So it&#39;s worthwhile to take a look at it:&lt;br /&gt;&lt;br /&gt;We used the site.mtw dataset and ran the standard regression analysis and got this:&lt;br /&gt;&lt;pre&gt;Predictor      Coef  SE Coef      T      P&lt;br /&gt;Constant     0.9645   0.5262   1.83  0.092&lt;br /&gt;Square Feet  &lt;span style=&quot;font-weight: bold; color: rgb(51, 51, 255);&quot;&gt;1.6699&lt;/span&gt;   &lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;0.1569&lt;/span&gt;  &lt;span style=&quot;font-weight: bold; color: rgb(0, 153, 0);&quot;&gt;10.64&lt;/span&gt;  &lt;span style=&quot;color: rgb(153, 51, 153); font-weight: bold;&quot;&gt;0.000&lt;/span&gt;&lt;br /&gt;S = 0.966380   R-Sq = 90.4%   R-Sq(adj) = 89.6%&lt;br /&gt;&lt;/pre&gt;The S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt; value is calculated for us, but it&#39;s not obvious where it is. It&#39;s the SE Coef term that I&#39;ve highlighted in red. b&lt;sub&gt;1&lt;/sub&gt; itself is the Coef term, in blue. With those two numbers and a t-table, you can construct a confidence interval for b&lt;sub&gt;1&lt;/sub&gt;. Just remember to use n-2 in the t-table.&lt;br /&gt;&lt;br /&gt;With these two values you can also determine the t statistic for hypothesis testing β&lt;sub&gt;1&lt;/sub&gt;=0 from the previous blog post by dividing b&lt;sub&gt;1&lt;/sub&gt;/S&lt;sub&gt;b&lt;sub&gt;1&lt;/sub&gt;&lt;/sub&gt;. But the truth is, you don&#39;t have to do that! The t-value for b&lt;sub&gt;1&lt;/sub&gt; is right there in the Minitab output also. I&#39;ve highlighted it in green. The number in the p column (highlighted purple) is the p-value for b&lt;sub&gt;1&lt;/sub&gt;. So if that number is less than α/2, then you can reject the hypothesis that β&lt;sub&gt;0&lt;/sub&gt; is 0.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/4931847501592590413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/4931847501592590413?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4931847501592590413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4931847501592590413'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/lecture-8-inferences-about-regression_04.html' title='Lecture 8 - Inferences About the Regression Slope - Part 2'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-527515504616509299</id><published>2008-03-04T14:15:00.003-06:00</published><updated>2008-03-04T15:29:23.220-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Inferences About the Regression Slope</title><content type='html'>After we use the method of least-squares to calculate regression coefficients (b&lt;sub&gt;0&lt;/sub&gt; and b&lt;sub&gt;1&lt;/sub&gt;) and we validate the LINE assumptions, we next turn to evaluating the regression, specifically the slope, b&lt;sub&gt;1&lt;/sub&gt; and ask two questions:&lt;br /&gt;1. Is it statistically significant?&lt;br /&gt;2. What is the confidence interval for b&lt;sub&gt;1&lt;/sub&gt;?&lt;br /&gt;&lt;br /&gt;The first question (we actually covered this &lt;span style=&quot;font-style: italic;&quot;&gt;after &lt;/span&gt;the second question in class), whether b&lt;sub&gt;1&lt;/sub&gt; is statistically significant, is determined by asking: Is it any better than a flat horizontal line through the data?&lt;br /&gt;&lt;br /&gt;We answer this question by making a hypothesis that the true relationship slope, β&lt;sub&gt;1&lt;/sub&gt; is 0 and using our skills at hypothesis testing to determine whether we should reject that hypothesis.&lt;br /&gt;&lt;br /&gt;H&lt;sub&gt;0&lt;/sub&gt;: β&lt;sub&gt;1&lt;/sub&gt; = 0&lt;br /&gt;H&lt;sub&gt;1&lt;/sub&gt;: β&lt;sub&gt;1&lt;/sub&gt; ≠ 0&lt;br /&gt;&lt;br /&gt;The t statistic that we use to test the hypothesis is:&lt;br /&gt;t = (b&lt;sub&gt;1&lt;/sub&gt;-β&lt;sub&gt;1&lt;/sub&gt;)/S&lt;sub&gt;b1&lt;/sub&gt;&lt;br /&gt;where S&lt;sub&gt;b1&lt;/sub&gt; is the standard error of the slope.&lt;br /&gt;&lt;br /&gt;In our case, β&lt;sub&gt;1&lt;/sub&gt; is 0 according to our hypothesis, so t reduces to:&lt;br /&gt;t = b&lt;sub&gt;1&lt;/sub&gt;/S&lt;sub&gt;b1&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;The standard error of the slope, S&lt;sub&gt;b1&lt;/sub&gt;, is defined as:&lt;br /&gt;S&lt;sub&gt;b1&lt;/sub&gt; = S&lt;sub&gt;XY&lt;/sub&gt;/SQRT(SSX)&lt;br /&gt;where S&lt;sub&gt;XY&lt;/sub&gt; is the standard error of the estimate.&lt;br /&gt;&lt;br /&gt;The standard error of the estimate, S&lt;sub&gt;XY&lt;/sub&gt;, is defined as:&lt;br /&gt;S&lt;sub&gt;XY&lt;/sub&gt; = SQRT(SSE/n-2)&lt;br /&gt;&lt;br /&gt;So, if we have our calculations of SSX and SSE, we can do the math and find S&lt;sub&gt;b1&lt;/sub&gt; and the t-score for b&lt;sub&gt;1&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;We finish our hypothesis testing by comparing the t-score for b&lt;sub&gt;1&lt;/sub&gt; to t&lt;sub&gt;α/2, n-2&lt;/sub&gt;, where α is our level of significance.&lt;br /&gt;If t is beyond t&lt;sub&gt;α/2, n-2&lt;/sub&gt; (either on the positive or negative end), we conclude that the hypothesis, H&lt;sub&gt;0&lt;/sub&gt;, must be rejected.&lt;br /&gt;We could also make the conclusion based on the p-value of the t-score. If the p-value is less than α/2, then we reject H&lt;sub&gt;0&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;**Confidence interval for b&lt;sub&gt;1&lt;/sub&gt; will be covered in the next blog post.**</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/527515504616509299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/527515504616509299?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/527515504616509299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/527515504616509299'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/lecture-8-inferences-about-regression.html' title='Lecture 8 - Inferences About the Regression Slope'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-2538342636820589028</id><published>2008-03-04T09:59:00.006-06:00</published><updated>2008-11-13T00:06:32.952-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Residual Analysis - Checking Independence of Errors</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Checking the Independence of Errors Assumption&lt;/span&gt;&lt;br /&gt;The &quot;I&quot; in the LINE mnemonic stands for Independence of Errors.  This means that the distribution of errors is random and not influenced by or correlated to the errors in prior observations. The opposite is independence is called &lt;span style=&quot;font-weight: bold;&quot;&gt;autocorrelation&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Clearly, we can only check for independence/autocorrelation when we know the order in which the observations were made and the data points were collected.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQe2dbulTFzjf_Y0v43ycHV7iULxQkUFmTp3JZZFK4yIorxa8KblxL2EYLAPEKFHMAQLZKkJf7YlBay0jaeP7Avtf_Z4FcPjJ3yJcd-gv_t9-Iuu3sARlvOThrVj2pg4GnLPV_6Gb8Zx3/s1600-h/Autocorr.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQe2dbulTFzjf_Y0v43ycHV7iULxQkUFmTp3JZZFK4yIorxa8KblxL2EYLAPEKFHMAQLZKkJf7YlBay0jaeP7Avtf_Z4FcPjJ3yJcd-gv_t9-Iuu3sARlvOThrVj2pg4GnLPV_6Gb8Zx3/s200/Autocorr.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5173923265201989474&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;We check for independence/autocorrelation in two ways. First, we can plot the residuals vs. the sequential number of the data point. If we notice a pattern, we say that there is an autocorrelation effect among the residuals and the independence assumption is not valid. The plot at right of residuals vs. observation week shows a clear up and down pattern of the residuals and indicates that the residuals are not independent.&lt;br /&gt;&lt;br /&gt;The second test of independent/autocorrelation is a more quantitative measure. (All the methods that we&#39;ve used up to this point for checking assumptions have been graphical/visual.) This test involves calculating the &lt;span style=&quot;font-weight: bold;&quot;&gt;Durbin-Watson Statistic&lt;/span&gt;. The D-W statistic is defined as:&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjEkZOZ5oF5t1XY8iuwOeB9zGjEyKlGNjbrhgAyiK3iFDEZplpE-P8vTUyVMfl6ZJuh7nVyusQ7p8HA0ccVuyUJ6KSiNdNHC4PBz94Y6O4ZCfosQE4VTZ7nXv-y2fl0kkxn3dz3010smC8/s1600-h/DWStat.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjEkZOZ5oF5t1XY8iuwOeB9zGjEyKlGNjbrhgAyiK3iFDEZplpE-P8vTUyVMfl6ZJuh7nVyusQ7p8HA0ccVuyUJ6KSiNdNHC4PBz94Y6O4ZCfosQE4VTZ7nXv-y2fl0kkxn3dz3010smC8/s200/DWStat.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5173933976850425730&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;It&#39;s the sum of the squares of the differences between consecutive errors divided by the the sum of the squares of all errors.&lt;br /&gt;&lt;br /&gt;Another way to look at the Durbin-Watson Statistic is:&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;D = 2(1-ρ)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;where ρ (the Greek letter rho - lower case) = the correlation between consecutive errors.&lt;br /&gt;&lt;br /&gt;Looking at it that way, there are 3 important values for D:&lt;br /&gt;D=0: This means that ρ=1, indicating a positive correlation.&lt;br /&gt;D=2: In this case, ρ=0, indicating no correlation.&lt;br /&gt;D=4: ρ=-1, indicating a negative correlation&lt;br /&gt;&lt;br /&gt;In order to assess whether there is independence, we check to see if D is close to 2 (in which case we say there is no correlation and errors are independent) or if it&#39;s closer to one of the other extreme values of 0 or 4 (in which case we say that the independence assumption is not valid). There is also some grey area between both 0 and 2 and between 2 and 4 in which case we say that the Durbin-Watson statistic does not give us enough information to make a determination, it is inconclusive.&lt;br /&gt;&lt;br /&gt;To determine the boundaries for when the Durbin-Watson statistic is relevant and when it&#39;s inconclusive, we turn to table E.9, which provides us with lower and upper bounds, d&lt;sub&gt;L&lt;/sub&gt; and d&lt;sub&gt;U&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Reading the Durbin-Watson Critical Values Table&lt;/span&gt;&lt;br /&gt;The critical values are dependent on the sample size, n, the number of independent variables in the regression model, k, and the level of significance, α. In the case of simple linear regression, there&#39;s always only 1 independent variable. (That&#39;s the &lt;span style=&quot;font-style: italic;&quot;&gt;simple&lt;/span&gt; part.) The level of significance is usually 0.01 (99% confidence) or 0.05 (95% confidence).&lt;br /&gt;&lt;br /&gt;So, to read the table:&lt;br /&gt;1. Locate the large section of the table for your level of significance, α.&lt;br /&gt;2. Find the two columns, d&lt;sub&gt;L&lt;/sub&gt; and d&lt;sub&gt;U&lt;/sub&gt;, for k=1 (assuming it&#39;s simple).&lt;br /&gt;3. Go down the column to the row with your sample size, n.&lt;br /&gt;4. Read the two values for d&lt;sub&gt;L&lt;/sub&gt; and d&lt;sub&gt;U&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Interpreting the Durbin-Watson Statistic&lt;/span&gt;&lt;br /&gt;0 &amp;lt; D &amp;lt; d&lt;sub&gt;L&lt;/sub&gt;: There is positive autocorrelation&lt;br /&gt;d&lt;sub&gt;L&lt;/sub&gt; &amp;lt; D &amp;lt; d&lt;sub&gt;U&lt;/sub&gt;: Inconclusive&lt;br /&gt;d&lt;sub&gt;U&lt;/sub&gt; &amp;lt; D &amp;lt; 2+d&lt;sub&gt;L&lt;/sub&gt;: No autocorrelation&lt;br /&gt;2+d&lt;sub&gt;L&lt;/sub&gt; &amp;lt; D &amp;lt; 2+d&lt;sub&gt;U&lt;/sub&gt;: Inconclusive&lt;br /&gt;2+d&lt;sub&gt;U&lt;/sub&gt; &amp;lt; D &amp;lt; 4: There is negative autocorrelation&lt;br /&gt;&lt;br /&gt;Graphically, it can be represented like this:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS6D0LtEnW2viYaYzn_LIstwuMYyMUt6fQPyMId-5n3g1C_ZMEU8GE78gZKWHuCARL0Nh7iUR9p5Pktvc0-BBoA7wxfOoCfGdUyPInlloAZEKVan_E5sl5tiPNsOZ-E02ohPIEmDLmzVGm/s1600-h/DWLine.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS6D0LtEnW2viYaYzn_LIstwuMYyMUt6fQPyMId-5n3g1C_ZMEU8GE78gZKWHuCARL0Nh7iUR9p5Pktvc0-BBoA7wxfOoCfGdUyPInlloAZEKVan_E5sl5tiPNsOZ-E02ohPIEmDLmzVGm/s400/DWLine.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5173945564672190370&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Note: Positive autocorrelation is somewhat common. Negative autocorrelation is very uncommon and our book does not deal with it.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/2538342636820589028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/2538342636820589028?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2538342636820589028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2538342636820589028'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/lecture-8-residual-analysis-checking_04.html' title='Lecture 8 - Residual Analysis - Checking Independence of Errors'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQe2dbulTFzjf_Y0v43ycHV7iULxQkUFmTp3JZZFK4yIorxa8KblxL2EYLAPEKFHMAQLZKkJf7YlBay0jaeP7Avtf_Z4FcPjJ3yJcd-gv_t9-Iuu3sARlvOThrVj2pg4GnLPV_6Gb8Zx3/s72-c/Autocorr.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-6225267959569935469</id><published>2008-03-02T15:40:00.004-06:00</published><updated>2008-11-13T00:06:33.162-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Residual Analysis - Checking the Equal Variance Assumption</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Homoscadasticity&lt;/span&gt; &lt;span style=&quot;font-size:78%;&quot;&gt;(Not that there&#39;s anything wrong with that.)&lt;/span&gt;&lt;br /&gt;We now turn to checking the assumption of &lt;span style=&quot;font-style: italic;&quot;&gt;equal variance of errors&lt;/span&gt;, the &quot;E&quot; in our LINE mnemonic. This assumptions states that not only is the error at each x-value distributed normally, but the variance in the error is equal at each point.&lt;br /&gt;&lt;br /&gt;Equal variance of errors is known as &lt;span style=&quot;font-style: italic;&quot;&gt;homoscadasticity&lt;/span&gt;. Unequal variance of errors is called &lt;span style=&quot;font-style: italic;&quot;&gt;heteroscadasticity&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;For this analysis we turn again to the plot of residuals vs. the independent variable (x) that we used in when we validated the linearity assumption. For linearity, we were just looking to see if the residuals were evenly distributed above and below the x-axis. To check for equal variance of errors, we check to see if there&#39;s any pattern in the distribution of the residuals around the x-axis.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Running the residual plot versus x in Minitab:&lt;/span&gt;&lt;br /&gt;1. Load up your data.&lt;br /&gt;2. Select Stat-Regression-Regression from the menu bar.&lt;br /&gt;3. Put Annual Sales in the Response box and Square Feet in the Predictor box.&lt;br /&gt;4. Click the Graphs button. Put Square Feet in the Residuals versus the variables box.&lt;br /&gt;5. Click OK in both the Graphs and Regression dialogs. The residual plot appears.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbW16NOx-KEXtsqI6UPCrbraVKzMPezEK4cGBj2bYqAmhTQRvHih-8iuPYPks4tdBl1mnAKyBgP1koyCIkPkwyXLqrnX3Ka-yKKfnMXyeshR5v_uX4l36jQxAiUmjoJFy40da5r3UP6uRy/s1600-h/ResVsSqFtPlot.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbW16NOx-KEXtsqI6UPCrbraVKzMPezEK4cGBj2bYqAmhTQRvHih-8iuPYPks4tdBl1mnAKyBgP1koyCIkPkwyXLqrnX3Ka-yKKfnMXyeshR5v_uX4l36jQxAiUmjoJFy40da5r3UP6uRy/s200/ResVsSqFtPlot.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5173272688529869170&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Review the graph and ask yourself: &lt;span style=&quot;font-weight: bold;&quot;&gt;Is there any &lt;span style=&quot;font-style: italic;&quot;&gt;pattern &lt;/span&gt;in the residuals?&lt;/span&gt; Do they get increasing larger or small as x changes? If so, then you have a case of heteroscadasticity. But if the residuals are distributed evenly and consistently around the x-axis, then you can conclude that the variances are consistent and the assumption of equality of variances is valid.&lt;br /&gt;&lt;br /&gt;In our example, I&#39;d be somewhat concerned with the fact that the residuals are closer to the x-axis for small values of x, but broaden out for larger values. The variance does seem to taper off as x gets very large, which is an indication that the variances are equal for x&gt;2 or so. (Click the graph for a larger view of the plot.)</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/6225267959569935469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/6225267959569935469?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/6225267959569935469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/6225267959569935469'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/lecture-8-residual-analysis-checking_02.html' title='Lecture 8 - Residual Analysis - Checking the Equal Variance Assumption'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbW16NOx-KEXtsqI6UPCrbraVKzMPezEK4cGBj2bYqAmhTQRvHih-8iuPYPks4tdBl1mnAKyBgP1koyCIkPkwyXLqrnX3Ka-yKKfnMXyeshR5v_uX4l36jQxAiUmjoJFy40da5r3UP6uRy/s72-c/ResVsSqFtPlot.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-696616354925058628</id><published>2008-03-02T14:20:00.004-06:00</published><updated>2008-11-13T00:06:33.491-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Residual Analysis - Checking the Normality Assumption</title><content type='html'>The next assumption in the LINE mnemonic after &lt;span style=&quot;font-style: italic;&quot;&gt;Linearity &lt;/span&gt;is &lt;span style=&quot;font-style: italic;&quot;&gt;Independence of Errors&lt;/span&gt;. We skipped that one momentarily because it&#39;s a bit more complex than the others. So we saved it for last. In the meantime, we looked at the next assumption: &lt;span style=&quot;font-style: italic;&quot;&gt;Normality of Error&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Checking the Normality Assumption&lt;/span&gt;&lt;br /&gt;This assumption states that the error in the observation is distributed normally at each x-value. A larger error is less likely than a smaller error and the distribution of errors at any x follows the normal distribution.&lt;br /&gt;&lt;br /&gt;Although we typically only have one observation at each x, if we assume that the distribution of the errors is the same at each x, we can simply plot all the errors (residuals) and check if they follow the normal distribution. We do this by running a normal probability plot of the residuals. Fortunately for us, Minitab has a built-in normal probability plot function.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Checking Normality Using Minitab&lt;/span&gt;&lt;br /&gt;1. Open up your data worksheet. As usual, we&#39;ll use the site.mtw file for our example.&lt;br /&gt;2. Select Stat-Regression-Regression from the menu bar.&lt;br /&gt;3. Put Annual Sales in the Response box since it&#39;s the dependent (response) variable and put Square Feet in the Predictors box since it&#39;s the independent (predictor) variable.&lt;br /&gt;4. Click the Graph button and under Residual Plots, check the Normal plot of residuals checkbox.&lt;br /&gt;5. Click OK in the Graphs and the Regression dialogs.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYdNbRUI-e0JXJ-occ8BnNVTxW17jFrt5eV2Agggx45NP456iHm4q_FqClWW_DL40d7MMjq5-GPARpN-IgcKiGVHhMGlhEAwb9eA1JZBVry9puVqqNrIpzw4dLTZ_JMyqlAmsV7w0A-y6W/s1600-h/NormPlotResids.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYdNbRUI-e0JXJ-occ8BnNVTxW17jFrt5eV2Agggx45NP456iHm4q_FqClWW_DL40d7MMjq5-GPARpN-IgcKiGVHhMGlhEAwb9eA1JZBVry9puVqqNrIpzw4dLTZ_JMyqlAmsV7w0A-y6W/s200/NormPlotResids.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5173261710593460578&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Minitab creates the normal probability plot of the residuals. The y-axis of this graph is adjusted so that if the data are distributed normally, they will fall on a straight line on the graph. Minitab even draws a line through the residuals for us (presumably using the method of least-squares).&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Drawing a conclusion from the graph&lt;/span&gt;&lt;br /&gt;Review this graph and ask yourself: &lt;span style=&quot;font-weight: bold;&quot;&gt;Do the residual points fall more-or-less on a straight line in the normal probability plot?&lt;/span&gt; If they do, you can conclude that the errors are distributed normally and the normality of errors assumption is valid. In our example, the normality plot of the residuals are pretty much linear, but I would be concerned about the upward trend at the far right end of the graph. (Click the graph to see it in more detail.)</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/696616354925058628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/696616354925058628?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/696616354925058628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/696616354925058628'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/03/lecture-8-residual-analysis-checking.html' title='Lecture 8 - Residual Analysis - Checking the Normality Assumption'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYdNbRUI-e0JXJ-occ8BnNVTxW17jFrt5eV2Agggx45NP456iHm4q_FqClWW_DL40d7MMjq5-GPARpN-IgcKiGVHhMGlhEAwb9eA1JZBVry9puVqqNrIpzw4dLTZ_JMyqlAmsV7w0A-y6W/s72-c/NormPlotResids.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-3837911390911705975</id><published>2008-02-29T14:42:00.006-06:00</published><updated>2008-11-13T00:06:33.711-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Residual Analysis - Checking Linearity</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Checking Linearity&lt;/span&gt;&lt;br /&gt;Our method for checking the first assumption, linearity of the data, is not a precise, quantitative test. Rather, we&#39;ll use visual inspection to check for linearity.&lt;br /&gt;&lt;br /&gt;One quick way to test the linearity of the data is to create an x-y scatter plot and observe whether the data generally follows a straight line (either with positive or negative slope). Plotting the regression line through the data may help visualize this as well.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Using Minitab for the linearity check&lt;/span&gt;:&lt;br /&gt;1. Bring up your data in a worksheet. We used the site.mtw file in class.&lt;br /&gt;2. Select Graph-Scatterplot from the menu bar. Select the &quot;With Regression&quot; option when prompted for the type of scatterplot.&lt;br /&gt;3. Put Annual Sales (the dependent variable) in the Y Variables column and Square Feet (the independent variable) in the X Variables column. Remember that the independent variable is the variable that you can control and which you think will be a predictor of the dependent variable. In other words, the annual sales is dependent on the size of the store (in square feet). It&#39;s not the other way around. The size of the store doesn&#39;t grow or shrink depending on the number of sales!&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP-2W1M3WVnvbdvvlse8OFIf7nyi6TIraux8-uNq5Sbpd_A4N4-TAqH4simHnltnzKue68_IV9TAAIguNznewgmMbO0ijHUKJPbXGJisG6wG2oFPs8vZYmXdliKJVvMLyvEu6vGJYqdk9/s1600-h/LinearRegPlot.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP-2W1M3WVnvbdvvlse8OFIf7nyi6TIraux8-uNq5Sbpd_A4N4-TAqH4simHnltnzKue68_IV9TAAIguNznewgmMbO0ijHUKJPbXGJisG6wG2oFPs8vZYmXdliKJVvMLyvEu6vGJYqdk9/s200/LinearRegPlot.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172550159066564930&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;4. Don&#39;t change the default options and click OK. You should get a plot of your data with a regression line through it. (If you don&#39;t get the regression line, in step 3 click Data View, Regression Tab and make sure Linear is selected.)&lt;br /&gt;&lt;br /&gt;To interpret the linearity of this graph, &quot;eyeball&quot; the way the points fall above and below the regression line and ask yourself: &lt;span style=&quot;font-weight: bold;&quot;&gt;Are the data points relatively linear or is it curved or skewed in some way?&lt;/span&gt; In our case, the data is relatively linear and not curved, so we conclude that the assumption of linearity is valid.&lt;br /&gt;&lt;br /&gt;A better way to visually assess the linearity is to plot the residuals versus the independent variable and look to see if the errors are distributed evenly above and below 0 along the entire length of the sample.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Plotting Residuals versus the Independent Variable with Minitab&lt;/span&gt;&lt;br /&gt;1. Select Stat-Regression from the menu bar.&lt;br /&gt;2. Put Annual Sales in the Response box and Square Feet in the Predictors box. In our scenario, we think that the number of square feet will be a predictor of the annual sales of the store. Notice that the predictors box is large. There can be more than one predictor - perhaps advertising, employee training, etc. Many things can influence the response variable - the annual sales. We&#39;ll get to that during &lt;span style=&quot;font-style: italic;&quot;&gt;multiple &lt;/span&gt;linear regression. Right now, for simple linear regression, we&#39;re just looking at &lt;span style=&quot;font-style: italic;&quot;&gt;a single&lt;/span&gt; predictor.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgivDnWmSL_fYs9mnVANdwUZwHNeC3fOz6A3GzVOz4f7PNoTm-M0E9Jx25hYGHsEv2KY5DAEgULcAwfz2Mq-Wwx46-F8tJWrRlACTxaUyvMznEy8RxQyB9lkO5EQHWzj0Ibvj3owvHAZiw9/s1600-h/ResVsSqFtPlot.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgivDnWmSL_fYs9mnVANdwUZwHNeC3fOz6A3GzVOz4f7PNoTm-M0E9Jx25hYGHsEv2KY5DAEgULcAwfz2Mq-Wwx46-F8tJWrRlACTxaUyvMznEy8RxQyB9lkO5EQHWzj0Ibvj3owvHAZiw9/s200/ResVsSqFtPlot.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172551443261786450&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;3. Click the Graphs button. Put Square Feet in the Residuals versus the variables box.&lt;br /&gt;&lt;br /&gt;To interpret this graph, ask yourself: &lt;span style=&quot;font-weight: bold;&quot;&gt;Do the residual points fall equally above and below 0 along the entire length of the horizontal axis?&lt;/span&gt; In our case, the residuals do more or less fall equally above and below 0, so we conclude that the data is linear and the assumption of linearity is valid. Note: We also see that the residuals are closer to 0 for lower values of x (square feet). That may become important later when we talk about equal variance of errors.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/3837911390911705975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/3837911390911705975?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/3837911390911705975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/3837911390911705975'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/lecture-8-residual-analysis-checking.html' title='Lecture 8 - Residual Analysis - Checking Linearity'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnP-2W1M3WVnvbdvvlse8OFIf7nyi6TIraux8-uNq5Sbpd_A4N4-TAqH4simHnltnzKue68_IV9TAAIguNznewgmMbO0ijHUKJPbXGJisG6wG2oFPs8vZYmXdliKJVvMLyvEu6vGJYqdk9/s72-c/LinearRegPlot.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-4046788287423974491</id><published>2008-02-29T10:40:00.005-06:00</published><updated>2008-11-13T00:06:33.909-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 8 - Residual Analysis - Definition</title><content type='html'>&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9DrKrJFfj0U0FnDkvE2VCeiMjaXHgFlzBqTQzgtm7AXThkmjkcXXvAkJXx3uMMHXmu78LNkDUeJ4UeUjvEnd5xL8Bca7g6LzN3MGksBu0AatDttkYBLM1mJYGSX6VEeDFdT26S_oFIXhw/s320/ICA.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172454836562397490&quot; border=&quot;0&quot; /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Residual Analysis&lt;/span&gt;&lt;br /&gt;In Lecture 7 we discussed how to use the method of least-square to perform simple linear regression on a set of data. We also discussed the four assumptions we make about our data in order to use the method of least-squares for the regression:&lt;br /&gt;1. &lt;span style=&quot;font-weight: bold;&quot;&gt;L&lt;/span&gt;inearity&lt;br /&gt;2. &lt;span style=&quot;font-weight: bold;&quot;&gt;I&lt;/span&gt;ndependence of errors&lt;br /&gt;3. &lt;span style=&quot;font-weight: bold;&quot;&gt;N&lt;/span&gt;ormality of error&lt;br /&gt;4. &lt;span style=&quot;font-weight: bold;&quot;&gt;E&lt;/span&gt;qual variance of errors&lt;br /&gt;&lt;br /&gt;The error is also known as the &lt;span style=&quot;font-weight: bold;&quot;&gt;residual &lt;/span&gt;and is the difference between the observed Y&lt;sub&gt;i&lt;/sub&gt; value, for any particular X&lt;sub&gt;i&lt;/sub&gt;, and the value for Y&lt;sub&gt;i&lt;/sub&gt; predicted by our regression model which is usually symbolized by Ŷ&lt;sub&gt;i&lt;/sub&gt; (read &quot;y hat sub i&quot;).  The residual is symbolized by the greek letter epsilon (lower case) - ε&lt;sub&gt;i&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;ε&lt;sub&gt;i&lt;/sub&gt; = Y&lt;sub&gt;i&lt;/sub&gt; - Ŷ&lt;sub&gt;i&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;We perform a four-part &lt;span style=&quot;font-weight: bold;&quot;&gt;residual analysis&lt;/span&gt; on our data to evaluate whether each of the four assumptions hold and, based on the outcome, we can determine whether our linear regression model is the correct model.&lt;br /&gt;&lt;br /&gt;It&#39;s called a residual analysis because 3 of the 4 assumptions (independence, normality and equality of variance) directly relate to the errors (the residuals) and the other assumption (linearity) is tested by assessing the residuals.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/4046788287423974491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/4046788287423974491?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4046788287423974491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4046788287423974491'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/lecture-8-residual-analysis-definition.html' title='Lecture 8 - Residual Analysis - Definition'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9DrKrJFfj0U0FnDkvE2VCeiMjaXHgFlzBqTQzgtm7AXThkmjkcXXvAkJXx3uMMHXmu78LNkDUeJ4UeUjvEnd5xL8Bca7g6LzN3MGksBu0AatDttkYBLM1mJYGSX6VEeDFdT26S_oFIXhw/s72-c/ICA.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-2371469569506222571</id><published>2008-02-28T15:42:00.007-06:00</published><updated>2008-11-13T00:06:34.525-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fun stuff"/><title type='text'>Using the DePaul Online Library for Research</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;DePaul Online Research Library&lt;/span&gt;&lt;br /&gt;One of the really nice perks that we have as students at DePaul is the online research library. The library subscribes to many databases of academic journals and magazines which are searchable. Many of these databases allow you to access and download full text versions of the journal articles, usually available in PDF format. To access the online research library, all you need is your Depaul student ID.&lt;br /&gt;&lt;br /&gt;Another really nice feature of the DePaul online research library is that it can be integrated with the Google Scholar search engine. I&#39;ll show you how to do that in a future blog post.&lt;br /&gt;&lt;br /&gt;Here&#39;s how to access the DePaul online research library:&lt;br /&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXeAivt5zvbp3spBv2bd5IvfABkIlXMyXGzapaE3MbQWdMvLjPEztzL0s4TWNeqE-SXe8zU1rFpB3W9ETYoZA01l_OHZ1YIF1kr1mGf3Mw_3dSHKxSdEALW2ICrnTTLhJKIpQbe5Vi2PAr/s200/ORLHome.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172176623968795058&quot; border=&quot;0&quot; /&gt;1. Bring up the main DePaul web site by browsing to &lt;a href=&quot;http://www.depaul.edu/&quot;&gt;http://www.depaul.edu&lt;/a&gt;.&lt;br /&gt;2. At the top of the page, click on the &quot;Libraries&quot; link.&lt;br /&gt;&lt;br /&gt;3. This will bring you to the Library page. There are lots of links to follow here. Focus on the &quot;Research&quot; section. The way this works is that you need to identify the database in which you want to conduct your search. Once you do that, you can use the database&#39;s internal search function to find your article. So, how do you find a database? There are a couple ways:&lt;br /&gt;&lt;br /&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheuVYBUwOLY0SCQ0c3vTDasFe5BDyyYU36lUiDMjKtpJxt8ydaVljR6T3NlY9QkgvEDlLwTTlopmXwNaNfLyxIVa6oWnJaQ_u6YirNV8NToqi5j98xaqMDuLi_MfcjO8ghk2456xhxpQoo/s200/ORLLibPage.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172176804357421506&quot; border=&quot;0&quot; /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Method 1:&lt;/span&gt;&lt;br /&gt;Use this method if you&#39;re just starting out and don&#39;t know which database or journal you&#39;re going to search&lt;br /&gt;4. Click the &quot;Journals and newspaper articles&quot; link. That will bring you to the subject page.&lt;br /&gt;5. Since we&#39;re studying statistics, a good choice for subject would be Mathematical Sciences. Click that link.&lt;br /&gt;6. You get the database list. For mathematical sciences, we subscribe to 7 databases. The database list gives you a short description of the database and the dates covered by the database. Some of the databases indicate whether we subscribe to full text of articles with a FT icon:&lt;br /&gt;&lt;img style=&quot;cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIO7rI3DyXFD2DHDWXJn97wAqk5uLGkvx70AxnZdvyD666Xpn2JmCOXqXcnhEyB3YEeXlpT_wqpyMjv9oeQLYdvJ0v0qoaHecvVChin48AcWjV6ZuXFSh0cwQXGX_SxNoBUk9nkFZ4t6gP/s200/FT.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172178217401661922&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9GDm_Dc1JI_Kt-7G8M-R8Goj_neQsqCGO04grB9zukEgF7fhjomZIjflGDrd_b2HjdCEpxXOq9vDWWXsGItgWI4L1boOW_L0hUKj4E4aCFVXwcoF16uxc6OyZPBw3hAXnL6vSi473Kf7O/s1600-h/DepaulLoginProxy.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9GDm_Dc1JI_Kt-7G8M-R8Goj_neQsqCGO04grB9zukEgF7fhjomZIjflGDrd_b2HjdCEpxXOq9vDWWXsGItgWI4L1boOW_L0hUKj4E4aCFVXwcoF16uxc6OyZPBw3hAXnL6vSi473Kf7O/s200/DepaulLoginProxy.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5172267198031169826&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;7. Choose your database and click on its link. You&#39;ll be prompted for your DePaul username and password. Enter those and click Login.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Method 2:&lt;/span&gt;&lt;br /&gt;Use this method if you know the database you want to search&lt;br /&gt;4. In the Research section of the Library page you can click on the A-Z Database List to see all the databases. If you already know the database that you want to search, you can skip by the &quot;subject&quot; steps 4-5 above in method 1 by just using the A-Z list.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Method 3:&lt;/span&gt;&lt;br /&gt;Use this method if you know the name of the journal that you want to search&lt;br /&gt;4. Click the &quot;Journals and newspaper articles&quot; link.&lt;br /&gt;5. On the left hand margin, enter the name of the journal and click Search.&lt;br /&gt;6. The results page will show you which databases contain that journal and for which years&lt;br /&gt;&lt;br /&gt;Each database has its own interface and it would be impossible for me to cover all  of them, but most of them are self explanatory and user-friendly. You can usually search by author, article title or keyword. Several databases also allow you to browse the issues of the journals in the database.&lt;br /&gt;&lt;br /&gt;More to come...</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/2371469569506222571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/2371469569506222571?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2371469569506222571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/2371469569506222571'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/using-depaul-online-library-for.html' title='Using the DePaul Online Library for Research'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXeAivt5zvbp3spBv2bd5IvfABkIlXMyXGzapaE3MbQWdMvLjPEztzL0s4TWNeqE-SXe8zU1rFpB3W9ETYoZA01l_OHZ1YIF1kr1mGf3Mw_3dSHKxSdEALW2ICrnTTLhJKIpQbe5Vi2PAr/s72-c/ORLHome.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-4031735677184139010</id><published>2008-02-26T19:16:00.004-06:00</published><updated>2008-11-13T00:06:34.629-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 7 - Coefficient of Determination</title><content type='html'>After calculating β&lt;sub&gt;0&lt;/sub&gt; and β&lt;sub&gt;1&lt;/sub&gt; to determine the best line to fit the data, we want to quantify &lt;span style=&quot;font-style: italic;&quot;&gt;how well&lt;/span&gt; the line fits the data. It may be the best line, but how good is it?&lt;br /&gt;&lt;br /&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV3_2hagKImHmuyFBZyw-OghMsvHK1UXDEWGz3b8tZxTZXMiBUckSOPaFbjv0Dj0sxdDiv7sLYNWCQBWbSsPg7UfsPwVqRoMQj5Z9_AbikFbkWOGiEEexCI0Opcuvve97l7damc8Z3FGVg/s200/squares.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5171486783501580706&quot; border=&quot;0&quot; /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sum of Squares&lt;/span&gt;&lt;br /&gt;Looking at the graph of the data, we could say that without any modeling or regression at all, we would expect the y-value for any give x to be the mean y, ybar. Most of the observations, of course, would not be equal to the mean. We can measure how far the observations are from the mean by taking the difference between each y&lt;sub&gt;i&lt;/sub&gt; and ybar, squaring them, and taking the sum of the squares. We call this the&lt;span style=&quot;font-weight: bold;&quot;&gt; total sum of squares &lt;/span&gt;or &lt;span style=&quot;font-weight: bold;&quot;&gt;SST&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;You probably remember that the &lt;span style=&quot;font-weight: bold;&quot;&gt;variance &lt;/span&gt;that we discussed much earlier in the course is this sum of squares divided by n-1.&lt;br /&gt;&lt;br /&gt;The total sum of squares is made up of two parts - the part that is explained by the regression (yhat-ybar) and the part that the observation differs from the regression (y&lt;sub&gt;i&lt;/sub&gt;-yhat). When we square each of these and sum them we compute the &lt;span style=&quot;font-weight: bold;&quot;&gt;regression sum of squares, SSR&lt;/span&gt;, and the &lt;span style=&quot;font-weight: bold;&quot;&gt;error sum of squares, SSE&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Coefficient of Determination&lt;/span&gt;&lt;br /&gt;The 3 sum of squares terms, SST, SSR and SSE, don&#39;t tell us much by themselves. If we&#39;re dealing with observations which use large units, these terms may be relatively large even though the variance from a linear relationship is small. On the other hand, if the units of the measurements in our observations is small, the sum of square terms may be small even when the variance from linearity is great.&lt;br /&gt;&lt;br /&gt;Therefore, the objective statistic that we use to assess how well the regression fits the data is the ratio of the regression sum of squares, SSR, to the total sum of squares, SST. We call this statistic the &lt;span style=&quot;font-weight: bold;&quot;&gt;coefficient of determination, r&lt;sup&gt;2&lt;/sup&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;r&lt;sup&gt;2&lt;/sup&gt; = SSR / SST</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/4031735677184139010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/4031735677184139010?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4031735677184139010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4031735677184139010'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/lecture-7-coefficient-of-determination.html' title='Lecture 7 - Coefficient of Determination'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjV3_2hagKImHmuyFBZyw-OghMsvHK1UXDEWGz3b8tZxTZXMiBUckSOPaFbjv0Dj0sxdDiv7sLYNWCQBWbSsPg7UfsPwVqRoMQj5Z9_AbikFbkWOGiEEexCI0Opcuvve97l7damc8Z3FGVg/s72-c/squares.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-4478186004066964856</id><published>2008-02-25T19:51:00.005-06:00</published><updated>2008-11-13T00:06:34.768-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 7 - Assumptions in the Method of Least Squares</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimizSiJrbJJX4JJ4KHU_G0Spe79ZrqsJ8X_vwhBpen6dflXYl4QzKMltGmacERdvzGumjKN5d1yZvkvRXkaG5944IAFTbmD-hGflGVDjz4KNB8b1WivMj5H2kFrzhkZmspLMo8MhqMFUvD/s320/LunarEclipse.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5171106223629351314&quot; border=&quot;0&quot; /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Photo courtesy of F. Espenak at &lt;a href=&quot;http://www.mreclipse.com/&quot;&gt;MrEclipse.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Assumptions&lt;/span&gt;&lt;br /&gt;In order to use the Least Squares Method, we must make 4 fundamental assumptions about our data and the underlying relationship between the independent and dependent variables, x and y.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Linearity&lt;/span&gt; - that the variables are truly related to each other in a linear relationship.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Independence&lt;/span&gt; - that the errors in the observations are independent from one another.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. Normality&lt;/span&gt; - that the errors in the observations are distributed normally at each x-value. A larger error is less likely than a smaller error and the distribution of errors at any x follows the normal distribution.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;4. Equal variance &lt;/span&gt;- that the distribution of errors at each x (which is normal as in #3 above) has the identical variance. Errors are not more widely distributed at different x-values.&lt;br /&gt;&lt;br /&gt;A useful mnemonic device for remembering these assumptions is the word&lt;span style=&quot;font-weight: bold;&quot;&gt; LINE&lt;/span&gt; - &lt;span style=&quot;font-weight: bold;&quot;&gt;L&lt;/span&gt;inearity, &lt;span style=&quot;font-weight: bold;&quot;&gt;I&lt;/span&gt;ndependence, &lt;span style=&quot;font-weight: bold;&quot;&gt;N&lt;/span&gt;ormality, &lt;span style=&quot;font-weight: bold;&quot;&gt;E&lt;/span&gt;qual variance.&lt;br /&gt;&lt;br /&gt;Note that the first assumption, linearity, refers to the true relationship between the variables. The other three assumptions refer to the nature of the errors in the observed values for the dependent variable.&lt;br /&gt;&lt;br /&gt;If these assumptions are not true, we need to use a different method to perform the linear regression.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/4478186004066964856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/4478186004066964856?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4478186004066964856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/4478186004066964856'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/lecture-7-assumptions-in-method-of.html' title='Lecture 7 - Assumptions in the Method of Least Squares'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimizSiJrbJJX4JJ4KHU_G0Spe79ZrqsJ8X_vwhBpen6dflXYl4QzKMltGmacERdvzGumjKN5d1yZvkvRXkaG5944IAFTbmD-hGflGVDjz4KNB8b1WivMj5H2kFrzhkZmspLMo8MhqMFUvD/s72-c/LunarEclipse.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-7512045137052139444</id><published>2008-02-25T19:14:00.005-06:00</published><updated>2008-02-26T19:00:10.211-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>The Least-Squares Method</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;The Method of Least Squares&lt;/span&gt;&lt;br /&gt;As described in the previous post, the least-squares method minimizes the sum of the squares of the error between the y-values estimated by the model and the observed y-values.&lt;br /&gt;&lt;br /&gt;In mathematical terms, we need to minimize the following:&lt;br /&gt;∑ (y&lt;sub&gt;i&lt;/sub&gt; - (β&lt;sub&gt;0&lt;/sub&gt;+β&lt;sub&gt;1&lt;/sub&gt;x&lt;sub&gt;i&lt;/sub&gt;))&lt;br /&gt;&lt;br /&gt;All the y&lt;sub&gt;i&lt;/sub&gt; and x&lt;sub&gt;i&lt;/sub&gt; are known and constant, so this can be looked at as a function of β&lt;sub&gt;0&lt;/sub&gt; and β&lt;sub&gt;1&lt;/sub&gt;. We need to find the β&lt;sub&gt;0&lt;/sub&gt; and β&lt;sub&gt;1&lt;/sub&gt; that minimize the total sum.&lt;br /&gt;&lt;br /&gt;From calculus we remember that to minimize a function, we take the derivative of the function, set it to zero and solve. Since this is a function of two variables, we take two derivatives - the partial derivative with respect to β&lt;sub&gt;0&lt;/sub&gt; and the partial derivative with respect to β&lt;sub&gt;1&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Don&#39;t worry! &lt;/span&gt;We won&#39;t need to do any of this in practice - it&#39;s all been done years ago and the generalized solutions are well know.&lt;br /&gt;&lt;br /&gt;To find b&lt;sub&gt;0&lt;/sub&gt; and b&lt;sub&gt;1&lt;/sub&gt;:&lt;br /&gt;1. Calculate xbar and ybar, the mean values for x and y.&lt;br /&gt;2. Calculate the difference between each x and xbar. Call it xdiff.&lt;br /&gt;3. Calculate the difference between each y and ybar. Call it ydiff.&lt;br /&gt;4. b1 = [∑(xdiff)(ydiff)] / ∑(xdiff&lt;sup&gt;2&lt;/sup&gt;)&lt;br /&gt;5. b&lt;sub&gt;0&lt;/sub&gt; = ybar - b&lt;sub&gt;1&lt;/sub&gt;xbar&lt;br /&gt;&lt;br /&gt;Notice that we switched from using β to using b? That&#39;s because &amp;beta; is used for the regression coefficients of the &lt;span style=&quot;font-style: italic;&quot;&gt;actual&lt;/span&gt; linear relationship. b is used to represent our &lt;span style=&quot;font-style: italic;&quot;&gt;estimate&lt;/span&gt; of the coefficients determined by the least squares method. We may or may not be correctly estimating β with our b. We can only hope!</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/7512045137052139444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/7512045137052139444?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7512045137052139444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7512045137052139444'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/least-squares-method.html' title='The Least-Squares Method'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-1392867486719701873</id><published>2008-02-25T18:28:00.006-06:00</published><updated>2012-04-26T15:27:36.499-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 7 - Simple Linear Regression</title><content type='html'>Linear Regression essentially means creating a linear model that describes the relationship between two variables.&lt;br /&gt;
&lt;br /&gt;
Our type of linear regression is often referred to as &lt;span style=&quot;font-style: italic;&quot;&gt;simple&lt;/span&gt; linear regression. The &lt;span style=&quot;font-style: italic;&quot;&gt;simple&lt;/span&gt; part of the linear regression refers to the fact that we don&#39;t consider other factors in the relationship - just the two variables. When we model how several variables may determine another variable, it&#39;s called &lt;span style=&quot;font-style: italic;&quot;&gt;multiple&lt;/span&gt; regression - the topic for a more advanced course (or chapter 13 in our text).&lt;br /&gt;
&lt;br /&gt;
For example, we may think that the total sales at various stores is proportional to the number of square feet of space in the store. If we collect data from a number of stores and plot them in an XY scatter plot, we would probably find that the data points don&#39;t lie on a perfectly straight line. However, they may be &quot;more or less&quot; linear to the naked eye. Linear regression involves finding a single line that approximates the relationship. With this line, we can estimate the expected sales at a new store, given the number of square feet it will have.&lt;br /&gt;
&lt;br /&gt;
In mathematical terms, linear regression means finding values for β&lt;sub&gt;0&lt;/sub&gt; and β&lt;sub&gt;1&lt;/sub&gt; in the equation &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
y = β&lt;sub&gt;0&lt;/sub&gt; + β&lt;sub&gt;1&lt;/sub&gt;x&lt;/div&gt;
such that the resulting equation fits the data points as closely as possible.&lt;br /&gt;
&lt;br /&gt;
The equation above may look more familiar to you in this form:&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
y = mx + b&lt;/div&gt;
That&#39;s the form we learned in linear algebra. m is the slope and b is the y-intercept. Similarly, in our statistical form, &lt;span style=&quot;font-weight: bold;&quot;&gt;β&lt;sub&gt;1&lt;/sub&gt; is the slope&lt;/span&gt; and &lt;span style=&quot;font-weight: bold;&quot;&gt;β&lt;sub&gt;0&lt;/sub&gt; is the y-intercept&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;How Close is Close?&lt;/span&gt;&lt;br /&gt;
We said that we want to find a line that fits the data &quot;as closely as possible&quot;. How close is that? Well, for any given β&lt;sub&gt;0&lt;/sub&gt; and β&lt;sub&gt;1&lt;/sub&gt;, we can calculate how for off we are by looking at each x-value, calculating what the linear estimate would be according to our regression equation and comparing that to the actual observed y-value. The difference is error between our regression estimate and the observation. Clearly, we want to find the line that minimizes the total error.&lt;br /&gt;
&lt;br /&gt;
Minimizing the total error is done in practice by minimizing the sum of the &lt;span style=&quot;font-style: italic;&quot;&gt;squares&lt;/span&gt; of the errors. If we used the actual error term, and not the square, positive and negative errors would cancel each other out. We don&#39;t use the absolute value of the error term because we will need to integrate it and the absolute value function is not integrable at 0.&lt;br /&gt;
&lt;br /&gt;
Generating &lt;span style=&quot;font-weight: bold;&quot;&gt;regression coefficients&lt;/span&gt; β&lt;sub&gt;0&lt;/sub&gt; and β&lt;sub&gt;1&lt;/sub&gt; for the linear model by minimizing the sum of the square of the errors is known as the &lt;span style=&quot;font-weight: bold;&quot;&gt;least-squares method&lt;/span&gt;.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/1392867486719701873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/1392867486719701873?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/1392867486719701873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/1392867486719701873'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/lecture-7-simple-linear-regression.html' title='Lecture 7 - Simple Linear Regression'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-6795215784144554414</id><published>2008-02-25T12:15:00.005-06:00</published><updated>2008-11-13T00:06:34.900-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Homework"/><title type='text'>Homework</title><content type='html'>&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiReSuhdIqGFEPVLk2dJIlKaG70GVKz779nh9LObItLxEHN3NyAk4-ebl5B0vVpyHxK6nK1r8nf4OR47T0-hv4FwHsfLhSh8sMJVYklAQfViW-XeefmnVTIax774y7FKeQb3T7FxkN6qPXG/s200/Lioness.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5170986780588849538&quot; border=&quot;0&quot; /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;In case you were wondering...&lt;/span&gt;&lt;br /&gt;According to an email I got from Prof Selcuk, there is no homework due this week. Homework #5 will be assigned this Thursday Feb 28 and due next Thursday March 6. It will be the last homework of the quarter.&lt;br /&gt;&lt;br /&gt;My comment: This will give us time to absorb the material on linear regression before working on homework exercises. Maybe even time to go to the zoo on Sunday instead of doing homework.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/6795215784144554414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/6795215784144554414?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/6795215784144554414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/6795215784144554414'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/homework.html' title='Homework'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiReSuhdIqGFEPVLk2dJIlKaG70GVKz779nh9LObItLxEHN3NyAk4-ebl5B0vVpyHxK6nK1r8nf4OR47T0-hv4FwHsfLhSh8sMJVYklAQfViW-XeefmnVTIax774y7FKeQb3T7FxkN6qPXG/s72-c/Lioness.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-3899439654052478302</id><published>2008-02-24T18:14:00.019-06:00</published><updated>2008-02-24T19:48:37.414-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Lecture 7 - Using Minitab to Calculate Hypothesis Testing Statistics</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Using Minitab to Calculate Hypothesis Testing Statistics&lt;/span&gt;&lt;br /&gt;Minitab can be used to perform some of the calculations that are required in steps 4 and 5 of the critical value approach and step 4 of the p-value approach to hypothesis testing (see previous 2 posts). You still need to do all the study design in steps 1-3 and use them as input to Minitab. You will also need to draw your own conclusions from the calculations that Minitab performs.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Here&#39;s how:&lt;/span&gt;&lt;br /&gt;1. Load up your data in a Minitab worksheet. (In lecture 7, we used the data in the insurance.mtw worksheet from exercise 9.59.)&lt;br /&gt;2. Select Stat - Basic Statistics from the menu bar. Since we&#39;re doing hypothesis testing of the mean, we have 2 choices from the menu. Either &quot;1-sample z&quot; or &quot;1-sample t&quot;. Since we don&#39;t know the standard deviation of the population, we choose the &quot;1-sample t&quot; test.&lt;br /&gt;3. In the dialog box, select the column that has your sample data and click the select button so it appears in the &quot;Samples in columns&quot; box. In the test mean box, enter the historical value for the mean, which in our case is 45.&lt;br /&gt;4. Click the Options button and enter the confidence level ((1-&amp;amp;alpha)x100) and select a testing &quot;alternative&quot;. The testing alternative is where you specify the testing condition of the alternative hypothesis.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;If H&lt;sub&gt;1&lt;/sub&gt; states that the mean is not equal to the historical value, select &lt;span style=&quot;font-style: italic;&quot;&gt;not equal&lt;/span&gt;. Minitab will make calculations for a two-tail test.&lt;/li&gt;&lt;li&gt;If H&lt;sub&gt;1&lt;/sub&gt; states that the mean is strictly less than or strictly greater than the historical value, select &lt;span style=&quot;font-style: italic;&quot;&gt;less than&lt;/span&gt; or &lt;span style=&quot;font-style: italic;&quot;&gt;greater than&lt;/span&gt;. In this case, Minitab will calculate values for a one-tail  test.&lt;/li&gt;&lt;/ul&gt;5. Click Ok in the Options dialog and Ok in the main dialog. Minitab displays the calculated values in the Session window. The results from our sample data looked like this:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;One-Sample T: Time&lt;br /&gt;Test of mu = 45 vs not = 45&lt;br /&gt;&lt;br /&gt;Variable N&amp;nbsp;&amp;nbsp;Mean&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StDev&amp;nbsp;&amp;nbsp;SE Mean&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;95% CI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;T&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;P&lt;br /&gt;Time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;27  43.8889  25.2835   4.8658  (33.8871, 53.8907)  -0.23  0.821&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Unfortunately, Minitab doesn&#39;t take the hypothesis testing all the way to drawing a conclusion about the null hypothesis. We need to do that ourselves in one of two ways: either the critical value or p-value approach.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;For the critical value approach&lt;/span&gt;, we need to additionally look up the t-score for t&lt;sub&gt;0.025,26&lt;/sub&gt; = ±2.056. 0.025 is α/2, which we use with this two-tail test. 26 is n-1, the degrees of freedom for this test. We compare t&lt;sub&gt;0.025,26&lt;/sub&gt; to the t-score of the sample mean, which Minitab calculated for us as -0.23, and find that the t-score of the sample mean is between the critical values and therefore we do not reject H&lt;sub&gt;0&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;For the p-value approach&lt;/span&gt;, we compare the p-value that Minitab calculated as 0.821 and compare that to the level of significance, &amp;amp;alpha, which in our case is 0.10. Since the p-value is larger than α we do not reject H&lt;sub&gt;0&lt;/sub&gt;.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/3899439654052478302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/3899439654052478302?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/3899439654052478302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/3899439654052478302'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/lecture-7-using-minitab-to-calculate.html' title='Lecture 7 - Using Minitab to Calculate Hypothesis Testing Statistics'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-7935635462686305968</id><published>2008-02-24T16:38:00.008-06:00</published><updated>2008-02-24T17:50:21.407-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General Statistics"/><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Hypothesis Testing - p-Value Approach - 5 Step Methodology</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;The p-Value Approach&lt;/span&gt;&lt;br /&gt;The p-value approach to hypothesis testing is very similar to the critical value approach (see previous post). Rather than deciding whether or not to reject the null hypothesis based on whether the test statistic falls in a rejection region or not, the p-value approach allows us to make the decision based on whether or not the p-value of the sample data is more or less than the level of confidence.&lt;br /&gt;&lt;br /&gt;The p-value is the probability of getting a test statistic equal to or more extreme than the sample result. If the p-value is greater than the level of confidence then we can say that the probability of a more extreme test statistic is larger than the level of confidence and thus we do not reject H&lt;sub&gt;0&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;If, on the other hand, the p-value is less than the level of confidence, we conclude that the probability of a more extreme test statistic is smaller than the level of confidence and thus we reject H&lt;sub&gt;0&lt;/sub&gt;.&lt;br /&gt;&lt;br /&gt;The &lt;span style=&quot;font-weight: bold;&quot;&gt;five step methodology&lt;/span&gt; of the p-value approach to hypothesis testing is as follows:&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:85%;&quot; &gt;(Note&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;: The first three steps are identical to the critical value approach described in the previous post. However, step 4, the calculation of the critical value, is omitted in this method. Differences in the final two steps between the critical value approach and the p-value approach are &lt;/span&gt;&lt;span style=&quot;font-style: italic;font-size:85%;&quot; &gt;emphasized&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;State the Hypotheses&lt;/span&gt;&lt;br /&gt;1. State the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt;, and the alternative hypothesis, H&lt;sub&gt;1&lt;/sub&gt;.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Design the Study&lt;/span&gt;&lt;br /&gt;2. Choose the level of significance, α according to the importance of the risk or committing Type I errors. Determine the sample size, n, based on the resources available to collect the data.&lt;br /&gt;3. Determine the test statistic and sampling distribution. When the hypotheses involve the population mean, μ, the test statistic is z when σ is known and t when σ is not known. These test statistics follow the normal distribution and the t-distribution respectively.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Conduct the Study&lt;/span&gt;&lt;br /&gt;4. Collect the data and compute the test statistic &lt;span style=&quot;font-style: italic;&quot;&gt;and the p-value&lt;/span&gt;.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Draw Conclusions&lt;/span&gt;&lt;br /&gt;5. Evaluate the &lt;span style=&quot;font-style: italic;&quot;&gt;p-value&lt;/span&gt; and determine whether or not to reject the null hypothesis. Summarize the results and state a managerial conclusion in the context of the problem.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Example&lt;/span&gt; &lt;span style=&quot;font-size:85%;&quot;&gt;(we&#39;ll look at the same example as the last post, also reviewed at the beginning of Lecture 7)&lt;/span&gt;:&lt;br /&gt;A phone industry manager thinks that customer monthly cell phone bills have increased and now average over $52 per month. The company asks you to test this claim. The population standard deviation, σ, is known to be equal to 10 from historical data.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;The Hypotheses&lt;/span&gt;&lt;br /&gt;1.H&lt;sub&gt;0&lt;/sub&gt;: μ ≤ 52&lt;br /&gt;H&lt;sub&gt;1&lt;/sub&gt;: μ &amp;gt; 52&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Study Design&lt;/span&gt;&lt;br /&gt;2. After consulting with the manager and discussing error risk, we choose a level of significance, α, of 0.10. Our resources allow us to sample 64 sample cell phone bills.&lt;br /&gt;3. Since our hypothesis involves the population mean and we know the population standard deviation, our test statistic is z and follows the normal distribution.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;The Study&lt;/span&gt;&lt;br /&gt;4. We conduct our study and find that the mean of the 64 sample cell phone bills is 53.1. We compute the test statstic, z = (xbar-μ)/(σ/√n) = (53.1-52)/(10/√64) = 0.88. Next, we look up the p-value of 0.88. The cumulative normal distribution table tells us that the area to the &lt;span style=&quot;font-style: italic;&quot;&gt;left&lt;/span&gt; of 0.88 is 0.8106. Therefore, the p-value of 0.88 = 1-0.8106 = 0.1894.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Conclusions&lt;/span&gt;&lt;br /&gt;5. Since 0.1894 is greater than the level of significance, &amp;alpha;, we do not reject the null hypothesis. We report to the company that, based on our testing, there is not evidence that the mean cell phone bill has increased from $52 per month.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/7935635462686305968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/7935635462686305968?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7935635462686305968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7935635462686305968'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/hypothesis-testing-p-value-approach-5.html' title='Hypothesis Testing - p-Value Approach - 5 Step Methodology'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1542321886756338348.post-7294008078167352344</id><published>2008-02-24T15:44:00.004-06:00</published><updated>2008-02-24T17:44:56.867-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General Statistics"/><category scheme="http://www.blogger.com/atom/ns#" term="Lecture Notes"/><title type='text'>Hypothesis Testing - Critical Value Approach - 6 Step Methodology</title><content type='html'>The six-step methodology of the Critical Value Approach to hypothesis testing is as follows:&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;(&lt;span style=&quot;font-weight: bold;&quot;&gt;Note&lt;/span&gt;: The methodology below works equally well for both one-tail and two-tail hypothesis testing.)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;State the Hypotheses&lt;/span&gt;&lt;br /&gt;1. State the null hypothesis, H&lt;sub&gt;0&lt;/sub&gt;, and the alternative hypothesis, H&lt;sub&gt;1&lt;/sub&gt;.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Design the Study&lt;/span&gt;&lt;br /&gt;2. Choose the level of significance, α according to the importance of the risk or committing Type I errors. Determine the sample size, n, based on the resources available to collect the data.&lt;br /&gt;3. Determine the test statistic and sampling distribution. When the hypotheses involve the population mean, μ, the test statistic is z when σ is known and t when σ is not known. These test statistics follow the normal distribution and the t-distribution respectively.&lt;br /&gt;4. Determine the critical values that divide the rejection and non-rejection regions.&lt;br /&gt;Note: For ethical reasons, the level of significance and critical values should be determined prior to conducting the test. The test should be designed so that the predetermined values do not influence the test results.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Conduct the Study&lt;/span&gt;&lt;br /&gt;5. Collect the data and compute the test statistic.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Draw Conclusions&lt;/span&gt;&lt;br /&gt;6. Evaluate the test statistic and determine whether or not to reject the null hypothesis. Summarize the results and state a managerial conclusion in the context of the problem.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Example&lt;/span&gt; (reviewed at the beginning of Lecture 7):&lt;br /&gt;A phone industry manager thinks that customer monthly cell phone bills have increased and now average over $52 per month. The company asks you to test this claim. The population standard deviation, σ, is known to be equal to 10 from historical data.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;The Hypotheses&lt;/span&gt;&lt;br /&gt;1.H&lt;sub&gt;0&lt;/sub&gt;: μ ≤ 52&lt;br /&gt;H&lt;sub&gt;1&lt;/sub&gt;: μ &amp;gt; 52&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Study Design&lt;/span&gt;&lt;br /&gt;2. After consulting with the manager and discussing error risk, we choose a level of significance, α, of 0.10. Our resources allow us to sample 64 sample cell phone bills.&lt;br /&gt;3. Since our hypothesis involves the population mean and we know the population standard deviation, our test statistic is z and follows the normal distribution.&lt;br /&gt;4. In determining the critical value, we first recognize this test as a one-tail test since the null hypothesis involves an inequality, ≤. Therefore the rejection region is entirely on the side of the distribution greater than the historic mean - right tail.&lt;br /&gt;We want to determine a z-value for which the area to the right of that value is 0.10, our α. We can use the cumulative normal distribution table (which gives areas to the &lt;span style=&quot;font-style: italic;&quot;&gt;left&lt;/span&gt; of the z-value) and find z having value 0.90 = 1.285. This is our critical value.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;The Study&lt;/span&gt;&lt;br /&gt;5. We conduct our study and find that the mean of the 64 sample cell phone bills is 53.1. We compute the test statstic, z = (xbar-μ)/(σ/√n) = (53.1-52)/(10/√64) = 0.88.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Conclusions&lt;/span&gt;&lt;br /&gt;6. Since 0.88 is less than the critical value of 1.285, we do not reject the null hypothesis. We report to the company that, based on our testing, there is not evidence that the mean cell phone bill has increased from $52 per month.</content><link rel='replies' type='application/atom+xml' href='http://gsb420.blogspot.com/feeds/7294008078167352344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1542321886756338348/7294008078167352344?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7294008078167352344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1542321886756338348/posts/default/7294008078167352344'/><link rel='alternate' type='text/html' href='http://gsb420.blogspot.com/2008/02/hypothesis-testing-critical-value.html' title='Hypothesis Testing - Critical Value Approach - 6 Step Methodology'/><author><name>Eliezer</name><uri>http://www.blogger.com/profile/14036531848996147890</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRtGFo3FryuQN3vL2Nqs2LHPei1eUMEvwz2YhbwjtsWXhQ69yW81C0lCh9UyMUPBSvrdBMMvIVjT3cWubuSqDR7OPAn5vyRA_VLyPJ3gsTQwn4zGOta9IBRVbJsEr-Nrs/s220/yeswecan.JPG'/></author><thr:total>0</thr:total></entry></feed>