<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJS</journal-id><journal-title-group><journal-title>Open Journal of Statistics</journal-title></journal-title-group><issn pub-type="epub">2161-718X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojs.2014.43016</article-id><article-id pub-id-type="publisher-id">OJS-44323</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  On Minimizing the Standard Error of the Slope in Simple Linear Regression
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>teven</surname><given-names>M. Crunk</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xinh</surname><given-names>Huynh</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics and Statistics, San Jose State University, San Jose, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>steven.crunk@sjsu.edu(TMC)</email>;<email>xinh.huynh@gmail.com(XH)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>28</day><month>03</month><year>2014</year></pub-date><volume>04</volume><issue>03</issue><fpage>173</fpage><lpage>177</lpage><history><date date-type="received"><day>8</day>	<month>February</month>	<year>2014</year></date><date date-type="rev-recd"><day>8</day>	<month>March</month>	<year>2014</year>	</date><date date-type="accepted"><day>15</day>	<month>March</month>	<year>2014</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   A common homework problem in texts covering calculus-based simple linear regression is to find a set of values of the independent variable which minimize the standard error of the estimated slope. All discussions the authors have heard regarding this problem, as well as all texts with which the authors of this paper are familiar and which include this problem, provide no solution, a partial solution, or an outline of a solution without theoretical proof and the provided solution is incorrect. Going back to first principles we provide the complete correct solution to this problem. 
 
</p></abstract><kwd-group><kwd>Minimization; Variance; Coefficient; Beliefs about Statistics; Statistical Literacy</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>A homework question, occurring in several oft cited best-selling introductory texts covering calculus-based simple linear regression, goes something like this:</p><p>Suppose we are to collect data and fit a straight-line simple linear regression,<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\ace6f8c5-50f3-46cf-9cbe-cc7fc01c4db5.png" xlink:type="simple"/></inline-formula>. The errors are assumed to have mean zero, unknown variance <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\74dfbc87-ae9e-4a5c-a168-4a15f9b6c79d.png" xlink:type="simple"/></inline-formula> and to be uncorrelated with one another. Further suppose that in this designed experiment, the region of interest for x is<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\0a1edffa-eda8-4bb3-b6af-d909fd89d6d1.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\922ce6ea-7dce-467b-9364-822378a83314.png" xlink:type="simple"/></inline-formula>, and that the primary goal is to make the standard error of the estimate of the slope as small as possible. For a given sample size n, at what values of the independent variable should the observations be taken? That is, how should <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\fae45dad-82ac-4aa6-a13e-7b192e96cd8c.png" xlink:type="simple"/></inline-formula> be chosen so as to minimize the standard error of the estimate of<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\e9ba6e9f-ca20-4c62-8f2b-c927cb766706.png" xlink:type="simple"/></inline-formula>.</p><p>From [<xref ref-type="bibr" rid="scirp.44323-ref1">1</xref>] , which does not include the above noted problem, and virtually any other text covering simple linear regression, we know the following: the estimate of the slope is</p><p><img src="htmlimages\1-1240302x\77f9ddd5-a237-4ab4-8331-53aa64aaa026.png" /></p><p>which has standard deviation</p><p><img src="htmlimages\1-1240302x\2f14c47b-2c16-4601-9368-b5f294a3ff83.png" /></p><p>The estimated standard deviation, or standard error, is found by replacing <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\29f22f08-e0a4-477a-a685-a887ccdf79d1.png" xlink:type="simple"/></inline-formula> by its estimate</p><p><img src="htmlimages\1-1240302x\45dbc641-be6b-4b1c-8c78-43420ee219d2.png" /></p><p>The error variance <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\438ab47f-4e48-4ec3-b41e-7c37d5eae51b.png" xlink:type="simple"/></inline-formula> is an unknown constant and its estimator cannot be formed until data are collected. Thus in the case of either the theoretical standard deviation or the estimated standard error, the numerator under the radical is unknown and not under the control of the experimenter in the question. Consequently the minimization of the standard deviation or the standard error is achieved by maximizing the quantity</p><p><img src="htmlimages\1-1240302x\2ffdd27e-33e1-442b-af79-5277d46d7511.png" /></p><p>the corrected sum of squares of the x’s.</p><p>Many texts which include this problem provide no solution. Every discussion that the authors have heard discussed or seen in a solutions manual suggests, without proof, that in order to maximize SXX if n is even, half of the observations should be taken at A and half at B. Many texts that include a solution ignore the possibility that n is odd, even though no condition on n was provided in the question. When a solution is provided for n odd, every solution we have seen suggested without proof that <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\3d29d8df-22bf-40fd-9ec4-cd9408f2e70d.png" xlink:type="simple"/></inline-formula> observations should be taken at each of A and B with the remaining single observation being taken half way between these values, at<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\65d80212-a908-461c-9e1e-212e7bb0ece0.png" xlink:type="simple"/></inline-formula>. That this solution is incorrect which can be seen with a simple example where<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\bf80518a-b5f9-4409-81d2-2da4eb5f20d2.png" xlink:type="simple"/></inline-formula>. The result using the “usual” solution outlined above is to take<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\7480768a-5d5d-4e63-bcae-804601cd3104.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\cc3d6c08-d8e8-4c13-bf9b-5ba03096c750.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\af5476c7-6ef7-460e-bed7-c239e4507cc1.png" xlink:type="simple"/></inline-formula> from whence <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\4b61ee03-12cc-4b29-ba83-a0b8bdb7ca14.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\0b995b3e-281c-4238-8d1a-33d0137c74da.png" xlink:type="simple"/></inline-formula>. Alternatively, if we take <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\3d19af1d-445a-4c75-81b8-23653fdd535f.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\e31112e1-5f9e-4db0-a3ec-3afca1e33421.png" xlink:type="simple"/></inline-formula>, we have <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\9f0112b7-3bbc-4b71-b1fc-c6e5afb6dfb4.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\96ba3d09-6b45-4c33-aa86-204711855a75.png" xlink:type="simple"/></inline-formula> which are larger than the value obtained using the “usual” solution, showing that the usual solution is not correct. We suppose that the desire for symmetry led to the belief in the incorrect solution; however symmetry has not been neither mentioned nor required for the problem under discussion.</p><p>In the sequel we show that for n even, the “usual” solution of choosing half of the observations to be taken at A and the other half to be taken at B is correct. For n odd we show that in order to minimize the standard error, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\4df793d0-1701-47d1-a098-ae634932399d.png" xlink:type="simple"/></inline-formula>observations should be taken at one end of the interval (either at A or at B) and the remaining <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\1513e6f6-c86f-4228-8443-53eb5e7ef7c6.png" xlink:type="simple"/></inline-formula> observations should be taken at the other end of the interval. An example of this result is given in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Throughout we will assume that the sample size n is a given constant.</p></sec><sec id="s2"><title>2. The Objective Function; Sum of Squares</title><p>Our goal is to find the set of <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\c8b347dc-fe4d-4e4f-ab08-a3285aa7affe.png" xlink:type="simple"/></inline-formula> which maximize</p><p><img src="htmlimages\1-1240302x\998b1113-19f3-4dc4-9383-13da44993349.png" /></p><p>Since the <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\f3db62c5-1b49-41cd-b1f0-f74be81bcb39.png" xlink:type="simple"/></inline-formula> are continuous variables (not in the statistical sense but rather in the algebraic sense) on the interval<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\4a1059c5-f290-4de6-b801-b9a989f34fe5.png" xlink:type="simple"/></inline-formula>, we may use techniques of calculus in order to find the values that maximize this function (see, e.g., [<xref ref-type="bibr" rid="scirp.44323-ref2">2</xref>] ). We have</p><disp-formula id="scirp.44323-formula1954"><graphic  xlink:href="htmlimages\1-1240302x\6fe38a17-aa6f-452d-88d5-d5d1fba8da32.png"  xlink:type="simple"/></disp-formula><p>Setting this equal to zero we have <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\f8293d4a-f952-4f53-8df1-8845925e472b.png" xlink:type="simple"/></inline-formula> being stationary points. Of course our variables exist on a closed interval so we must also investigate the endpoints. As a result it must be true that<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\a3253a8a-739d-46d2-adbf-e7b1ff787db1.png" xlink:type="simple"/></inline-formula>.</p><p>If <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\a31257fe-a74e-40e3-8855-972cf4469273.png" xlink:type="simple"/></inline-formula> then SXX = 0, which is the smallest possible value of SXX, i.e., choosing <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\bb34ed77-5bea-403c-a291-67a53d0e0850.png" xlink:type="simple"/></inline-formula> leads to a minimum rather than a maximum. The same is true if observations are taken either all at A or all at B. We would then say it is obvious that at least one observation must be taken at A and at least one observation must be taken at B, but authors saying “it is obvious that...” is what led to this note in the first place. Consider the case where some observations are taken at <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\82d6bcd2-792d-4d38-8846-59fc750e9d5f.png" xlink:type="simple"/></inline-formula> and the rest at <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\c62f591f-bb2e-4da3-b16b-da591fd1c480.png" xlink:type="simple"/></inline-formula> distinct from A; this is a contradiction as the mean would then not be at<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\b3c37687-b551-4321-aac8-468981684e7e.png" xlink:type="simple"/></inline-formula>. Similarly, it is impossible to have some observations at B and the rest at<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\f9273513-69d7-485c-ae81-bb3125ef0a87.png" xlink:type="simple"/></inline-formula>. Accordingly it must be true that at least one observation must be taken at each of A and B.</p><p>Let <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\f3135d3a-95d2-44fb-ac6c-820c5645750b.png" xlink:type="simple"/></inline-formula> be the number of observations taken at A, n<sub>2</sub> be the number of observations taken at<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\b3b69930-ced2-4c99-a6af-c25a7080c2bb.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\cffbd2d4-c158-4190-ab77-a22f76655eda.png" xlink:type="simple"/></inline-formula> be the number of observations taken at B. From the argument in the previous paragraph we have <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\7ba29a05-7df7-4d7c-89a5-d120aee1ffd0.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\619c0a89-c288-48e9-9c87-aba825936f1e.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\4ed09173-bef4-46d0-802f-b0b3ce4988eb.png" xlink:type="simple"/></inline-formula>, all integers, and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\269b268a-84a1-46bd-91b1-8a0b2e65b250.png" xlink:type="simple"/></inline-formula>, a given constant. Then<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\c2647308-0d6b-498a-a841-0ae3f4e87962.png" xlink:type="simple"/></inline-formula>, the simplification of which leads to<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\d9a7ca92-0fc3-4541-bd9f-a83fd2d0e624.png" xlink:type="simple"/></inline-formula>. Consequently, substituting these values, we have</p><p><img src="htmlimages\1-1240302x\9924c10a-91ff-4fac-b53a-1d3a29a71589.png" /></p><p>The quantity <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\f732b31b-b554-4b9e-b321-1dbe7e999444.png" xlink:type="simple"/></inline-formula> is an arbitrary non-negative constant. Some texts give as their example <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\8e29930a-3abf-4a2d-9d1a-238f31f6aab5.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\8790be0c-9f9a-4a96-a988-017c3088bee1.png" xlink:type="simple"/></inline-formula>, some give <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\211840b1-2e94-42ad-b152-795c4b94c34b.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\aa062cb8-24e8-4c85-a539-d0fbf40692c1.png" xlink:type="simple"/></inline-formula>, and still other books use other choices for these given constants. The choice of A and B, as seen in the final formula for SXX, have no bearing on the solutions for<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\29efb442-7c9f-447e-9a46-5287db3f5af8.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\bb0f62f4-7744-49b5-aab7-f60a5e9b30a0.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\5af15ef9-9b4e-4043-98c6-19131b87ef7b.png" xlink:type="simple"/></inline-formula> which maximize SXX. Thus we shall simply attempt to find parameters<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\3861994e-124f-4864-8784-751c2018e52f.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\5025ac17-00be-41cc-83b1-6a210b9e00e0.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\4e83a7ee-e72e-4c4d-8cf5-b37f829f3126.png" xlink:type="simple"/></inline-formula> that maximize <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\273b6855-4a2a-4a7f-b4a1-53678b415347.png" xlink:type="simple"/></inline-formula> with the constraints imposed previously that<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\12dc23c8-6b3d-4bc7-a4a7-a03cfced26d7.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\99c875cf-c069-4cff-9079-ac2c0690767e.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\66a862f9-c04f-415f-bc9c-5ca297f8522d.png" xlink:type="simple"/></inline-formula> are non-negative integers, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\b835ebe6-f64e-49fc-b63b-d7b56bc688e4.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\a68878d0-a6e4-4147-a629-8ef00a459a02.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\9cde88a4-33fb-40c1-a0a9-ca6f4ad76012.png" xlink:type="simple"/></inline-formula>, a known/given constant.</p></sec><sec id="s3"><title>3. Optimization</title><p>The function with constraints given in the previous paragraph may be maximized in any number of ways. Possibilities considered by the authors include the following: taking the variables of interest to be continuous and maximizing the function through the use of calculus, hoping for integer values which would then be the optimal solution [<xref ref-type="bibr" rid="scirp.44323-ref3">3</xref>] ; using integer programming [<xref ref-type="bibr" rid="scirp.44323-ref4">4</xref>] ; and other possibilities. However, it seems that a simple algebraic manipulation may be the most elegant solution.</p><p>Let</p><p><img src="htmlimages\1-1240302x\66c86d11-4b84-484f-8f7f-55d9ffc67aac.png" /></p><p>Thus maximizing <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\10acdc4b-a82a-4cf1-b05e-2533a024ddc6.png" xlink:type="simple"/></inline-formula> is equivalent to minimizing<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\90681fe8-f198-42e2-bb9b-6e4ab8a13f9a.png" xlink:type="simple"/></inline-formula>. We now show that n<sub>2</sub> must be zero. Assume that <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\f95459d4-3c23-4d22-b550-63c2a79e0c29.png" xlink:type="simple"/></inline-formula> is an ordered triple which meets the constraints and which minimizes <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\2c73fcdc-6333-4cad-bb60-ae0feba3b259.png" xlink:type="simple"/></inline-formula> with<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\628a906a-0bc0-42de-8bbd-770582e50801.png" xlink:type="simple"/></inline-formula>. Let<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\610b5d7a-408b-4236-be29-0f06f0722e89.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\94a5d604-e75b-4c48-9688-f0a658a301c8.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\c9beb38a-86a9-4aec-9f04-94af1c39c6d7.png" xlink:type="simple"/></inline-formula>. Then the ordered triple <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\fb860343-d661-4953-b56f-ce96c12ae5a7.png" xlink:type="simple"/></inline-formula> also satisfies the constraints, and furthermore</p><p><img src="htmlimages\1-1240302x\5150f6f2-19f6-40d2-bff5-05f87290ff20.png" /></p><p>which is a contradiction to the assumption that <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\a3697cc5-6bb0-45c8-9054-5b67a3a815eb.png" xlink:type="simple"/></inline-formula> minimizes<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\2f33de31-ef11-45c1-8a44-c5a75a43fdf4.png" xlink:type="simple"/></inline-formula>, hence<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\71681c6b-d749-43c6-bc93-85d8f9f3e45d.png" xlink:type="simple"/></inline-formula>.</p><p>Now one of our constraints reduces to<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\c8393b0e-20d2-43ad-a64f-a229fa1fea63.png" xlink:type="simple"/></inline-formula>, and maximizing <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\48f77924-c170-46c8-b2c4-8c6dc6608145.png" xlink:type="simple"/></inline-formula> reduces to maximizing</p><p><img src="htmlimages\1-1240302x\87ba0feb-acbb-4298-a522-4f9f7f28a00e.png" /></p><p>This last is simply a parabola which we need to maximize over<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\054d0b70-65bd-47c5-8db9-3b15da33fa07.png" xlink:type="simple"/></inline-formula>. To find the maximum, treat the parabola as a function of a continuous variable z. The maximum occurs when<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\0fcb9cb9-a6db-4014-98fa-2629b8d64e16.png" xlink:type="simple"/></inline-formula>, that is, when<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\fbf0e20d-1442-4801-8123-22f45805453c.png" xlink:type="simple"/></inline-formula>. As n is integer valued, for n even this implies <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\ffda8459-56f3-409a-a314-324431610acf.png" xlink:type="simple"/></inline-formula> gives the maximum value, while for n odd either of the two points surrounding<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\09685236-8a49-4e58-9110-51cf8bcfa059.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\6c6d21b7-87e4-4c27-8ecf-7184fb22ce5f.png" xlink:type="simple"/></inline-formula>or<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\02a12064-625c-472e-a859-872b2622583e.png" xlink:type="simple"/></inline-formula>, gives the same maximum value. <xref ref-type="fig" rid="fig2">Figure 2</xref> graphically demonstrates this result. The contradiction in the previous paragraph gives <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\0f9b4365-6242-45da-8834-79394a1cf2d1.png" xlink:type="simple"/></inline-formula> and this with the original constraint that<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\9e0494ca-65da-4902-88ca-f89eeb0e3716.png" xlink:type="simple"/></inline-formula>, a known/given constant, gives the value of<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\18159f3a-2522-4b58-ac14-2e78613291e4.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s4"><title>4. Conclusions</title><p>For the common homework problem appearing in approximately half of the texts covering calculus-based simple linear regression with which the authors are familiar, and which was posed at the beginning of this paper, we have shown that if n is even, the oft given solution to choose half of the points at which to take observations at either end of the interval is correct. However, for odd n we have shown that the only previously given solution to place one point in the center of the interval and half of the remaining points at each end of the interval is incorrect, and that the correct solution is to choose nearly half, either <inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\594c1402-2adc-4ab0-a13b-c58cb2f0614c.png" xlink:type="simple"/></inline-formula> or<inline-formula><inline-graphic xlink:href="tmlimages\1-1240302x\488ca7d6-1a7a-497e-90f3-80207b918a14.png" xlink:type="simple"/></inline-formula>, at one end of the interval and the remaining points at the opposite end of the interval.</p><p>We part with the common caveat that this oft given textbook problem is of little use in most realistic applications unless it is known that the true relationship among the data is linear, as the solution affords us no opportunity to check this assumption with the observed data. However, the authors would submit that there is a difference between being “useless in practical situations” and “understanding something fundamental about simple linear regression”. We believe that it is important for a student to understand the theory underlying simple linear regression, and this importance is supported by the inclusion of the problem in a large number of highly cited and best-selling texts. Unfortunately, many of these texts provide no solution, some provide a partial solution and others provide an incorrect solution. No texts with which we are familiar, nor their solutions manuals, provide a complete and correct solution. This common textbook problem affords the student the opportunity to understand what drives the variance of the parameter estimate, and as such deserves a correct solution.</p></sec><sec id="s5"><title>Acknowledgements</title><p>The authors wish to thank Dr. Ho Kuen Ng for a useful discussion on optimization.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.44323-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Weisberg, S. (2005) Applied Linear Regression. 3rd Edition, John Wiley &amp; Sons, Inc., Hoboken.http://dx.doi.org/10.1002/0471704091</mixed-citation></ref><ref id="scirp.44323-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Stewart, J. (2011) Calculus. 7th Edition, Thomson Brooks/Cole, Belmont.</mixed-citation></ref><ref id="scirp.44323-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Greenberg, H. (1971) Integer Programming. Academic Press, New York.</mixed-citation></ref><ref id="scirp.44323-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Li, D. and Sun, X. (2006) Nonlinear Integer Programming. Springer, New York.</mixed-citation></ref></ref-list></back></article>