-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalidation.html
63 lines (57 loc) · 2.63 KB
/
validation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<div class="content">
<h2>Validation & Verification R Script </h2>
<p>
<tt>FullScriptNUM.R</tt> is an R script intended to be run locally when the
user feels the need to validate, verify, or reproduce results obtained by
the "NIST Uncertainty Machine" (NUM).
<br />
More detailed information is available in the <a href="./NISTUncertaintyMachine-UserManual.pdf#page=17"> User's manual Chapter 6.</a>
<br />
<br />
Passing a configuration file produced by the NUM as an argument to
<tt>FullScriptNUM.R</tt>, produces the same results as when the same
configuration file is loaded into the web application and run there.
<br />
<br />
Suppose the configuration file is called <tt>NUMConfigExample.um</tt>.
The script can be run with the following command:
<pre>$ Rscript FullScriptNUM.R NUMConfigExample.um</pre>
The script will generate 3 files with the same prefix as the configuration
file. In the case of the example above, the output files would be:
<ul>
<li >
<tt>NUMConfigExample-result.txt</tt>, a plain text file with the same
results and layout of the numerical results shown on the NUM's output
Web page;
</li>
<li >
<tt>NUMConfigExample-density.jpg</tt>, a JPEG file with the same plot
that is displayed on the NUM's output Web page, showing the graphs of
two probability densities;
</li>
<li >
<tt>NUMConfigExample-value.Rd</tt>, a binary R data file with the
replicates of the input quantities, and with the corresponding values
of the output quantity, corresponding to the Monte Carlo method of the
GUM Supplement 1. In R, the command
<tt>load('NUMConfigExample-values.Rd')</tt> will create as many vectors as
there are input quantities, with their names as specified in the
configuration file, and a vector named "y" with the values of the
output quantity.
</li>
</ul>
The script will install any necessary R packages that may not have been
previously installed in the local version of the R system. The script
first writes its version number onto the terminal window, which should
be matched to the version of the NUM displayed at the top of the page
of the web application.
</p>
<h2>Download </h2>
<ul>
<li >
<a download="FullScriptNUM.R" href="./FullScriptNUM/FullScriptNUM_1.3.5.R" type="application/octet-stream"> NIST Validation & Verification Script Version 1.3.5</a>
</li>
<li >
<a download="FullScriptNUM.R" href="./FullScriptNUM/FullScriptNUM_1.3.4.R" type="application/octet-stream"> NIST Validation & Verification Script Version 1.3.4</a>
</li>
</ul>