Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_rngnorm.wasp
Title produced by softwareRandom Number Generator - Normal Distribution
Date of computationTue, 24 Nov 2009 08:11:02 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/24/t125907598894pi3rfpjjr1zpe.htm/, Retrieved Tue, 16 Apr 2024 19:00:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=59114, Retrieved Tue, 16 Apr 2024 19:00:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact124
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Random Number Generator - Normal Distribution] [] [2009-11-24 15:11:02] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59114&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59114&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59114&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







IndexValue
13.08463886829913
22.80726554547746
30.114044091346210
4-0.81405728653962
50.816518356233993
60.943145974612407
71.42576657412021
82.76064479291249
90.156248958360458
100.288537015818088
110.332018553971477
121.32824023563145
131.60804656997443
141.33535464186342
150.815744077764173
160.856179647511435
17-0.22305081657726
18-0.861236953747741
190.424647639692915
200.106186162060778
21-1.36540247027832
221.81921113555646
230.262901840419590
240.96111405367641
250.907791003831522
260.883295783031652
27-1.14344218100283
28-0.622150340976821
29-0.0522871750036843
30-0.115567296488522
312.27864820769805
321.36747365039917
331.02427300454456
34-0.385494722615087
35-0.691606289260516
361.37668767952335
370.442133945495995
381.76231970313877
391.39186582823445
40-0.0744549700035901
410.64612019218244
420.917512057320635
431.10724713840974
440.89780352137157
451.31124056998547
460.00847882921295656
47-1.79196158908482
48-0.130970687417289
49-1.56397888993473
501.43527634656848
510.880850546200246
52-0.0359214795861228
531.62658039403832
540.844822283430924
550.910490955520153
561.61897404438883
570.908099361373333
580.334134432255144
590.993957711034347
600.369082596148573
611.62650533499320
62-0.179569316153506
63-1.79811643929669
64-0.451389441648966
651.27814656949639
661.96218815612436
67-0.92582999591374
680.61284765730582
690.939975498547774
700.0993385146257036
71-0.661923644394036
720.616605658173596
73-0.511352365239278
740.809327178903487
752.24946881586332
760.606154718128834
770.891642783075003
780.0284726559920365
79-0.791893842813785
801.15787211784735
810.236469596335202
820.198123389774107
832.48136548060165
84-0.228414219764124
851.57602972035046
860.432870829415921
870.459074476491824
88-1.01994772703155
891.66739133409574
90-0.73425042317419
911.27256629427744
92-1.00134585393971
93-0.577836991265543
940.444929145209171
95-1.59477350045536
96-0.289805937117300
97-1.07310728652043
980.405048888614146
990.473042916184886
1000.0560494303142088

\begin{tabular}{lllllllll}
\hline
Index & Value \tabularnewline
1 & 3.08463886829913 \tabularnewline
2 & 2.80726554547746 \tabularnewline
3 & 0.114044091346210 \tabularnewline
4 & -0.81405728653962 \tabularnewline
5 & 0.816518356233993 \tabularnewline
6 & 0.943145974612407 \tabularnewline
7 & 1.42576657412021 \tabularnewline
8 & 2.76064479291249 \tabularnewline
9 & 0.156248958360458 \tabularnewline
10 & 0.288537015818088 \tabularnewline
11 & 0.332018553971477 \tabularnewline
12 & 1.32824023563145 \tabularnewline
13 & 1.60804656997443 \tabularnewline
14 & 1.33535464186342 \tabularnewline
15 & 0.815744077764173 \tabularnewline
16 & 0.856179647511435 \tabularnewline
17 & -0.22305081657726 \tabularnewline
18 & -0.861236953747741 \tabularnewline
19 & 0.424647639692915 \tabularnewline
20 & 0.106186162060778 \tabularnewline
21 & -1.36540247027832 \tabularnewline
22 & 1.81921113555646 \tabularnewline
23 & 0.262901840419590 \tabularnewline
24 & 0.96111405367641 \tabularnewline
25 & 0.907791003831522 \tabularnewline
26 & 0.883295783031652 \tabularnewline
27 & -1.14344218100283 \tabularnewline
28 & -0.622150340976821 \tabularnewline
29 & -0.0522871750036843 \tabularnewline
30 & -0.115567296488522 \tabularnewline
31 & 2.27864820769805 \tabularnewline
32 & 1.36747365039917 \tabularnewline
33 & 1.02427300454456 \tabularnewline
34 & -0.385494722615087 \tabularnewline
35 & -0.691606289260516 \tabularnewline
36 & 1.37668767952335 \tabularnewline
37 & 0.442133945495995 \tabularnewline
38 & 1.76231970313877 \tabularnewline
39 & 1.39186582823445 \tabularnewline
40 & -0.0744549700035901 \tabularnewline
41 & 0.64612019218244 \tabularnewline
42 & 0.917512057320635 \tabularnewline
43 & 1.10724713840974 \tabularnewline
44 & 0.89780352137157 \tabularnewline
45 & 1.31124056998547 \tabularnewline
46 & 0.00847882921295656 \tabularnewline
47 & -1.79196158908482 \tabularnewline
48 & -0.130970687417289 \tabularnewline
49 & -1.56397888993473 \tabularnewline
50 & 1.43527634656848 \tabularnewline
51 & 0.880850546200246 \tabularnewline
52 & -0.0359214795861228 \tabularnewline
53 & 1.62658039403832 \tabularnewline
54 & 0.844822283430924 \tabularnewline
55 & 0.910490955520153 \tabularnewline
56 & 1.61897404438883 \tabularnewline
57 & 0.908099361373333 \tabularnewline
58 & 0.334134432255144 \tabularnewline
59 & 0.993957711034347 \tabularnewline
60 & 0.369082596148573 \tabularnewline
61 & 1.62650533499320 \tabularnewline
62 & -0.179569316153506 \tabularnewline
63 & -1.79811643929669 \tabularnewline
64 & -0.451389441648966 \tabularnewline
65 & 1.27814656949639 \tabularnewline
66 & 1.96218815612436 \tabularnewline
67 & -0.92582999591374 \tabularnewline
68 & 0.61284765730582 \tabularnewline
69 & 0.939975498547774 \tabularnewline
70 & 0.0993385146257036 \tabularnewline
71 & -0.661923644394036 \tabularnewline
72 & 0.616605658173596 \tabularnewline
73 & -0.511352365239278 \tabularnewline
74 & 0.809327178903487 \tabularnewline
75 & 2.24946881586332 \tabularnewline
76 & 0.606154718128834 \tabularnewline
77 & 0.891642783075003 \tabularnewline
78 & 0.0284726559920365 \tabularnewline
79 & -0.791893842813785 \tabularnewline
80 & 1.15787211784735 \tabularnewline
81 & 0.236469596335202 \tabularnewline
82 & 0.198123389774107 \tabularnewline
83 & 2.48136548060165 \tabularnewline
84 & -0.228414219764124 \tabularnewline
85 & 1.57602972035046 \tabularnewline
86 & 0.432870829415921 \tabularnewline
87 & 0.459074476491824 \tabularnewline
88 & -1.01994772703155 \tabularnewline
89 & 1.66739133409574 \tabularnewline
90 & -0.73425042317419 \tabularnewline
91 & 1.27256629427744 \tabularnewline
92 & -1.00134585393971 \tabularnewline
93 & -0.577836991265543 \tabularnewline
94 & 0.444929145209171 \tabularnewline
95 & -1.59477350045536 \tabularnewline
96 & -0.289805937117300 \tabularnewline
97 & -1.07310728652043 \tabularnewline
98 & 0.405048888614146 \tabularnewline
99 & 0.473042916184886 \tabularnewline
100 & 0.0560494303142088 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59114&T=1

[TABLE]
[ROW][C]Index[/C][C]Value[/C][/ROW]
[ROW][C]1[/C][C]3.08463886829913[/C][/ROW]
[ROW][C]2[/C][C]2.80726554547746[/C][/ROW]
[ROW][C]3[/C][C]0.114044091346210[/C][/ROW]
[ROW][C]4[/C][C]-0.81405728653962[/C][/ROW]
[ROW][C]5[/C][C]0.816518356233993[/C][/ROW]
[ROW][C]6[/C][C]0.943145974612407[/C][/ROW]
[ROW][C]7[/C][C]1.42576657412021[/C][/ROW]
[ROW][C]8[/C][C]2.76064479291249[/C][/ROW]
[ROW][C]9[/C][C]0.156248958360458[/C][/ROW]
[ROW][C]10[/C][C]0.288537015818088[/C][/ROW]
[ROW][C]11[/C][C]0.332018553971477[/C][/ROW]
[ROW][C]12[/C][C]1.32824023563145[/C][/ROW]
[ROW][C]13[/C][C]1.60804656997443[/C][/ROW]
[ROW][C]14[/C][C]1.33535464186342[/C][/ROW]
[ROW][C]15[/C][C]0.815744077764173[/C][/ROW]
[ROW][C]16[/C][C]0.856179647511435[/C][/ROW]
[ROW][C]17[/C][C]-0.22305081657726[/C][/ROW]
[ROW][C]18[/C][C]-0.861236953747741[/C][/ROW]
[ROW][C]19[/C][C]0.424647639692915[/C][/ROW]
[ROW][C]20[/C][C]0.106186162060778[/C][/ROW]
[ROW][C]21[/C][C]-1.36540247027832[/C][/ROW]
[ROW][C]22[/C][C]1.81921113555646[/C][/ROW]
[ROW][C]23[/C][C]0.262901840419590[/C][/ROW]
[ROW][C]24[/C][C]0.96111405367641[/C][/ROW]
[ROW][C]25[/C][C]0.907791003831522[/C][/ROW]
[ROW][C]26[/C][C]0.883295783031652[/C][/ROW]
[ROW][C]27[/C][C]-1.14344218100283[/C][/ROW]
[ROW][C]28[/C][C]-0.622150340976821[/C][/ROW]
[ROW][C]29[/C][C]-0.0522871750036843[/C][/ROW]
[ROW][C]30[/C][C]-0.115567296488522[/C][/ROW]
[ROW][C]31[/C][C]2.27864820769805[/C][/ROW]
[ROW][C]32[/C][C]1.36747365039917[/C][/ROW]
[ROW][C]33[/C][C]1.02427300454456[/C][/ROW]
[ROW][C]34[/C][C]-0.385494722615087[/C][/ROW]
[ROW][C]35[/C][C]-0.691606289260516[/C][/ROW]
[ROW][C]36[/C][C]1.37668767952335[/C][/ROW]
[ROW][C]37[/C][C]0.442133945495995[/C][/ROW]
[ROW][C]38[/C][C]1.76231970313877[/C][/ROW]
[ROW][C]39[/C][C]1.39186582823445[/C][/ROW]
[ROW][C]40[/C][C]-0.0744549700035901[/C][/ROW]
[ROW][C]41[/C][C]0.64612019218244[/C][/ROW]
[ROW][C]42[/C][C]0.917512057320635[/C][/ROW]
[ROW][C]43[/C][C]1.10724713840974[/C][/ROW]
[ROW][C]44[/C][C]0.89780352137157[/C][/ROW]
[ROW][C]45[/C][C]1.31124056998547[/C][/ROW]
[ROW][C]46[/C][C]0.00847882921295656[/C][/ROW]
[ROW][C]47[/C][C]-1.79196158908482[/C][/ROW]
[ROW][C]48[/C][C]-0.130970687417289[/C][/ROW]
[ROW][C]49[/C][C]-1.56397888993473[/C][/ROW]
[ROW][C]50[/C][C]1.43527634656848[/C][/ROW]
[ROW][C]51[/C][C]0.880850546200246[/C][/ROW]
[ROW][C]52[/C][C]-0.0359214795861228[/C][/ROW]
[ROW][C]53[/C][C]1.62658039403832[/C][/ROW]
[ROW][C]54[/C][C]0.844822283430924[/C][/ROW]
[ROW][C]55[/C][C]0.910490955520153[/C][/ROW]
[ROW][C]56[/C][C]1.61897404438883[/C][/ROW]
[ROW][C]57[/C][C]0.908099361373333[/C][/ROW]
[ROW][C]58[/C][C]0.334134432255144[/C][/ROW]
[ROW][C]59[/C][C]0.993957711034347[/C][/ROW]
[ROW][C]60[/C][C]0.369082596148573[/C][/ROW]
[ROW][C]61[/C][C]1.62650533499320[/C][/ROW]
[ROW][C]62[/C][C]-0.179569316153506[/C][/ROW]
[ROW][C]63[/C][C]-1.79811643929669[/C][/ROW]
[ROW][C]64[/C][C]-0.451389441648966[/C][/ROW]
[ROW][C]65[/C][C]1.27814656949639[/C][/ROW]
[ROW][C]66[/C][C]1.96218815612436[/C][/ROW]
[ROW][C]67[/C][C]-0.92582999591374[/C][/ROW]
[ROW][C]68[/C][C]0.61284765730582[/C][/ROW]
[ROW][C]69[/C][C]0.939975498547774[/C][/ROW]
[ROW][C]70[/C][C]0.0993385146257036[/C][/ROW]
[ROW][C]71[/C][C]-0.661923644394036[/C][/ROW]
[ROW][C]72[/C][C]0.616605658173596[/C][/ROW]
[ROW][C]73[/C][C]-0.511352365239278[/C][/ROW]
[ROW][C]74[/C][C]0.809327178903487[/C][/ROW]
[ROW][C]75[/C][C]2.24946881586332[/C][/ROW]
[ROW][C]76[/C][C]0.606154718128834[/C][/ROW]
[ROW][C]77[/C][C]0.891642783075003[/C][/ROW]
[ROW][C]78[/C][C]0.0284726559920365[/C][/ROW]
[ROW][C]79[/C][C]-0.791893842813785[/C][/ROW]
[ROW][C]80[/C][C]1.15787211784735[/C][/ROW]
[ROW][C]81[/C][C]0.236469596335202[/C][/ROW]
[ROW][C]82[/C][C]0.198123389774107[/C][/ROW]
[ROW][C]83[/C][C]2.48136548060165[/C][/ROW]
[ROW][C]84[/C][C]-0.228414219764124[/C][/ROW]
[ROW][C]85[/C][C]1.57602972035046[/C][/ROW]
[ROW][C]86[/C][C]0.432870829415921[/C][/ROW]
[ROW][C]87[/C][C]0.459074476491824[/C][/ROW]
[ROW][C]88[/C][C]-1.01994772703155[/C][/ROW]
[ROW][C]89[/C][C]1.66739133409574[/C][/ROW]
[ROW][C]90[/C][C]-0.73425042317419[/C][/ROW]
[ROW][C]91[/C][C]1.27256629427744[/C][/ROW]
[ROW][C]92[/C][C]-1.00134585393971[/C][/ROW]
[ROW][C]93[/C][C]-0.577836991265543[/C][/ROW]
[ROW][C]94[/C][C]0.444929145209171[/C][/ROW]
[ROW][C]95[/C][C]-1.59477350045536[/C][/ROW]
[ROW][C]96[/C][C]-0.289805937117300[/C][/ROW]
[ROW][C]97[/C][C]-1.07310728652043[/C][/ROW]
[ROW][C]98[/C][C]0.405048888614146[/C][/ROW]
[ROW][C]99[/C][C]0.473042916184886[/C][/ROW]
[ROW][C]100[/C][C]0.0560494303142088[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59114&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59114&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

IndexValue
13.08463886829913
22.80726554547746
30.114044091346210
4-0.81405728653962
50.816518356233993
60.943145974612407
71.42576657412021
82.76064479291249
90.156248958360458
100.288537015818088
110.332018553971477
121.32824023563145
131.60804656997443
141.33535464186342
150.815744077764173
160.856179647511435
17-0.22305081657726
18-0.861236953747741
190.424647639692915
200.106186162060778
21-1.36540247027832
221.81921113555646
230.262901840419590
240.96111405367641
250.907791003831522
260.883295783031652
27-1.14344218100283
28-0.622150340976821
29-0.0522871750036843
30-0.115567296488522
312.27864820769805
321.36747365039917
331.02427300454456
34-0.385494722615087
35-0.691606289260516
361.37668767952335
370.442133945495995
381.76231970313877
391.39186582823445
40-0.0744549700035901
410.64612019218244
420.917512057320635
431.10724713840974
440.89780352137157
451.31124056998547
460.00847882921295656
47-1.79196158908482
48-0.130970687417289
49-1.56397888993473
501.43527634656848
510.880850546200246
52-0.0359214795861228
531.62658039403832
540.844822283430924
550.910490955520153
561.61897404438883
570.908099361373333
580.334134432255144
590.993957711034347
600.369082596148573
611.62650533499320
62-0.179569316153506
63-1.79811643929669
64-0.451389441648966
651.27814656949639
661.96218815612436
67-0.92582999591374
680.61284765730582
690.939975498547774
700.0993385146257036
71-0.661923644394036
720.616605658173596
73-0.511352365239278
740.809327178903487
752.24946881586332
760.606154718128834
770.891642783075003
780.0284726559920365
79-0.791893842813785
801.15787211784735
810.236469596335202
820.198123389774107
832.48136548060165
84-0.228414219764124
851.57602972035046
860.432870829415921
870.459074476491824
88-1.01994772703155
891.66739133409574
90-0.73425042317419
911.27256629427744
92-1.00134585393971
93-0.577836991265543
940.444929145209171
95-1.59477350045536
96-0.289805937117300
97-1.07310728652043
980.405048888614146
990.473042916184886
1000.0560494303142088







ParameterValueStandard Deviation
# simulated values100-
true mean0.5-
true standard deviation1-
mean0.4936198154813820.102917672375425
standard deviation1.029176723754250.0727737840405983

\begin{tabular}{lllllllll}
\hline
Parameter & Value & Standard Deviation \tabularnewline
# simulated values & 100 & - \tabularnewline
true mean & 0.5 & - \tabularnewline
true standard deviation & 1 & - \tabularnewline
mean & 0.493619815481382 & 0.102917672375425 \tabularnewline
standard deviation & 1.02917672375425 & 0.0727737840405983 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=59114&T=2

[TABLE]
[ROW][C]Parameter[/C][C]Value[/C][C]Standard Deviation[/C][/ROW]
[ROW][C]# simulated values[/C][C]100[/C][C]-[/C][/ROW]
[ROW][C]true mean[/C][C]0.5[/C][C]-[/C][/ROW]
[ROW][C]true standard deviation[/C][C]1[/C][C]-[/C][/ROW]
[ROW][C]mean[/C][C]0.493619815481382[/C][C]0.102917672375425[/C][/ROW]
[ROW][C]standard deviation[/C][C]1.02917672375425[/C][C]0.0727737840405983[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=59114&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=59114&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

ParameterValueStandard Deviation
# simulated values100-
true mean0.5-
true standard deviation1-
mean0.4936198154813820.102917672375425
standard deviation1.029176723754250.0727737840405983



Parameters (Session):
par1 = 100 ; par2 = .5 ; par3 = 1 ; par4 = 2 ; par5 = Y ; par6 = 0 ;
Parameters (R input):
par1 = 100 ; par2 = .5 ; par3 = 1 ; par4 = 2 ; par5 = Y ; par6 = 0 ; par7 = ; par8 = ;
R code (references can be found in the software module):
library(MASS)
library(msm)
par1 <- as.numeric(par1)
if (par1 > 10000) par1=10000 #impose restriction on number of random values
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
if (par6 == '0') par6 = 'Sturges' else {
par6 <- as.numeric(par6)
if (par6 > 50) par6 = 50 #impose restriction on the number of bins
}
if (par7 == '') par7 <- -Inf else par7 <- as.numeric(par7)
if (par8 == '') par8 <- Inf else par8 <- as.numeric(par8)
x <- rtnorm(par1,par2,par3,par7,par8)
x <- as.ts(x) #otherwise the fitdistr function does not work properly
if ((par7 == -Inf) & (par8 == Inf)) (r <- fitdistr(x,'normal'))
bitmap(file='test1.png')
myhist<-hist(x,col=par4,breaks=par6,main=main,ylab=ylab,xlab=xlab,freq=F)
if ((par7 == -Inf) & (par8 == Inf)) {
curve(1/(r$estimate[2]*sqrt(2*pi))*exp(-1/2*((x-r$estimate[1])/r$estimate[2])^2),min(x),max(x),add=T)
}
dev.off()
load(file='createtable')
if (par5 == 'Y')
{
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Index',1,TRUE)
a<-table.element(a,'Value',1,TRUE)
a<-table.row.end(a)
for (i in 1:par1)
{
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
}
if ((par7 == -Inf) & (par8 == Inf)) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Parameter',1,TRUE)
a<-table.element(a,'Value',1,TRUE)
a<-table.element(a,'Standard Deviation',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'# simulated values',header=TRUE)
a<-table.element(a,par1)
a<-table.element(a,'-')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'true mean',header=TRUE)
a<-table.element(a,par2)
a<-table.element(a,'-')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'true standard deviation',header=TRUE)
a<-table.element(a,par3)
a<-table.element(a,'-')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'mean',header=TRUE)
a<-table.element(a,r$estimate[1])
a<-table.element(a,r$sd[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'standard deviation',header=TRUE)
a<-table.element(a,r$estimate[2])
a<-table.element(a,r$sd[2])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
}