Lots of fixes for 2.2, see README.txt for details
[PsN.git] / html / bootstrap_docs.php
blob725f232e322984941bed9986e414c197ce15b06f
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>PsN :: Documentation :: Bootstrap</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">the Bootstrap</div>
117 </div>
118 <div id="Layer2"
119 style="position: absolute; left: 226px; top: 188px; width: 497px; height: 431px; z-index: 2;">
120 <div align="justify">
121 <?php
122 include("bootstrap_synopsis.php");
123 include("bootstrap_description.php");
124 include("bootstrap_options.php");
125 include("bootstrap_examples.php");
126 php?>
127 <!--
128 <h3 class="heading1">Synopsis</h3>
129 <p><tt>$ bootstrap [ -h | -? ] [ --help ]<br>
130 [ --bca ]<br>
131 [ --sample_size=integer ]<br>
132 [ --samples=integer ]<br>
133 [ --stratify_on='string' ]<br>
134 [ --abort_on_fail ]<br>
135 [ --clean ]<br>
136 [ --compress ]<br>
137 [ --cpu_time=integer ]<br>
138 [ --debug=0 ]<br>
139 [ --debug_package='string' ]<br>
140 [ --debug_subroutine='string' ]<br>
141 [ --directory='string' ]<br>
142 [ --extra_data_file='string' ]<br>
143 [ --extra_files='string' ]<br>
144 [ --grid_batch_size=integer ]<br>
145 [ --missing_data_token='string' ]<br>
146 [ --nm_directory='string' ]<br>
147 [ --nm_version='string' ]<br>
148 [ --outputfile='string' ]<br>
149 [ --picky ]<br>
150 [ --remove_temp_files ]<br>
151 [ --results_file='string' ]<br>
152 [ --retries=integer ]<br>
153 [ --run_on_nordugrid ]<br>
154 [ --seed='string' ]<br>
155 [ --threads=integer ]<br>
156 [ --tweak_inits ]</tt>
157 </p>
158 <h3 class="heading1">Description</h3>
160 The bootstrap can be used to calculate bias, standard errors and
161 confidence intervals. It does so by resampling with replacement
162 from the data, see Efron B, An Introduction to the Bootstrap,
163 Chap. & Hall, London UK, 1993. To compute standard errors for
164 all parameters of a model using the non-parametric bootstrap
165 implemented here, roughly 200 model fits are necessary. To asses
166 95% confidence intervals approximately 2000 runs will suffice.
167 </p>
168 <h3 class="heading1">Options</h3>
170 The options are given here in their long form. Any option may be
171 abbreviated to any nonconflicting prefix. The <span class="style2">-threads</span> option
172 may be abbreviated to <span class="style2">-t</span> (or even <span class="style2">-thr</span>) but <span class="style2">-debug</span> may not be
173 abbreviated to <span class="style2">-d</span> because it conflicts with <span class="style2">-debug_packages</span> and
174 <span class="style2">-debug_subroutines</span>.
175 </p>
177 The following options are valid:
178 </p>
179 <span class="style2">-model='filename'
180 </p>
181 </span>
183 The name of the model file. May be specified with or without the
184 "'".
185 </p>
186 <p class="style2">
187 -samples
188 </p>
190 The number of bootstrap samples.
191 </p>
192 <p class="style2">
193 -sample_size
194 </p>
196 The number of subjects in each bootstrap data set. The default
197 value is set to the number of individuals in the original data
198 set.
199 </p>
200 <p class="style2">
201 -bca
202 </p>
204 Using the <span class="style2">-bca </span>option, the bootstrap utility will calculate the confidence intervals through the BCa method. The
205 default approach however, is not to use the BCa (see Efron B, An introduction to
206 the Bootstrap, 1993). The BCa is intended for calculation
207 of second-order correct confidence intervals.
208 </p>
209 <p class="style2">
210 -stratify_on=integer
211 </p>
213 It may be necessary to use stratification in the resampling
214 procedure. For example, if the original data consists of two
215 groups of patients - say 10 patients with full pharmacokinetic
216 profiles and 90 patients with sparse concentration
217 measurements - it may be wise to restrict the resampling
218 procedure to resample within the two groups, producing bootstrap
219 data sets that all contain 10 rich + 90 sparse data patients but
220 with different compositions. The default is not to use
221 stratification. Set stratify_on to the column that defines the
222 two groups.
223 </p>
225 See the <a href="execute_docs.php">execute documentation</a> for a description of common options.
226 </p>
228 <h3 class="heading1">Output</h3>
230 The Boostrap creates a log file and a result file. Both are by default placed in the bootstrap_dirX directory
231 and are called boostraplog.csv and bootstrap-results.csv.
232 </p>
233 <!--
234 <h3 class="heading1">Example</h3>
235 <p align="justify" class="style2">$ bootstrap modelfile.mod -samples=200</p>
237 This will run a non-parametric bootstrap of 200 samples and give
238 you good estimates of the standard errors of the parameter
239 estimates. You will get some estimates for the confidence
240 intervals too, but they will generally not be of high quality.</p>
241 <p class="style2">
242 $ bootstrap modelfile.mod -samples=2000 -bca
243 </p>
244 <p> This will run a non-parametric bootstrap using the BCa technique.</p>
245 <p class="style2">
246 $ bootstrap modelfile.mod -samples=2000 -bca -stratify_on=5
247 </p>
249 This is the same BCa approach as above but with stratification
250 on the factors of column five.</p>
252 </div>
253 </div>
254 <table border="0" cellpadding="0" cellspacing="0" width="780">
255 <tbody>
256 <tr>
257 <td height="600" width="780">
258 <table border="0" cellpadding="0" cellspacing="0" width="780">
259 <tbody>
260 <tr>
261 <td colspan="7" height="201" width="780"><img
262 src="images/indexpane1_1_.jpg" name="" alt="" border="0" height="201"
263 width="780"></td>
264 </tr>
265 <tr>
266 <td height="46" width="26"><img
267 src="images/indexpane1_2_.jpg" name="" alt="" border="0" height="46"
268 width="26"></td>
269 <td height="46" width="73"><a href="index.php"
270 onmouseover="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhomeov.jpg'); return true;"
271 onmouseout="changeImages(/*CMP*/ 'object', /*URL*/ 'images/indexhome.jpg'); return true;"><img
272 src="images/indexhome.jpg" name="object" alt="Home" border="0"
273 height="46" width="73"></a></td>
274 <td height="46" width="11"><img
275 src="images/indexpane3_2_.jpg" name="" alt="" border="0" height="46"
276 width="11"></td>
277 <td height="46" width="25"><img
278 src="images/indexpane4_2_.jpg" name="" alt="" border="0" height="46"
279 width="25"></td>
280 <td height="46" width="15"><img
281 src="images/indexpane5_2_.jpg" name="" alt="" border="0" height="46"
282 width="15"></td>
283 <td height="46" width="40"><img
284 src="images/indexpane6_2_.jpg" name="" alt="" border="0" height="46"
285 width="40"></td>
286 <td height="46" width="590"><img
287 src="images/indexpane7_2_.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_3_.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_4_.jpg" name="" alt="" border="0" height="46"
298 width="26"></td>
299 <td colspan="5" height="46" width="164"><a href="docs.php"
300 onmouseover="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentationov.jpg'); return true;"
301 onmouseout="changeImages(/*CMP*/ 'object1', /*URL*/ 'images/indexdocumentation.jpg'); return true;"><img
302 src="images/indexdocumentation.jpg" name="object1" alt="Documentation"
303 border="0" height="46" width="164"></a></td>
304 <td height="46" width="590"><img
305 src="images/indexpane7_4_.jpg" name="" alt="" border="0" height="46"
306 width="590"></td>
307 </tr>
308 <tr>
309 <td colspan="7" height="7" width="780"><img
310 src="images/indexpane1_5_.jpg" name="" alt="" border="0" height="7"
311 width="780"></td>
312 </tr>
313 <tr>
314 <td height="46" width="26"><img
315 src="images/indexpane1_6_.jpg" name="" alt="" border="0" height="46"
316 width="26"></td>
317 <td colspan="3" height="46" width="109"><a
318 href="download.php"
319 onmouseover="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownloadov.jpg'); return true;"
320 onmouseout="changeImages(/*CMP*/ 'object2', /*URL*/ 'images/indexdownload.jpg'); return true;"><img
321 src="images/indexdownload.jpg" name="object2" alt="Download" border="0"
322 height="46" width="109"></a></td>
323 <td colspan="3" height="46" width="645"><img
324 src="images/indexpane5_6_.jpg" name="" alt="" border="0" height="46"
325 width="645"></td>
326 </tr>
327 <tr>
328 <td colspan="7" height="7" width="780"><img
329 src="images/indexpane1_7_.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_8_.jpg" name="" alt="" border="0" height="46"
335 width="26"></td>
336 <td colspan="2" height="46" width="84"><a href="buglist.php"
337 onmouseover="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglistov.jpg'); return true;"
338 onmouseout="changeImages(/*CMP*/ 'object3', /*URL*/ 'images/indexbuglist.jpg'); return true;"><img
339 src="images/indexbuglist.jpg" name="object3" alt="Buglist" border="0"
340 height="46" width="84"></a></td>
341 <td colspan="4" height="46" width="670"><img
342 src="images/indexpane4_8_.jpg" name="" alt="" border="0" height="46"
343 width="670"></td>
344 </tr>
345 <tr>
346 <td colspan="7" height="7" width="780"><img
347 src="images/indexpane1_9_.jpg" name="" alt="" border="0" height="7"
348 width="780"></td>
349 </tr>
350 <tr>
351 <td height="46" width="26"><img
352 src="images/indexpane1_10_.jpg" name="" alt="" border="0" height="46"
353 width="26"></td>
354 <td colspan="4" height="46" width="124"><a href="list.php"
355 onmouseover="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_listov.jpg'); return true;"
356 onmouseout="changeImages(/*CMP*/ 'object4', /*URL*/ 'images/indexmailing_list.jpg'); return true;"><img
357 src="images/indexmailing_list.jpg" name="object4" alt="Mailing List"
358 border="0" height="46" width="124"></a></td>
359 <td colspan="2" height="46" width="630"><img
360 src="images/indexpane6_10_.jpg" name="" alt="" border="0" height="46"
361 width="630"></td>
362 </tr>
363 <tr>
364 <td colspan="7" height="141" width="780"><img
365 src="images/indexpane1_11_.jpg" name="" alt="" border="0" height="141"
366 width="780"></td>
367 </tr>
368 </tbody>
369 </table>
370 </td>
371 </tr>
372 <tr>
373 <td><img src="images/is_single_pixel_gif.gif" alt="" height="1"
374 width="780"></td>
375 </tr>
376 </tbody>
377 </table>
378 <!--Adobe(R) LiveMotion(TM) DataMap1.0 DO NOT EDIT
379 end DataMap -->
380 </body>
381 </html>