Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationFri, 21 May 2010 17:10:59 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/May/21/t1274461889qeh3d7gxo7b8qin.htm/, Retrieved Thu, 02 May 2024 23:23:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=76263, Retrieved Thu, 02 May 2024 23:23:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact154
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2010-05-21 17:10:59] [d38ec69e6463020b6f9ce85941b20918] [Current]
Feedback Forum

Post a new message
Dataseries X:
562674
599000
668516
597798
579889
668233
499232
215187
555813
586935
546136
571111
634712
639283
712182
621557
621000
675989
501322
220286
560727
602530
626379
605508
646783
658442
712906
687714
723916
707183
629000
237530
613296
730444
734925
651812
676155
748183
810681
729363
701108
790079
594621
230716
617189
691389
701067
705777
747636
773392
813788
766713
728875
749197
680954
241424
680234
708326
694238
772071
795337
788421
889968
797393
751000
821255
691605
290655
727147
868355
812390
799556
843038
847000
941952
804309
840307
871528
656330
370508
742000
847152
731675
898527
778139
856075
938833
813023
783417
828110
657311
310032
780000
860000
780000
807993
895217
856075
893268
875000
835088
934595
832500
300000
791443
900000
781729
880000
875024
992968
976804
968697
871675
1006852
832037
345587
849528
913871
868746
993733




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76263&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76263&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=76263&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'George Udny Yule' @ 72.249.76.132







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
160699744338.4306593426105842
2490635.25196174.102294153453046
3564998.7517876.800652894640799
4651933.540862.487756702690625
5504649.25203116.005851131455703
659878627501.902661452465652
7676461.2529778.829609584566123
8574407.25228362.953821871486386
9682619.2559938.5736643496121629
10741095.555519.6498638095134526
11579131245635.5020201559363
12678855.541545.010687205388588
13775382.2527832.672723198366152
14600112.5240831.031846673507773
15713717.2540557.756869062791837
16817779.7548278.2775264059101547
17638628.75237957.880564853530600
1880186258079.849328317141208
19859074.7558511.8303671716137643
20684668.25229956.304374512501020
21804838.581382.9264014674166852
22846517.569308.4846633753160694
23644717.5234551.586727384518078
24806998.2537718.19205966880000
2587989018302.587594836639142
26725545.75287651.114139305634595
2783829360392.1526193594118271
28953373.2553198.2661457746117944
29764037.75288830.668827920661265
30906469.564122.5324645453144205

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 606997 & 44338.4306593426 & 105842 \tabularnewline
2 & 490635.25 & 196174.102294153 & 453046 \tabularnewline
3 & 564998.75 & 17876.8006528946 & 40799 \tabularnewline
4 & 651933.5 & 40862.4877567026 & 90625 \tabularnewline
5 & 504649.25 & 203116.005851131 & 455703 \tabularnewline
6 & 598786 & 27501.9026614524 & 65652 \tabularnewline
7 & 676461.25 & 29778.8296095845 & 66123 \tabularnewline
8 & 574407.25 & 228362.953821871 & 486386 \tabularnewline
9 & 682619.25 & 59938.5736643496 & 121629 \tabularnewline
10 & 741095.5 & 55519.6498638095 & 134526 \tabularnewline
11 & 579131 & 245635.5020201 & 559363 \tabularnewline
12 & 678855.5 & 41545.0106872053 & 88588 \tabularnewline
13 & 775382.25 & 27832.6727231983 & 66152 \tabularnewline
14 & 600112.5 & 240831.031846673 & 507773 \tabularnewline
15 & 713717.25 & 40557.7568690627 & 91837 \tabularnewline
16 & 817779.75 & 48278.2775264059 & 101547 \tabularnewline
17 & 638628.75 & 237957.880564853 & 530600 \tabularnewline
18 & 801862 & 58079.849328317 & 141208 \tabularnewline
19 & 859074.75 & 58511.8303671716 & 137643 \tabularnewline
20 & 684668.25 & 229956.304374512 & 501020 \tabularnewline
21 & 804838.5 & 81382.9264014674 & 166852 \tabularnewline
22 & 846517.5 & 69308.4846633753 & 160694 \tabularnewline
23 & 644717.5 & 234551.586727384 & 518078 \tabularnewline
24 & 806998.25 & 37718.192059668 & 80000 \tabularnewline
25 & 879890 & 18302.5875948366 & 39142 \tabularnewline
26 & 725545.75 & 287651.114139305 & 634595 \tabularnewline
27 & 838293 & 60392.1526193594 & 118271 \tabularnewline
28 & 953373.25 & 53198.2661457746 & 117944 \tabularnewline
29 & 764037.75 & 288830.668827920 & 661265 \tabularnewline
30 & 906469.5 & 64122.5324645453 & 144205 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76263&T=1

[TABLE]
[ROW][C]Standard Deviation-Mean Plot[/C][/ROW]
[ROW][C]Section[/C][C]Mean[/C][C]Standard Deviation[/C][C]Range[/C][/ROW]
[ROW][C]1[/C][C]606997[/C][C]44338.4306593426[/C][C]105842[/C][/ROW]
[ROW][C]2[/C][C]490635.25[/C][C]196174.102294153[/C][C]453046[/C][/ROW]
[ROW][C]3[/C][C]564998.75[/C][C]17876.8006528946[/C][C]40799[/C][/ROW]
[ROW][C]4[/C][C]651933.5[/C][C]40862.4877567026[/C][C]90625[/C][/ROW]
[ROW][C]5[/C][C]504649.25[/C][C]203116.005851131[/C][C]455703[/C][/ROW]
[ROW][C]6[/C][C]598786[/C][C]27501.9026614524[/C][C]65652[/C][/ROW]
[ROW][C]7[/C][C]676461.25[/C][C]29778.8296095845[/C][C]66123[/C][/ROW]
[ROW][C]8[/C][C]574407.25[/C][C]228362.953821871[/C][C]486386[/C][/ROW]
[ROW][C]9[/C][C]682619.25[/C][C]59938.5736643496[/C][C]121629[/C][/ROW]
[ROW][C]10[/C][C]741095.5[/C][C]55519.6498638095[/C][C]134526[/C][/ROW]
[ROW][C]11[/C][C]579131[/C][C]245635.5020201[/C][C]559363[/C][/ROW]
[ROW][C]12[/C][C]678855.5[/C][C]41545.0106872053[/C][C]88588[/C][/ROW]
[ROW][C]13[/C][C]775382.25[/C][C]27832.6727231983[/C][C]66152[/C][/ROW]
[ROW][C]14[/C][C]600112.5[/C][C]240831.031846673[/C][C]507773[/C][/ROW]
[ROW][C]15[/C][C]713717.25[/C][C]40557.7568690627[/C][C]91837[/C][/ROW]
[ROW][C]16[/C][C]817779.75[/C][C]48278.2775264059[/C][C]101547[/C][/ROW]
[ROW][C]17[/C][C]638628.75[/C][C]237957.880564853[/C][C]530600[/C][/ROW]
[ROW][C]18[/C][C]801862[/C][C]58079.849328317[/C][C]141208[/C][/ROW]
[ROW][C]19[/C][C]859074.75[/C][C]58511.8303671716[/C][C]137643[/C][/ROW]
[ROW][C]20[/C][C]684668.25[/C][C]229956.304374512[/C][C]501020[/C][/ROW]
[ROW][C]21[/C][C]804838.5[/C][C]81382.9264014674[/C][C]166852[/C][/ROW]
[ROW][C]22[/C][C]846517.5[/C][C]69308.4846633753[/C][C]160694[/C][/ROW]
[ROW][C]23[/C][C]644717.5[/C][C]234551.586727384[/C][C]518078[/C][/ROW]
[ROW][C]24[/C][C]806998.25[/C][C]37718.192059668[/C][C]80000[/C][/ROW]
[ROW][C]25[/C][C]879890[/C][C]18302.5875948366[/C][C]39142[/C][/ROW]
[ROW][C]26[/C][C]725545.75[/C][C]287651.114139305[/C][C]634595[/C][/ROW]
[ROW][C]27[/C][C]838293[/C][C]60392.1526193594[/C][C]118271[/C][/ROW]
[ROW][C]28[/C][C]953373.25[/C][C]53198.2661457746[/C][C]117944[/C][/ROW]
[ROW][C]29[/C][C]764037.75[/C][C]288830.668827920[/C][C]661265[/C][/ROW]
[ROW][C]30[/C][C]906469.5[/C][C]64122.5324645453[/C][C]144205[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76263&T=1

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

As an alternative you can also use a QR Code:  

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

Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
160699744338.4306593426105842
2490635.25196174.102294153453046
3564998.7517876.800652894640799
4651933.540862.487756702690625
5504649.25203116.005851131455703
659878627501.902661452465652
7676461.2529778.829609584566123
8574407.25228362.953821871486386
9682619.2559938.5736643496121629
10741095.555519.6498638095134526
11579131245635.5020201559363
12678855.541545.010687205388588
13775382.2527832.672723198366152
14600112.5240831.031846673507773
15713717.2540557.756869062791837
16817779.7548278.2775264059101547
17638628.75237957.880564853530600
1880186258079.849328317141208
19859074.7558511.8303671716137643
20684668.25229956.304374512501020
21804838.581382.9264014674166852
22846517.569308.4846633753160694
23644717.5234551.586727384518078
24806998.2537718.19205966880000
2587989018302.587594836639142
26725545.75287651.114139305634595
2783829360392.1526193594118271
28953373.2553198.2661457746117944
29764037.75288830.668827920661265
30906469.564122.5324645453144205







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha346036.576376717
beta-0.329386612109459
S.D.0.133706149399841
T-STAT-2.46351131633031
p-value0.0201662544553643

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 346036.576376717 \tabularnewline
beta & -0.329386612109459 \tabularnewline
S.D. & 0.133706149399841 \tabularnewline
T-STAT & -2.46351131633031 \tabularnewline
p-value & 0.0201662544553643 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76263&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]346036.576376717[/C][/ROW]
[ROW][C]beta[/C][C]-0.329386612109459[/C][/ROW]
[ROW][C]S.D.[/C][C]0.133706149399841[/C][/ROW]
[ROW][C]T-STAT[/C][C]-2.46351131633031[/C][/ROW]
[ROW][C]p-value[/C][C]0.0201662544553643[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76263&T=2

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

As an alternative you can also use a QR Code:  

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

Regression: S.E.(k) = alpha + beta * Mean(k)
alpha346036.576376717
beta-0.329386612109459
S.D.0.133706149399841
T-STAT-2.46351131633031
p-value0.0201662544553643







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha35.996167376805
beta-1.83841401152622
S.D.0.899960528042731
T-STAT-2.04277182636495
p-value0.0505914374901396
Lambda2.83841401152622

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & 35.996167376805 \tabularnewline
beta & -1.83841401152622 \tabularnewline
S.D. & 0.899960528042731 \tabularnewline
T-STAT & -2.04277182636495 \tabularnewline
p-value & 0.0505914374901396 \tabularnewline
Lambda & 2.83841401152622 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=76263&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]35.996167376805[/C][/ROW]
[ROW][C]beta[/C][C]-1.83841401152622[/C][/ROW]
[ROW][C]S.D.[/C][C]0.899960528042731[/C][/ROW]
[ROW][C]T-STAT[/C][C]-2.04277182636495[/C][/ROW]
[ROW][C]p-value[/C][C]0.0505914374901396[/C][/ROW]
[ROW][C]Lambda[/C][C]2.83841401152622[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=76263&T=3

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

As an alternative you can also use a QR Code:  

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

Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha35.996167376805
beta-1.83841401152622
S.D.0.899960528042731
T-STAT-2.04277182636495
p-value0.0505914374901396
Lambda2.83841401152622



Parameters (Session):
par1 = 4 ;
Parameters (R input):
par1 = 4 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
(n <- length(x))
(np <- floor(n / par1))
arr <- array(NA,dim=c(par1,np))
j <- 0
k <- 1
for (i in 1:(np*par1))
{
j = j + 1
arr[j,k] <- x[i]
if (j == par1) {
j = 0
k=k+1
}
}
arr
arr.mean <- array(NA,dim=np)
arr.sd <- array(NA,dim=np)
arr.range <- array(NA,dim=np)
for (j in 1:np)
{
arr.mean[j] <- mean(arr[,j],na.rm=TRUE)
arr.sd[j] <- sd(arr[,j],na.rm=TRUE)
arr.range[j] <- max(arr[,j],na.rm=TRUE) - min(arr[,j],na.rm=TRUE)
}
arr.mean
arr.sd
arr.range
(lm1 <- lm(arr.sd~arr.mean))
(lnlm1 <- lm(log(arr.sd)~log(arr.mean)))
(lm2 <- lm(arr.range~arr.mean))
bitmap(file='test1.png')
plot(arr.mean,arr.sd,main='Standard Deviation-Mean Plot',xlab='mean',ylab='standard deviation')
dev.off()
bitmap(file='test2.png')
plot(arr.mean,arr.range,main='Range-Mean Plot',xlab='mean',ylab='range')
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Standard Deviation-Mean Plot',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Section',header=TRUE)
a<-table.element(a,'Mean',header=TRUE)
a<-table.element(a,'Standard Deviation',header=TRUE)
a<-table.element(a,'Range',header=TRUE)
a<-table.row.end(a)
for (j in 1:np) {
a<-table.row.start(a)
a<-table.element(a,j,header=TRUE)
a<-table.element(a,arr.mean[j])
a<-table.element(a,arr.sd[j] )
a<-table.element(a,arr.range[j] )
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Regression: S.E.(k) = alpha + beta * Mean(k)',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alpha',header=TRUE)
a<-table.element(a,lm1$coefficients[[1]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'beta',header=TRUE)
a<-table.element(a,lm1$coefficients[[2]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,summary(lm1)$coefficients[2,2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,summary(lm1)$coefficients[2,3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value',header=TRUE)
a<-table.element(a,summary(lm1)$coefficients[2,4])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Regression: ln S.E.(k) = alpha + beta * ln Mean(k)',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alpha',header=TRUE)
a<-table.element(a,lnlm1$coefficients[[1]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'beta',header=TRUE)
a<-table.element(a,lnlm1$coefficients[[2]])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,summary(lnlm1)$coefficients[2,2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,summary(lnlm1)$coefficients[2,3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value',header=TRUE)
a<-table.element(a,summary(lnlm1)$coefficients[2,4])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Lambda',header=TRUE)
a<-table.element(a,1-lnlm1$coefficients[[2]])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable2.tab')