This document was successfully checked as XHTML 1.0 Transitional!

Result: Passed
:
Modified:(undefined)
Server:Apache/2.4.25 (Debian)
Size:3460
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://sasws.ist.utl.pt/cisti/Fx-sigmaFromSums-sas.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%2Fsasws.ist.utl.pt%2Fcisti%2FFx-sigmaFromSums-sas.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: Monte Carlo sigma from sums</title>
  7. <link rel="stylesheet" type="text/css"
  8. href="http://sasws.tecnico.ulisboa.pt/common/x_commonstyle.css" />
  9. <style type="text/css"> .hil {background-color: #a0c0ff}</style>
  10. </head> <!-- 20Jan2018 -->
  11. <body class="sm">
  12. <form method="post" action=
  13. "../common/interface_png.php?silent">
  14. <input name="executable" type="hidden" value="silent.exe" />
  15. <input type="hidden" name="servers[]" value="http://sasws.ist.utl.pt/cisti" /><input type="hidden" name="servers[]" value="http://sasws.ist.utl.pt/cisti" />
  16. <table width="90%" bgcolor="#eeeeee" align="center" border="1" class="sm">
  17. <tr><td colspan="3">
  18. <table width="100%" class="sm">
  19. <tr><td width="50px"><a href="https://fenix.ist.utl.pt/departamentos/deq"><img
  20. src="../common/emblem.png" alt="emblem" border="0px" width="40" height="41" /></a>
  21. </td><!--title-->
  22. <td><div style="font-size: 13.5pt; text-align: center"><!-- title --><b
  23. onmouseout="this.style.color='blue', this.style.fontStyle='normal'"
  24. onmouseover="this.style.color='red',
  25. this.style.fontStyle='bold'">
  26. <i>&sigma;</i>
  27. from unequal sample sizes</b></div><center>Finds <i>&sigma;</i>
  28. from bag batches' sums of weights: a conjecture.<!--b>
  29. UN DERCONSTRUCTION</b--></center></td>
  30. <td width="112px"><table width='100%'>
  31. <tr><td align="center" style="background-color: white">
  32. <input type="submit"
  33. value="&nbsp; Execute &nbsp;" style="background-color: #00bfff"
  34. onmouseout="this.style.fontStyle='normal', this.style.fontWeight='normal'"
  35. onmouseover="this.style.fontStyle='normal', this.style.fontWeight='bold'"/></td>
  36. </tr><tr><td align='center'><span style='font-size: xx-small'>2020.Mar.17 01:17:05</span></td></tr></table>
  37. </td></tr></table>
  38. </td></tr> <!-- ................................................... -->
  39. <tr><td width="15%" align="center"><b>n</b></td>
  40. <td width="45%"><textarea name="lots" rows="1"
  41. cols="45"> 5 11 26 58</textarea><input
  42. name="eodn" type="hidden" value="EOD" /></td>
  43. <td width="40%">Lot <i>sizes</i>, <i>n<sub>i</sub></i>,
  44. <i>i</i> = 1..<i>m</i>. &bull;</td></tr>
  45. <tr><td align="center"><i>&mu;</i>, <i>&sigma;</i></td>
  46. <td><input name="mu" type="text" value="25" size="6"
  47. maxlength="8" /><input name="sig" type="text" value="0.2" size="6"
  48. maxlength="8" /> (kg) &emsp; (theoretical)</td>
  49. <td>Gaussian parameters for the bag weight. &bull;</td></tr>
  50. <tr><td align="center">Criterion</td>
  51. <td><i>c</i> =
  52. <label for="crit0" class="hil"><input name="crit" id="crit0"
  53. type="radio" value="0" />&nbsp;0&nbsp;</label> &nbsp;
  54. <label for="crit1" class="hil"><input name="crit" id="crit1"
  55. type="radio" value="1" checked="checked" />&nbsp;1&nbsp;</label> &nbsp;
  56. <label for="crit2" class="hil"><input name="crit" id="crit2"
  57. type="radio" value="2" />&nbsp;2&nbsp;</label> &nbsp;
  58. <input name="altcrit" type="text" value="?" size="4"
  59. maxlength="10" style="background-color: #a0c0ff" /> (iff given)</td>
  60. <td><i>Criterion</i> for weighting. &bull;</td></tr>
  61. <tr><td align="center">Lg(trials), .seed</td>
  62. <td><input name="trialslg" type="text" value="5." size="6"
  63. maxlength="10" /><input name="iseed" type="text" value="0" size="6"
  64. maxlength="10" /></td>
  65. <td>N. of <i>trials</i> and random n. generator <i>seed</i>. &bull;</td></tr>
  66. <tr><td align="center">Show values</td>
  67. <td><select name="ishow"><option value="0" selected="selected">No</option>
  68. <option value="1">Yes</option></select></td>
  69. <td>Show the graph coordinates.</td></tr>
  70. <!-- plot 'gnudata.dat' \ (or anything: this line is a MANDATORY dummy) -->
  71. <tr><td colspan="3"><input name="gnuplot" type="hidden"
  72. value="wid = 600
  73. set terminal png enhanced font 'Times, 16' size wid, wid/1.618
  74. set timestamp offset 0, +0.75 font 'Helvetica-Bold, 9'
  75. set key top left font 'Times-Italic, 13'
  76. set title 'From loads of bags to {/Symbol s}' offset 0, -1.
  77. set xlabel '{/Times-Italic a}' offset 14, +0.95
  78. set ylabel ' {/Times-Italic f}' rotate by 0 offset +1.5, +4.25
  79. set yrange [0:*]; set ytics nomirror
  80. set y2label '{/Times-Italic F}' rotate by 0 offset -2.9, +4.25
  81. set y2range [0:1]; set y2tics 0.2 nomirror
  82. set grid; set tics font 'Times, 13'
  83. set style line 11 lc rgb 'red' lw 2
  84. set style line 12 lc rgb '#09ad00' lw 4 # green
  85. set style line 13 lc rgb '#0000ff' lw 2 # blue
  86. plot anyname.dat \
  87. usi 1:2 axis x1y1 title '{/Times-Italic f}' with lines ls 11, \
  88. '' usi 1:3 axis x1y2 title '{/Times-Italic F}' with lines ls 12" /><p class="ij">Tries,
  89. from simulated weights of batches of possibly
  90. <i>unequal</i> sizes of bags (or other collective items),
  91. to determine the <i>mean</i> and <i>standard deviation</i>,
  92. <i>&mu;</i> and <i>&sigma;</i>, of the Gaussian distribution
  93. assumed for the weight of the <i>individual</i> bags.
  94. The sizes of the <i>m</i> batches (indeed, commercial <i>lots</i>)
  95. are <i>n<sub>i</sub></i>, <i>i</i> = 1..<i>m</i>,
  96. given in the vector&nbsp;<b>n</b>.</p>
  97. <p class="ij">The determination of <i>&sigma;</i>
  98. is done by a weighting criterion applied to the various lot sizes,
  99. a conjecture. The weights are, for <i>i</i> = 1..<i>m</i>,
  100. <span class="nobreak"><i>w<sub>i</sub></i> = <i>n<sub>i</sub></i><sup><i>c</i></sup> &frasl; &Sigma;<i>n<sub>i</sub></i><sup>c</sup></span>.
  101. (A criterion of <i>c</i> = 0 leads, of course, to the arithmetic mean,
  102. which will also be the case for any <i>c</i> if all the
  103. <i>n<sub>i</sub></i> are equal.)</p>
  104. <p class="ij">The best criterion appears to be
  105. <i>c</i>&nbsp;=&nbsp;1.</p>
  106. <p class="ij">This is an attempt to estimate <i>&sigma;</i>
  107. (estimating <i>&mu;</i> is trivial) from a set of experimental data
  108. that are here simulated but which routinely exist in many industries.
  109. (The base data are inspired in real bags of fertilizers.)</p>
  110. <p class="ij">As this computation is rather lengthy,
  111. if the number of trials is excessive (for the total lot sizes),
  112. it is reduced (trials &times; lot total &le; 10<sup><b>8</b></sup>).</p>
  113. <p class="ij">Draws a plot of <i>f</i>, the 'pdf', and <i>F</i>,
  114. the 'cdf', of the averages of bags,
  115. <i>a</i> (certainly, around <i>&mu;</i>), only to verify
  116. the sufficiency of the Monte Carlo simulation.</p></td></tr>
  117. <tr><td align="center"><input type="reset" style="font-size: smaller"
  118. value=" Reset " /></td><td><i>References:</i></td>
  119. <td align="center"><i>Plate:</i> SigmaFromSums</td></tr>
  120. <tr><td colspan="3"><!--p class="ref">&bull;&nbsp;&bull;&nbsp;#Wikipedia: <a href=
  121. "https://en.wikipedia.org/wiki/Variance">variance</a></p-->
  122. <p class="ref">&bull;&nbsp;Google search: <a href=
  123. "https://www.google.com/search?q=%22different+sample+size%22+-unequal&amp;oq=
  124. %22different+sample+size%22+-unequal"
  125. >"different sample size" -unequal</a>; <a href=
  126. "https://www.google.com/search?q=%22unequal+sample+size%22+-different&amp;oq=
  127. %22unequal+sample+size%22+-different"
  128. >"unequal sample size" -different</a></p>
  129. <p class="ref">&bull;&nbsp;<a href=
  130. "http://www.adp-fertilizantes.pt/templates/SP.aspx?M=112&amp;F=7"
  131. >Catálogo de fertilizantes</a> (<a href=
  132. "http://www.adp-fertilizantes.pt/">ADP fertilizantes, SA</a>,
  133. "fertilizers"). (<a href=
  134. "http://www.sapecagro.pt/internet/asp/home.asp"
  135. >SAPEC</a>; <a href=
  136. "http://www.tradecorp.es/productos/nutricomplex-rojo"
  137. >Tradecorp</a>)</p>
  138. <p class="ref">&bull;&nbsp;1842-11-12: <a href=
  139. "http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Rayleigh.html"
  140. ><span class="sc">Strutt</span></a>, John William (Lord Rayleigh)
  141. (&dagger; 1919-06-30).</p></td></tr>
  142. </table>
  143. </form>
  144. <div style="line-height: 12pt">&nbsp;</div>
  145. <div style="line-height: 1.5pt; color: black; background-color: red">&nbsp;</div>
  146. <table width="100%" class="sm"><tr>
  147. <td style="width: 58px"><a href="http://validator.w3.org/check?uri=
  148. http://sasws.ist.utl.pt/cisti/Fx-sigmaFromSums-sas.php;verbose=1;ss=1"><img
  149. src="http://sasws.tecnico.ulisboa.pt/common/valid-xhtml10s.png"
  150. alt="Valid HTML 4.01!" style="border: none" width="55px" height="19px" /></a></td>
  151. <td style="width: 15%" align="left"><a href="http://www.tecnico.ulisboa.pt"><img
  152. src="http://sasws.tecnico.ulisboa.pt/common/wwwist.png"
  153. alt="IST" style="border: none; width: 88px"
  154. height="34px" /></a></td>
  155. <td style="width: 70%" align=
  156. "right"><i>http://sasws.ist.utl.pt/cisti/Fx-sigmaFromSums-sas.php</i><br />
  157. <i>Created:</i> 2017-11-12 &mdash; <i>Last modified:</i>
  158. 2018-01-20</td></tr></table>
  159. </body></html>

↑ Top