1 <!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <title
>PsN
:: Documentation
:: data_stats
</title
>
5 <!--Adobe(R
) LiveMotion(TM
) 1.0 Generated JavaScript
. Please
do not edit
. -->
10 function newImage(arg
) {
12 if (document
.images
) {
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');
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];
53 </script
><!-- End generated JavaScript
. -->
54 <meta http
-equiv
="Content-Type"
55 content
="text/html; charset=ISO-8859-1">
56 <style type
="text/css">
59 font
-family
: Helvetica
, Arial
, serif
;
68 background
-image
: url(gfx
/bg
.jpg
);
82 text
-decoration
: none
;
86 text
-decoration
: none
;
90 text
-decoration
: none
;
94 text
-decoration
: none
;
96 .style2
{font
-family
: "Courier New", Courier
, mono
}
99 <script language
="JavaScript" type
="text/JavaScript">
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();
109 <meta content
="Pontus Pihlgren" name
="author">
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
. -->
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
>
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
145 The following options are valid
:
149 Print a
list of options
.
150 <p
><p
class="style2">
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
.
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.
168 Print this
, longer
, help message
.
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
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
191 -debug_subroutine
='string'
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
,
205 So by running this command
:
207 <span
class="style2">$ data_stats file
.dta
--columns
=WGT
,TIME
</span
><p
>
218 <h3
class="heading1">Examples
</h3
>
221 Calculate statistics
for all columns in file
.dta
223 <span
class="style2">$ data_stats file
.dta
</span
>
225 Calculate statistics
for all columns except WGT
and AGE
.
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
>
234 <p align
="justify"> 
;</p
>
236 <table border
="0" cellpadding
="0" cellspacing
="0" width
="780">
239 <td height
="600" width
="780">
240 <table border
="0" cellpadding
="0" cellspacing
="0" width
="780">
243 <td colspan
="7" height
="201" width
="780"><img
244 src
="images/indexpane1_1_.jpg" name
="" alt
="" border
="0" height
="201"
248 <td height
="46" width
="26"><img
249 src
="images/indexpane1_2_.jpg" name
="" alt
="" border
="0" height
="46"
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"
259 <td height
="46" width
="25"><img
260 src
="images/indexpane4_2_.jpg" name
="" alt
="" border
="0" height
="46"
262 <td height
="46" width
="15"><img
263 src
="images/indexpane5_2_.jpg" name
="" alt
="" border
="0" height
="46"
265 <td height
="46" width
="40"><img
266 src
="images/indexpane6_2_.jpg" name
="" alt
="" border
="0" height
="46"
268 <td height
="46" width
="590"><img
269 src
="images/indexpane7_2_.jpg" name
="" alt
="" border
="0" height
="46"
273 <td colspan
="7" height
="7" width
="780"><img
274 src
="images/indexpane1_3_.jpg" name
="" alt
="" border
="0" height
="7"
278 <td height
="46" width
="26"><img
279 src
="images/indexpane1_4_.jpg" name
="" alt
="" border
="0" height
="46"
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"
291 <td colspan
="7" height
="7" width
="780"><img
292 src
="images/indexpane1_5_.jpg" name
="" alt
="" border
="0" height
="7"
296 <td height
="46" width
="26"><img
297 src
="images/indexpane1_6_.jpg" name
="" alt
="" border
="0" height
="46"
299 <td colspan
="3" height
="46" width
="109"><a
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"
310 <td colspan
="7" height
="7" width
="780"><img
311 src
="images/indexpane1_7_.jpg" name
="" alt
="" border
="0" height
="7"
315 <td height
="46" width
="26"><img
316 src
="images/indexpane1_8_.jpg" name
="" alt
="" border
="0" height
="46"
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"
328 <td colspan
="7" height
="7" width
="780"><img
329 src
="images/indexpane1_9_.jpg" name
="" alt
="" border
="0" height
="7"
333 <td height
="46" width
="26"><img
334 src
="images/indexpane1_10_.jpg" name
="" alt
="" border
="0" height
="46"
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"
346 <td colspan
="7" height
="141" width
="780"><img
347 src
="images/indexpane1_11_.jpg" name
="" alt
="" border
="0" height
="141"
355 <td
><img src
="images/is_single_pixel_gif.gif" alt
="" height
="1"
360 <!--Adobe(R
) LiveMotion(TM
) DataMap1
.0
DO NOT EDIT