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 computationSun, 04 Dec 2011 15:53:31 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/04/t1323032041xrn5t31gxnqjz0j.htm/, Retrieved Sun, 05 May 2024 11:21:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=150769, Retrieved Sun, 05 May 2024 11:21:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W83
Estimated Impact74
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [] [2011-12-04 20:53:31] [25bd055699d3ffa05f522cc79bb2ff75] [Current]
Feedback Forum

Post a new message
Dataseries X:
562325
560854
555332
543599
536662
542722
593530
610763
612613
611324
594167
595454
590865
589379
584428
573100
567456
569028
620735
628884
628232
612117
595404
597141
593408
590072
579799
574205
572775
572942
619567
625809
619916
587625
565742
557274
560576
548854
531673
525919
511038
498662
555362
564591
541657
527070
509846
514258
516922
507561
492622
490243
469357
477580
528379
533590
517945
506174
501866
516141
528222
532638
536322
536535
523597
536214
586570
596594
580523
564478
557560
575093
580112
574761
563250
551531
537034
544686
600991
604378
586111
563668
548604
551174




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'AstonUniversity' @ aston.wessa.net

\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 & 2 seconds \tabularnewline
R Server & 'AstonUniversity' @ aston.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150769&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'AstonUniversity' @ aston.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150769&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150769&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 time2 seconds
R Server'AstonUniversity' @ aston.wessa.net







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1555527.58503.03751608818726
2570919.2536821.255250873874101
3603389.59934.0476644719218446
45844438047.1538239719717765
5596525.7532834.538465615761428
6608223.515304.256499418732828
75843718914.7725714120219203
8597773.2528881.795285554353034
9582639.2527948.325881586162642
10541755.515885.543333484134657
11532413.2532445.343326636865929
12523207.7514305.315897129531811
1350183712644.609681599526679
14502226.533443.865311892464233
15510531.57756.8285830400216079
16533429.253905.347391718188313
17560743.7536211.532623139172997
18569413.510336.703746036922963
19567413.512712.542323757828581
20571772.2535857.501478072967344
21562389.2517128.646324700237507

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 555527.5 & 8503.037516088 & 18726 \tabularnewline
2 & 570919.25 & 36821.2552508738 & 74101 \tabularnewline
3 & 603389.5 & 9934.04766447192 & 18446 \tabularnewline
4 & 584443 & 8047.15382397197 & 17765 \tabularnewline
5 & 596525.75 & 32834.5384656157 & 61428 \tabularnewline
6 & 608223.5 & 15304.2564994187 & 32828 \tabularnewline
7 & 584371 & 8914.77257141202 & 19203 \tabularnewline
8 & 597773.25 & 28881.7952855543 & 53034 \tabularnewline
9 & 582639.25 & 27948.3258815861 & 62642 \tabularnewline
10 & 541755.5 & 15885.5433334841 & 34657 \tabularnewline
11 & 532413.25 & 32445.3433266368 & 65929 \tabularnewline
12 & 523207.75 & 14305.3158971295 & 31811 \tabularnewline
13 & 501837 & 12644.6096815995 & 26679 \tabularnewline
14 & 502226.5 & 33443.8653118924 & 64233 \tabularnewline
15 & 510531.5 & 7756.82858304002 & 16079 \tabularnewline
16 & 533429.25 & 3905.34739171818 & 8313 \tabularnewline
17 & 560743.75 & 36211.5326231391 & 72997 \tabularnewline
18 & 569413.5 & 10336.7037460369 & 22963 \tabularnewline
19 & 567413.5 & 12712.5423237578 & 28581 \tabularnewline
20 & 571772.25 & 35857.5014780729 & 67344 \tabularnewline
21 & 562389.25 & 17128.6463247002 & 37507 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150769&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]555527.5[/C][C]8503.037516088[/C][C]18726[/C][/ROW]
[ROW][C]2[/C][C]570919.25[/C][C]36821.2552508738[/C][C]74101[/C][/ROW]
[ROW][C]3[/C][C]603389.5[/C][C]9934.04766447192[/C][C]18446[/C][/ROW]
[ROW][C]4[/C][C]584443[/C][C]8047.15382397197[/C][C]17765[/C][/ROW]
[ROW][C]5[/C][C]596525.75[/C][C]32834.5384656157[/C][C]61428[/C][/ROW]
[ROW][C]6[/C][C]608223.5[/C][C]15304.2564994187[/C][C]32828[/C][/ROW]
[ROW][C]7[/C][C]584371[/C][C]8914.77257141202[/C][C]19203[/C][/ROW]
[ROW][C]8[/C][C]597773.25[/C][C]28881.7952855543[/C][C]53034[/C][/ROW]
[ROW][C]9[/C][C]582639.25[/C][C]27948.3258815861[/C][C]62642[/C][/ROW]
[ROW][C]10[/C][C]541755.5[/C][C]15885.5433334841[/C][C]34657[/C][/ROW]
[ROW][C]11[/C][C]532413.25[/C][C]32445.3433266368[/C][C]65929[/C][/ROW]
[ROW][C]12[/C][C]523207.75[/C][C]14305.3158971295[/C][C]31811[/C][/ROW]
[ROW][C]13[/C][C]501837[/C][C]12644.6096815995[/C][C]26679[/C][/ROW]
[ROW][C]14[/C][C]502226.5[/C][C]33443.8653118924[/C][C]64233[/C][/ROW]
[ROW][C]15[/C][C]510531.5[/C][C]7756.82858304002[/C][C]16079[/C][/ROW]
[ROW][C]16[/C][C]533429.25[/C][C]3905.34739171818[/C][C]8313[/C][/ROW]
[ROW][C]17[/C][C]560743.75[/C][C]36211.5326231391[/C][C]72997[/C][/ROW]
[ROW][C]18[/C][C]569413.5[/C][C]10336.7037460369[/C][C]22963[/C][/ROW]
[ROW][C]19[/C][C]567413.5[/C][C]12712.5423237578[/C][C]28581[/C][/ROW]
[ROW][C]20[/C][C]571772.25[/C][C]35857.5014780729[/C][C]67344[/C][/ROW]
[ROW][C]21[/C][C]562389.25[/C][C]17128.6463247002[/C][C]37507[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150769&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150769&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
1555527.58503.03751608818726
2570919.2536821.255250873874101
3603389.59934.0476644719218446
45844438047.1538239719717765
5596525.7532834.538465615761428
6608223.515304.256499418732828
75843718914.7725714120219203
8597773.2528881.795285554353034
9582639.2527948.325881586162642
10541755.515885.543333484134657
11532413.2532445.343326636865929
12523207.7514305.315897129531811
1350183712644.609681599526679
14502226.533443.865311892464233
15510531.57756.8285830400216079
16533429.253905.347391718188313
17560743.7536211.532623139172997
18569413.510336.703746036922963
19567413.512712.542323757828581
20571772.2535857.501478072967344
21562389.2517128.646324700237507







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha2082.5918508582
beta0.0311274760754495
S.D.0.0799609755532856
T-STAT0.389283345532801
p-value0.701395244740958

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & 2082.5918508582 \tabularnewline
beta & 0.0311274760754495 \tabularnewline
S.D. & 0.0799609755532856 \tabularnewline
T-STAT & 0.389283345532801 \tabularnewline
p-value & 0.701395244740958 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150769&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]2082.5918508582[/C][/ROW]
[ROW][C]beta[/C][C]0.0311274760754495[/C][/ROW]
[ROW][C]S.D.[/C][C]0.0799609755532856[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.389283345532801[/C][/ROW]
[ROW][C]p-value[/C][C]0.701395244740958[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150769&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150769&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)
alpha2082.5918508582
beta0.0311274760754495
S.D.0.0799609755532856
T-STAT0.389283345532801
p-value0.701395244740958







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-8.24460061422805
beta1.35537047117053
S.D.2.50541406097213
T-STAT0.540976636270905
p-value0.594810108361683
Lambda-0.355370471170532

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -8.24460061422805 \tabularnewline
beta & 1.35537047117053 \tabularnewline
S.D. & 2.50541406097213 \tabularnewline
T-STAT & 0.540976636270905 \tabularnewline
p-value & 0.594810108361683 \tabularnewline
Lambda & -0.355370471170532 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150769&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-8.24460061422805[/C][/ROW]
[ROW][C]beta[/C][C]1.35537047117053[/C][/ROW]
[ROW][C]S.D.[/C][C]2.50541406097213[/C][/ROW]
[ROW][C]T-STAT[/C][C]0.540976636270905[/C][/ROW]
[ROW][C]p-value[/C][C]0.594810108361683[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.355370471170532[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150769&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150769&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)
alpha-8.24460061422805
beta1.35537047117053
S.D.2.50541406097213
T-STAT0.540976636270905
p-value0.594810108361683
Lambda-0.355370471170532



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')