no placeholders in labels
[PsN.git] / html / data_stats_docs.php
blobc4a06d7b9d6ace3051dc3fbc261343773d7a1235
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>PsN :: Documentation :: data_stats</title>
5 <!--Adobe(R) LiveMotion(TM) 1.0 Generated JavaScript. Please do not edit. -->
6 <script>
8 <!--
10 function newImage(arg) {
12 if (document.images) {
14 rslt = new Image();
16 rslt.src = arg;
18 return rslt;
24 ImageArray = new Array;
26 var preloadFlag = false;
28 function preloadImages() {
30 if (document.images) {
32 ImageArray[ImageArray.length++] = newImage(/* OWNER('object', 'dflt') *//*URL*/'images/indexhome.jpg');
33 ImageArray[ImageArray.length++] = newImage(/* OWNER('object', 'movr') *//*URL*/'images/indexhomeov.jpg');
34 ImageArray[ImageArray.length++] = newImage(/* OWNER('object1', 'dflt') *//*URL*/'images/indexdocumentation.jpg');
35 ImageArray[ImageArray.length++] = newImage(/* OWNER('object1', 'movr') *//*URL*/'images/indexdocumentationov.jpg');
36 ImageArray[ImageArray.length++] = newImage(/* OWNER('object2', 'dflt') *//*URL*/'images/indexdownload.jpg');
37 ImageArray[ImageArray.length++] = newImage(/* OWNER('object2', 'movr') *//*URL*/'images/indexdownloadov.jpg');
38 ImageArray[ImageArray.length++] = newImage(/* OWNER('object3', 'dflt') *//*URL*/'images/indexbuglist.jpg');
39 ImageArray[ImageArray.length++] = newImage(/* OWNER('object3', 'movr') *//*URL*/'images/indexbuglistov.jpg');
40 ImageArray[ImageArray.length++] = newImage(/* OWNER('object4', 'dflt') *//*URL*/'images/indexmailing_list.jpg');
41 ImageArray[ImageArray.length++] = newImage(/* OWNER('object4', 'movr') *//*URL*/'images/indexmailing_listov.jpg');
42 preloadFlag = true;
45 function changeImages() {
46 if (document.images && (preloadFlag == true)) {
47 for (var i=0; i<changeImages.arguments.length; i+=2) {
48 document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
52 // -->
53 </script><!-- End generated JavaScript. -->
54 <meta http-equiv="Content-Type"
55 content="text/html; charset=ISO-8859-1">
56 <style type="text/css">
57 <!--
58 body,td,th {
59 font-family: Helvetica, Arial, serif;
60 font-size: 12px;
61 color: #000000;
63 body {
64 margin-left: 6px;
65 margin-top: 0px;
66 margin-right: 0px;
67 margin-bottom: 0px;
68 background-image: url(gfx/bg.jpg);
70 .style1 {
71 font-size: 36px;
72 font-weight: bold;
74 .heading1 {
75 font-size: 16px;
76 font-weight: bold;
77 color: #333399;
78 margin-left: 40px;
80 a:link {
81 color: #656D9C;
82 text-decoration: none;
84 a:visited {
85 color: #656D9C;
86 text-decoration: none;
88 a:hover {
89 color: #AF9D49;
90 text-decoration: none;
92 a:active {
93 color: #656D9C;
94 text-decoration: none;
96 .style2 {font-family: "Courier New", Courier, mono}
97 -->
98 </style>
99 <script language="JavaScript" type="text/JavaScript">
100 <!--
101 function MM_reloadPage(init) { //reloads the window if Nav4 resized
102 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
103 document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
104 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
106 MM_reloadPage(true);
107 //-->
108 </script>
109 <meta content="Pontus Pihlgren" name="author">
110 </head>
111 <body onload="preloadImages();"
112 style="background-color: rgb(255, 255, 255);">
113 <!-- The table is not formatted nicely because some browsers cannot join images in table cells if there are any hard carriage returns in a TD. -->
114 <div id="Layer1"
115 style="position: absolute; left: 335px; top: 42px; width: 388px; height: 43px; z-index: 1; font-size: x-small;">
116 <div class="style1" align="right">Data Statistics<br>
117 </div>
118 </div>
119 <div id="Layer2"
120 style="position: absolute; left: 226px; top: 188px; width: 497px; height: 431px; z-index: 2;">
121 <div align="justify">
122 <h3 class="heading1">Synopsis</h3>
123 <span class="style2">data_stats [ -h | -? ] [ -help ]<br>
124 [ -columns='string' ]<br>
125 [ -ignore_columns='string' ]<br>
126 [ -debug='integer' ]<br>
127 [ -debug_package='string' ]<br>
128 [ -debug_subroutine='string' ]<br>
129 outputfile(s) </span><br>
131 <h3 class="heading1">Description</h3>
133 <p>data_stats calculates and prints simple statistics for data
134 files. Simple stastics are max, min, mean, median, range and standard
135 deviation for each column. </p>
137 <h3 class="heading1">Options</h3>
139 The options are given here in their long form. Any option may be
140 abbreviated to any nonconflicting prefix. The -threads option may
141 be abbreviated to -t(or even -thr) but -debug may not be
142 abbreviated to -d because it conflicts with -debug_packages and
143 -debug_subroutines.
145 The following options are valid:
146 <p class="style2">
147 -h | -?
149 Print a list of options.
150 <p><p class="style2">
152 -columns='strings'
154 By default data_stats prints statistics for all columns of the
155 data set. But if you give a comma separated list of column headers
156 or column numbers with the -columns option, then data_stats will
157 print statistics for those columns only.
159 <p class="style2">
160 -ignore_columns='strings'
162 ignore_columns work the oposite way of -columns, it lets you
163 select column headers or column numbers for which data_stats
164 should not print statistcs. It also takes a comma separated list.
165 <p class="style2">
166 -help
168 Print this, longer, help message.
170 <p class="style2">
171 -debug='integer'
173 Default value is: 0
175 This is mainly for developers who whish to debug PsN. By default
176 'integer' is zero but you can try setting it to '1' and you might
177 get some helpfull warnings. If you run in to problems that require
178 support, you might be told to crank this number up and send the
179 output to us.
181 <p class="style2">
182 -debug_package='string'
184 Default value is: empty string
186 If use together with '-debug' it is possible to choose which part
187 of PsN you want to see debug messages from. Again this is mostly
188 for developers.
190 <p class="style2">
191 -debug_subroutine='string'
192 <p>
193 Default value is: empty string
195 With this option it is possible to specify, with even finer
196 granularity, which part of PsN you want to see debug messages
197 from. This is definitly only for developers.
199 <h3 class="heading1">Output</h3>
201 The output of data_stats is ordered in rows and columns. For each
202 calculated statistics there is a row, and for each data set column,
203 there is a column.
205 So by running this command:
207 <span class="style2">$ data_stats file.dta --columns=WGT,TIME</span><p>
208 You get this table.
209 <pre>
210 WGT TIME
211 Min 0 0
212 Max 3 389
213 Mean 1 54
214 Median 1 59
215 Range 3 389
216 SD 0 25
217 </pre>
218 <h3 class="heading1">Examples</h3>
219 Examples:
220 <p>
221 Calculate statistics for all columns in file.dta
222 <p>
223 <span class="style2">$ data_stats file.dta</span>
225 Calculate statistics for all columns except WGT and AGE.
226 <p>
227 <span class="style2">$ data_stats --ignore_columns=WGT,AGE</span>
229 Calculate statistics for WGT and AGE only
231 <span class="style2">$ data_stats --columns=WGT,AGE</span>
233 </div>
234 <p align="justify">&nbsp;</p>
235 </div>
236 <table border="0" cellpadding="0" cellspacing="0" width="780">
237 <tbody>
238 <tr>
239 <td height="600" width="780">
240 <table border="0" cellpadding="0" cellspacing="0" width="780">
241 <tbody>
242 <tr>
243 <td colspan="7" height="201" width="780"><img
244 src="images/indexpane1_1_.jpg" name="" alt="" border="0" height="201"
245 width="780"></td>
246 </tr>
247 <tr>
248 <td height="46" width="26"><img
249 src="images/indexpane1_2_.jpg" name="" alt="" border="0" height="46"
250 width="26"></td>
251 <td height="46" width="73"><a href="index.php"
252 onmouseover="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhomeov.jpg'); return true;"
253 onmouseout="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhome.jpg'); return true;"><img
254 src="images/indexhome.jpg" name="object" alt="Home" border="0"
255 height="46" width="73"></a></td>
256 <td height="46" width="11"><img
257 src="images/indexpane3_2_.jpg" name="" alt="" border="0" height="46"
258 width="11"></td>
259 <td height="46" width="25"><img
260 src="images/indexpane4_2_.jpg" name="" alt="" border="0" height="46"
261 width="25"></td>
262 <td height="46" width="15"><img
263 src="images/indexpane5_2_.jpg" name="" alt="" border="0" height="46"
264 width="15"></td>
265 <td height="46" width="40"><img
266 src="images/indexpane6_2_.jpg" name="" alt="" border="0" height="46"
267 width="40"></td>
268 <td height="46" width="590"><img
269 src="images/indexpane7_2_.jpg" name="" alt="" border="0" height="46"
270 width="590"></td>
271 </tr>
272 <tr>
273 <td colspan="7" height="7" width="780"><img
274 src="images/indexpane1_3_.jpg" name="" alt="" border="0" height="7"
275 width="780"></td>
276 </tr>
277 <tr>
278 <td height="46" width="26"><img
279 src="images/indexpane1_4_.jpg" name="" alt="" border="0" height="46"
280 width="26"></td>
281 <td colspan="5" height="46" width="164"><a href="docs.php"
282 onmouseover="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentationov.jpg'); return true;"
283 onmouseout="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentation.jpg'); return true;"><img
284 src="images/indexdocumentation.jpg" name="object1" alt="Documentation"
285 border="0" height="46" width="164"></a></td>
286 <td height="46" width="590"><img
287 src="images/indexpane7_4_.jpg" name="" alt="" border="0" height="46"
288 width="590"></td>
289 </tr>
290 <tr>
291 <td colspan="7" height="7" width="780"><img
292 src="images/indexpane1_5_.jpg" name="" alt="" border="0" height="7"
293 width="780"></td>
294 </tr>
295 <tr>
296 <td height="46" width="26"><img
297 src="images/indexpane1_6_.jpg" name="" alt="" border="0" height="46"
298 width="26"></td>
299 <td colspan="3" height="46" width="109"><a
300 href="download.php"
301 onmouseover="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownloadov.jpg'); return true;"
302 onmouseout="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownload.jpg'); return true;"><img
303 src="images/indexdownload.jpg" name="object2" alt="Download" border="0"
304 height="46" width="109"></a></td>
305 <td colspan="3" height="46" width="645"><img
306 src="images/indexpane5_6_.jpg" name="" alt="" border="0" height="46"
307 width="645"></td>
308 </tr>
309 <tr>
310 <td colspan="7" height="7" width="780"><img
311 src="images/indexpane1_7_.jpg" name="" alt="" border="0" height="7"
312 width="780"></td>
313 </tr>
314 <tr>
315 <td height="46" width="26"><img
316 src="images/indexpane1_8_.jpg" name="" alt="" border="0" height="46"
317 width="26"></td>
318 <td colspan="2" height="46" width="84"><a href="buglist.php"
319 onmouseover="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglistov.jpg'); return true;"
320 onmouseout="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglist.jpg'); return true;"><img
321 src="images/indexbuglist.jpg" name="object3" alt="Buglist" border="0"
322 height="46" width="84"></a></td>
323 <td colspan="4" height="46" width="670"><img
324 src="images/indexpane4_8_.jpg" name="" alt="" border="0" height="46"
325 width="670"></td>
326 </tr>
327 <tr>
328 <td colspan="7" height="7" width="780"><img
329 src="images/indexpane1_9_.jpg" name="" alt="" border="0" height="7"
330 width="780"></td>
331 </tr>
332 <tr>
333 <td height="46" width="26"><img
334 src="images/indexpane1_10_.jpg" name="" alt="" border="0" height="46"
335 width="26"></td>
336 <td colspan="4" height="46" width="124"><a href="list.php"
337 onmouseover="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_listov.jpg'); return true;"
338 onmouseout="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_list.jpg'); return true;"><img
339 src="images/indexmailing_list.jpg" name="object4" alt="Mailing List"
340 border="0" height="46" width="124"></a></td>
341 <td colspan="2" height="46" width="630"><img
342 src="images/indexpane6_10_.jpg" name="" alt="" border="0" height="46"
343 width="630"></td>
344 </tr>
345 <tr>
346 <td colspan="7" height="141" width="780"><img
347 src="images/indexpane1_11_.jpg" name="" alt="" border="0" height="141"
348 width="780"></td>
349 </tr>
350 </tbody>
351 </table>
352 </td>
353 </tr>
354 <tr>
355 <td><img src="images/is_single_pixel_gif.gif" alt="" height="1"
356 width="780"></td>
357 </tr>
358 </tbody>
359 </table>
360 <!--Adobe(R) LiveMotion(TM) DataMap1.0 DO NOT EDIT
361 end DataMap -->
362 </body>
363 </html>