This document was successfully checked as XHTML 1.0 Transitional!

Result: Passed
:
Modified:(undefined)
Server:Apache/2.4.38 (Debian)
Size:4751
Content-Type:text/html
: utf-8
: XHTML 1.0 Transitional
Root Element: html
Root Namespace: http://www.w3.org/1999/xhtml
Options

Help on the options is available.

Congratulations

The document located at <http://web.tecnico.ulisboa.pt/~mcasquilho/compute/errtheory/Fx-regrsimplin.php> was successfully checked as XHTML 1.0 Transitional. This means that the resource in question identified itself as "XHTML 1.0 Transitional" and that we successfully performed a formal validation of it. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

"valid" Icon(s) on your Web page

To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:

Valid XHTML 1.0 Transitional
  <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
      src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
  </p>
  

A full list of icons, with links to alternate formats and colors, is available: If you like, you can download a copy of the icons to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server.

Linking to this result

If you would like to create a link to this page (i.e., this validation result) to make it easier to revalidate this page in the future or to allow others to validate your page, the URI is <http://validator.w3.org/check?uri=http%3A%2F%2Fweb.tecnico.ulisboa.pt%2F~mcasquilho%2Fcompute%2Ferrtheory%2FFx-regrsimplin.php;ss=1;verbose=1> (or you can just add the current page to your bookmarks or hotlist).

Validating CSS Style Sheets

If you use CSS in your document, you can check it using the W3C CSS Validation Service.

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="Author" lang="en" content="Miguel Casquilho" />
  6. <title>M&middot;C, IST: simple linear regression</title>
  7. <link rel="stylesheet" type="text/css"
  8. href="http://web.tecnico.ulisboa.pt/~mcasquilho/commonstyle.css" />
  9. </head> <!-- 18-Aug-2008 -->
  10. <body class="sm">
  11. <form method="post" action=
  12. "http://web.tecnico.ulisboa.pt/~mcasquilho/cgi-bin/interfacepng.php?regrsimplin">
  13. <input name="executable" type="hidden" value="regrsimplin.exe" />
  14. <table width="90%" bgcolor="#eeeeee" align="center" border="1" class="sm">
  15. <tr><td colspan="3">
  16. <table width="100%" class="sm">
  17. <tr><td width="50px"><a href='https://fenix.ist.utl.pt/departamentos/deq'><img alt='&copy;'
  18. src="http://web.tecnico.ulisboa.pt/~mcasquilho/depot/MC.gif" border='0'
  19. width='40' height='41' /></a>
  20. </td><!-- title -->
  21. <td><div style="font-size: 13.5pt; text-align: center"><!-- title --><b
  22. onmouseout="this.style.color='blue', this.style.fontStyle='normal'"
  23. onmouseover="this.style.color='red',
  24. this.style.fontStyle='bold'">
  25. Simple
  26. linear regression</b></div>&emsp;
  27. Performs a simple linear regression analysis on user-supplied data.
  28. <!-- b>Under construction</b --></td>
  29. <td width="112px"><table width='100%'>
  30. <tr><td align='center' bgcolor='white'>
  31. <input type="submit"
  32. value="&nbsp; Execute &nbsp;" style="background-color: #00bfff"
  33. onmouseout="this.style.fontStyle='normal', this.style.fontWeight='normal'"
  34. onmouseover="this.style.fontStyle='normal', this.style.fontWeight='bold'" /></td>
  35. </tr><tr><td align='center'><span style='font-size:
  36. xx-small'>2021.Mar.16 03:50:06</span></td></tr>
  37. </table>
  38. </td></tr></table>
  39. </td></tr> <!-- ................................................... -->
  40. <tr><td width="15%" align="center"><i>n</i></td>
  41. <td width="45%"><input name="n" type="text" value="10" size="5"
  42. maxlength="3" /></td>
  43. <td width="40%"><i>Number</i> of data. &bull;</td></tr>
  44. <tr><td align="center"><i>X</i> data</td>
  45. <td colspan="2"><i>Independent</i> variable, <i>X</i> &bull;<br />
  46. <textarea name="x" style="color: blue; font-weight: bold" cols="63" rows=
  47. "1"> .000 .204 .306 .408 .510 .612 .714 .816 .918 1.02</textarea></td>
  48. </tr>
  49. <tr><td align="center"><i>Y</i> data</td>
  50. <td colspan="2"><i>Dependent</i> variable, <i>Y</i> &bull;<br />
  51. <textarea name="y" style="color: blue; font-weight: bold" cols="63" rows=
  52. "1"> .00 .04 .06 .08 .11 .13 .15 .18 .20 .23</textarea></td>
  53. </tr>
  54. <tr><td align="center">Switch <i>X</i> and <i>Y</i> ?</td>
  55. <td><select name="iswitch"><option value="0" selected="selected">No</option>
  56. <option value="1">Yes</option></select> &nbsp;
  57. (<i>No:</i> as above; <i>Yes:</i> opposite)</td>
  58. <td><i>Switch</i> the values above (indep. and dep. vars.).</td></tr>
  59. <tr><td align="center">Through origin ?</td>
  60. <td><input type="radio" name="ithruorig" value="0" checked="checked" />No
  61. <input type="radio" name="ithruorig" value="1" />Yes</td>
  62. <td>Constrain line to pass <i>through the origin</i>. &bull;</td></tr>
  63. <tr><td align="center"><i>x</i><sub>T</sub>,
  64. <i>y</i><sub>T</sub></td>
  65. <td><input name="xt" type="text" value="0" size="5"
  66. maxlength="5" /><input name="yt" type="text" value="0" size="5"
  67. maxlength="5" /></td>
  68. <td>Trial <i>x</i> and <i>y</i> for estimation. &bull;</td></tr>
  69. <tr><td align="center">Show values</td>
  70. <td><select name="ishow"><option value="0" selected="selected">No</option>
  71. <option value="1">Yes</option></select></td>
  72. <td>Shows the coordinates of the graph. &bull;</td></tr>
  73. <!-- ...fonts/freefont/florence luxembrg muriel PARKAVE.pfb -->
  74. <!-- png linetype: my designations
  75. 1 red ff0000, 2 green 00c000, 3 blue 0080ff, 4 c000ff, 5 00eeee, 6 brown c04000,
  76. 7 beige eeee00, 8 dark blue 2020c0, 9 peach ffc020, 10 dark green 008040,
  77. 11 violeta a080ff, 12 dark brown 804000, 13 pink ff80ff, 14 turquesa 00c060,
  78. 15 turquesa 00c0c0, 16 turq. escuro 006080, 17 escarlate c06080,
  79. 18 dark green 008000, 19 green 40ff80, 20 dark blue 306080, 21 dark red 806000,
  80. 22 dark gray 404040, 23 olive green 408000, 24 navy blue 000080, 25 806010,
  81. 26 806060, 27 ~806080, 28 ~5050c0, 29 0000ff, 30 006000, 31 ~eb0c0,
  82. 32 40c080, 33 60a0c0 -->
  83. <!-- plot gnudata.dat \ (or anything: this line is a MANDATORY dummy) -->
  84. <tr><td colspan="3"><input name="gnuplot" type="hidden"
  85. value="set terminal png enhanced font 'FreeSerif, 13' size 500, 380
  86. set timestamp font 'FreeSerif, 10' offset 5, -0.7
  87. set nokey; set title 'Simple linear regression' offset 0, +.5
  88. set xlabel 'x' offset 12, .1; set ylabel 'y'
  89. plot 'anyname.dat' \
  90. using 1:2 with linespoints linetype 1 linewidth 2 ps 2 pt 12, \
  91. '' using 1:3 with lines linetype 2 linewidth 3, \
  92. '' using 1:4 with lines linetype 3 linewidth 2, \
  93. '' using 1:5 with lines linetype 3 linewidth 2" />
  94. <table width="100%" class="sm">
  95. <tr><td valign="top" colspan="2">&emsp;From a given set of <i>data</i>
  96. (points, observations), calculates the straight line,&emsp;
  97. <i>y</i> = <i>a</i><sub>0</sub> + <i>a</i><sub>1</sub> <i>x</i>,
  98. &nbsp;that best fits the data.
  99. <br />&emsp;If "switch", the <i>X</i> and <i>Y</i>
  100. are switched just <i style="color: red">after</i> being printed.
  101. <br />&emsp;For <i>x</i><sub>T</sub> and <i>y</i><sub>T</sub>,
  102. the estimated <i>y</i>&circ;<sub>T</sub> and <i>x</i>&circ;<sub>T</sub>,
  103. respectively, are calculated, with their confidence intervals.
  104. <br />&emsp;[The Pr above <i>F</i> (its p-value) tests
  105. a <i>null slope</i> (no influence): Pr(<i>a</i><sub>1</sub> &ne; 0).
  106. I.e., if small p-value, <i>a</i><sub>1</sub> &ne; 0.]
  107. <br />&emsp;Other suggested data:
  108. <table class="sm">
  109. <tr valign="top"><td><i>n</i> = 10 &nbsp; </td>
  110. <td><i>X</i> =&emsp; 75 80 93 65 87 71 98 68 84 77
  111. <br /><i>Y</i> =&emsp; 82 78 86 72 91 80 95 72 89 74</td>
  112. <td>&rarr; <i>a</i><sub>0, 1</sub> = 29.13, 0.661;
  113. <br />&nbsp; (switch) &minus;14.39, 1.15</td><td>[Spiegel, 1975, 300,
  114. <br />Pr. 8.67]</td></tr>
  115. <tr valign="top"><td><i>n</i> = 20 &nbsp; </td>
  116. <td><i>X</i> =&nbsp; 5.5 4.8 4.7 3.9 4.5 6.2 6.0 5.2 4.7 4.3 4.9 5.4 5.0 6.3
  117. 4.6 4.3 5.0 5.9 4.1 4.7
  118. <br /><i>Y</i> =&nbsp; 3.1 2.3 3.0 1.9 2.5 3.7 3.4 2.6 2.8 1.6 2.0 2.9 2.3 3.2
  119. 1.8 1.4 2.0 3.8 2.2 1.5</td>
  120. <td>&rarr; <i>a</i><sub>0, 1</sub> = &minus;1.700, 0.840</td>
  121. <td>[Marshall, 2005, 5]</td></tr>
  122. </table></td></tr>
  123. </table></td></tr>
  124. <tr><td align="center"><input type="reset"
  125. style="font-size: smaller" value=" Reset " /></td><td><i>References:</i></td>
  126. <td align="center">Plate: SimpLinReg08819</td></tr>
  127. <tr><td colspan="3"><p class="ref">&bull;&nbsp;<a href=
  128. "http://people.clemson.edu/~jerryh/"><span class="sc">Hester</span></a>,
  129. Jerry D.: <a href=
  130. "http://phoenix.phys.clemson.edu/tutorials/excel/regression.html">Linear
  131. Regression &amp; Excel</a> (<a href=
  132. "http://phoenix.phys.clemson.edu/tutorials/excel/">Excel Tutorials</a>),
  133. <a href="http://www.clemson.edu/">Clemson Univ.</a>.</p>
  134. <p class="ref">&bull;&nbsp;<a href=
  135. "http://www.si.umich.edu/Classes/644/"><span class="sc">Resnick</span></a>,
  136. Paul: <a href="./,regression/Resnick.ch11.pps">Chap. 11</a>.<i>pps</i>
  137. [McClave &amp; Sincich, 2003?] (SI 644--Introductory Statistics
  138. &amp; Data Analysis,
  139. <a href="http://www.si.umich.edu/">Univ. of Michigan</a>).</p>
  140. <p class="ref">&bull;&nbsp;<a href=
  141. "http://www.math.tulane.edu/~mlacey/"><span class="sc">Lacey</span></a>,
  142. Michelle: <a href=
  143. "http://www.stat.yale.edu/Courses/1997-98/101/anovareg.htm">ANOVA for
  144. regression</a> (Dept. Stat., Yale Univ.), <a href=
  145. "http://www.math.tulane.edu/">Tulane Univ.</a>.</p>
  146. <p class="ref">&bull;&nbsp;<a href=
  147. "http://www.che.udel.edu/directory/facultyprofile.html?id=399"><span
  148. class="sc">Shine</span></a>, Annette D.: <a href=
  149. "http://www.che.udel.edu/pdf/FittingData.pdf">Fitting data</a>.<i>pdf</i>
  150. (<a class="decnone" href="./,regression/UDel.FittingData.pdf">=</a>),
  151. <a href="http://www.udel.edu/">Univ. Delaware</a>
  152. (S. I. <a href="http://www.che.udel.edu/directory/facultyprofile.html?id=
  153. 375">Sandler</a>).</p>
  154. <p class="ref">&bull;&nbsp;<a href=
  155. "http://evergreen.loyola.edu/chm/www/"><span class="sc">Morrell</span></a>,
  156. Christopher H.: <a href=
  157. "http://evergreen.loyola.edu/chm/www/st466/teachingstat-rto.pdf">Regression
  158. through the origin</a>.<i>pdf</i> (accessed 2008-08-19)
  159. (<a class="decnone" href="http://web.tecnico.ulisboa.pt/~mcasquilho/compute/errtheory/,regression/regrthroughorigin.pdf">=</a>),
  160. <a href="http://www.loyola.edu/">Loyola Coll.</a>.</p>
  161. <p class="ref">&bull;&nbsp;<span class="sc">Weisstein</span>, Eric W.,
  162. "<a href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Least
  163. squares fitting</a>". From <i>MathWorld</i> &mdash; a Wolfram Web Resource
  164. (accessed 2008-08-19).</p>
  165. <p class="ref">&bull;&nbsp;<span class="sc">Taylor</span>, John R.,
  166. <acronym title="BibIST"><a href=
  167. "http://thesaurus.reitoria.utl.pt/search~S3*por?/cQC39.TAY.67208/
  168. cqc+++39+tay67208/-3,-1,0,B/
  169. frameset&amp;FF=cqc+++39+tay67208&amp;1,1,">1997</a></acronym>,
  170. "An introduction to error analysis", 2.nd ed., <acronym title="Amazon"><a href=
  171. "http://www.amazon.co.uk/In
  172. troduction-Error-Analysis-Uncertainties-Measurements/
  173. dp/093570275X/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1217804330&amp;sr=1-1"
  174. >Univ. Sci. Books</a></acronym>
  175. (<a href="http://www.uscibooks.com">USB</a>), Sausalito, CA (USA)
  176. (<a href="http://physics.gac.edu/~mellema/Taylor/
  177. Taylor_files/frame.htm">intro</a> IE).</p>
  178. <p class="ref">&bull;&nbsp;<span class="sc">McClave</span>, James T. and
  179. Terry <span class="sc">Sincich</span>,
  180. <acronym title="Amazon"><a href=
  181. "http://www.amazon.co.uk/Statistics-James-T-McClave/dp/0132363445/ref=
  182. sr_1_9?ie=UTF8&amp;s=books&amp;qid=1221003962&amp;sr=1-9"> 2003</a>?</acronym>,
  183. "Statistics", 9.th ed. (now 11.th), Pearson Intn'l Ed. (Pr.-Hall).</p>
  184. <p class="ref">&bull;&nbsp;<span class="sc">Spiegel</span>, Murray R.,
  185. 1975, Schaum's Outline Series, "Theory and problems of Probability and
  186. Statistics", McGraw-Hill Book Co., New York, NY (USA), ISBN 0-07-060220-4;
  187. <acronym title="BibIST"><a href=
  188. "http://thesaurus.reitoria.utl.pt/search~S3*por?/aSpiegel/aspiegel/1,8,40,B/
  189. frameset&amp;FF=aspiegel+murray+r&amp;19,,24">1980</a></acronym>,
  190. ISBN 0-07-084356-2;
  191. <acronym title="Amazon"><a href=
  192. "http://www.amazon.co.uk/Schaums-Outline-Probability-Statistics/dp/
  193. 0071350047/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=
  194. 1220739410&amp;sr=1-1">2000</a></acronym>, ISBN 0-07-135004-7.</p>
  195. <p class="ref">&bull;&nbsp;<a href=
  196. "http://filebox.vt.edu/users/jemarsh2/"><span class="sc">Marshall</span></a>,
  197. J. Brooke: <a href="./,regression/VirgTech_Ch10Examples.pdf">Simple
  198. Linear Regression</a>.<i>pdf</i> Examples (Virginia Tech).</p>
  199. <p class="ref">&bull;&nbsp;1584-08-19: <a href=
  200. "http://www-groups.dcs.st-and.ac.uk/~history/Biographies/
  201. Vernier.html">Vernier</a>, Pierre, birthday. [Compare with <a href=
  202. "http://www-groups.dcs.st-and.ac.uk/~history/Biographies/
  203. Clavius.html">Clavius</a> (1538&ndash;1612) and Pedro <a href=
  204. "http://www-groups.dcs.st-and.ac.uk/~history/Biographies/
  205. Nunes.html">Nunes</a> (1502&ndash;1578) about the <a href=
  206. "http://www.merriam-webster.com/dictionary/vernier"><i>vernier</i></a> or
  207. &mdash;generally absent from the dictionaries&mdash; <a href=
  208. "http://www.websters-online-dictionary.org/definition/
  209. nonius"><i>nonius</i></a>.]</p>
  210. </td></tr>
  211. </table>
  212. </form>
  213. <div style="line-height: 6pt">&nbsp;</div>
  214. <div style="line-height: 1.5pt; color: black;
  215. background-color: red">&nbsp;</div>
  216. <table width="100%" class="sm"><tr>
  217. <td width="58px"><a href="http://validator.w3.org/check?uri=
  218. http://web.tecnico.ulisboa.pt/~mcasquilho/compute/errtheory/Fx-regrsimplin.php;verbose=1;ss=1"><img
  219. src="http://web.tecnico.ulisboa.pt/~mcasquilho/depot/valid-xhtml10s.png"
  220. alt="Valid HTML 4.01!" border="0" width="55px" height="19px" /></a></td>
  221. <td width="15%" align="left"><a href="http://www.tecnico.ulisboa.pt"><img
  222. src="http://web.tecnico.ulisboa.pt/~mcasquilho/depot/wwwist.png"
  223. alt="IST" align="middle" border="0" width="88px" height="34px" /></a></td>
  224. <td width="70%" align=
  225. "right"><i>http://web.tecnico.ulisboa.pt/~mcasquilho/compute/errtheory/Fx-regrsimplin.php</i><br />
  226. <i>Created:</i> 2008-08-19 &mdash; <i>Last modified:</i>
  227. 2008-09-15</td></tr></table>
  228. </body></html>

↑ Top