Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_smp.wasp
Title produced by softwareStandard Deviation-Mean Plot
Date of computationMon, 05 Dec 2011 17:33:44 -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/05/t1323124446maw65v2abk7m452.htm/, Retrieved Fri, 03 May 2024 10:50:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=151311, Retrieved Fri, 03 May 2024 10:50:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact81
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Standard Deviation-Mean Plot] [WS9 - SMP] [2011-12-05 22:33:44] [8aedcf735e397266388b06f47fe45218] [Current]
Feedback Forum

Post a new message
Dataseries X:
1657
1418
1501
1315
1621
2308
3554
3318
3252
2921
2133
2040
1858
1833
2094
2173
2366
2074
2522
1822
1952
2232
1755
1791
2075
1850
2137
2467
2154
2289
2628
2074
2798
2194
2442
2565
2063
2070
2539
1898
2139
2408
2725
2201
2311
2548
2276
2351
2280
2057
2479
2379
2295
2456
2546
2844
2260
2981
2678
3440
2842
2450
2669
2570
2540
2318
2930
2947
2799
2695
2498
2260
2160
2058
2533
2150
2172
2155
3016
2333
2355
2825
2214
2360
2299
1746
2069
2267
1878
2266
2282
2085
2277
2251
1828
1954
1851
1570
1852
2187
1855
2218
2253
2028
2169
1997
2034
1791
1627
1631
2319
1707
1747
2397
2059
2251
2558
2406
2049
2074
1734
1983
2121
1905
2126
2363
2173
2710
2137
2742
2419
2194
2660
2189
2310
2349
2540
2434
2916
2446
2375
3032
2218
1920
2039
1889
2014
2105
2153
2309
2955
2225
2160
2386
1653
1099
5010
2672
2729
2955
2409
3086
3384
2458
2913
2448
2215
2179
2461
2098
2621
2703
2388
3880
3310
3093
3237
3002
2670
2311
2062
2059
2465
2213
2028
2322
2825
2687
2373
2889
2708
2542
2477
2419
2977
3001
3075
2870
3756
3443
2948
3560
3257
2600
2741
2349
2783
2845
2987
2696
3874
2912
2743
3857
2660
2226
2942
2420
2516
2421
2631
2887
3328
2587
2695
3669
2773
2527
2750
2014
2763
2726
1826
2713
3040
2405
2526
2526
2529
2474
2576
2219
2900
2274
2184
2629
2739
2933
3144
3354
3357
3329




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ yule.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 & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151311&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]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151311&T=0

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







Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
12253.16666666667810.7828801768562239
22039.33333333333247.108122574763767
32306.08333333333275.82354647107948
42294.08333333333237.446054479494827
52557.91666666667379.9685293985981383
62626.5226.707861675449687
72360.91666666667294.065997024581958
82100.16666666667203.019404954006553
91983.75206.167242349947683
102068.75327.297230774608931
112217.25300.3852450679721008
122449.08333333333308.4584717395181112
132082.25440.2714297091991856
142871.5764.2845138963752831
152814.5506.0128456867471782
162431.08333333333304.580921724897861
173031.91666666667419.0963131512491337
182889.41666666667504.0410261681151648
192783379.8468590940781249
202524.33333333333332.3435608286141214
212803.16666666667438.980395779571173

\begin{tabular}{lllllllll}
\hline
Standard Deviation-Mean Plot \tabularnewline
Section & Mean & Standard Deviation & Range \tabularnewline
1 & 2253.16666666667 & 810.782880176856 & 2239 \tabularnewline
2 & 2039.33333333333 & 247.108122574763 & 767 \tabularnewline
3 & 2306.08333333333 & 275.82354647107 & 948 \tabularnewline
4 & 2294.08333333333 & 237.446054479494 & 827 \tabularnewline
5 & 2557.91666666667 & 379.968529398598 & 1383 \tabularnewline
6 & 2626.5 & 226.707861675449 & 687 \tabularnewline
7 & 2360.91666666667 & 294.065997024581 & 958 \tabularnewline
8 & 2100.16666666667 & 203.019404954006 & 553 \tabularnewline
9 & 1983.75 & 206.167242349947 & 683 \tabularnewline
10 & 2068.75 & 327.297230774608 & 931 \tabularnewline
11 & 2217.25 & 300.385245067972 & 1008 \tabularnewline
12 & 2449.08333333333 & 308.458471739518 & 1112 \tabularnewline
13 & 2082.25 & 440.271429709199 & 1856 \tabularnewline
14 & 2871.5 & 764.284513896375 & 2831 \tabularnewline
15 & 2814.5 & 506.012845686747 & 1782 \tabularnewline
16 & 2431.08333333333 & 304.580921724897 & 861 \tabularnewline
17 & 3031.91666666667 & 419.096313151249 & 1337 \tabularnewline
18 & 2889.41666666667 & 504.041026168115 & 1648 \tabularnewline
19 & 2783 & 379.846859094078 & 1249 \tabularnewline
20 & 2524.33333333333 & 332.343560828614 & 1214 \tabularnewline
21 & 2803.16666666667 & 438.98039577957 & 1173 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151311&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]2253.16666666667[/C][C]810.782880176856[/C][C]2239[/C][/ROW]
[ROW][C]2[/C][C]2039.33333333333[/C][C]247.108122574763[/C][C]767[/C][/ROW]
[ROW][C]3[/C][C]2306.08333333333[/C][C]275.82354647107[/C][C]948[/C][/ROW]
[ROW][C]4[/C][C]2294.08333333333[/C][C]237.446054479494[/C][C]827[/C][/ROW]
[ROW][C]5[/C][C]2557.91666666667[/C][C]379.968529398598[/C][C]1383[/C][/ROW]
[ROW][C]6[/C][C]2626.5[/C][C]226.707861675449[/C][C]687[/C][/ROW]
[ROW][C]7[/C][C]2360.91666666667[/C][C]294.065997024581[/C][C]958[/C][/ROW]
[ROW][C]8[/C][C]2100.16666666667[/C][C]203.019404954006[/C][C]553[/C][/ROW]
[ROW][C]9[/C][C]1983.75[/C][C]206.167242349947[/C][C]683[/C][/ROW]
[ROW][C]10[/C][C]2068.75[/C][C]327.297230774608[/C][C]931[/C][/ROW]
[ROW][C]11[/C][C]2217.25[/C][C]300.385245067972[/C][C]1008[/C][/ROW]
[ROW][C]12[/C][C]2449.08333333333[/C][C]308.458471739518[/C][C]1112[/C][/ROW]
[ROW][C]13[/C][C]2082.25[/C][C]440.271429709199[/C][C]1856[/C][/ROW]
[ROW][C]14[/C][C]2871.5[/C][C]764.284513896375[/C][C]2831[/C][/ROW]
[ROW][C]15[/C][C]2814.5[/C][C]506.012845686747[/C][C]1782[/C][/ROW]
[ROW][C]16[/C][C]2431.08333333333[/C][C]304.580921724897[/C][C]861[/C][/ROW]
[ROW][C]17[/C][C]3031.91666666667[/C][C]419.096313151249[/C][C]1337[/C][/ROW]
[ROW][C]18[/C][C]2889.41666666667[/C][C]504.041026168115[/C][C]1648[/C][/ROW]
[ROW][C]19[/C][C]2783[/C][C]379.846859094078[/C][C]1249[/C][/ROW]
[ROW][C]20[/C][C]2524.33333333333[/C][C]332.343560828614[/C][C]1214[/C][/ROW]
[ROW][C]21[/C][C]2803.16666666667[/C][C]438.98039577957[/C][C]1173[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151311&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151311&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
12253.16666666667810.7828801768562239
22039.33333333333247.108122574763767
32306.08333333333275.82354647107948
42294.08333333333237.446054479494827
52557.91666666667379.9685293985981383
62626.5226.707861675449687
72360.91666666667294.065997024581958
82100.16666666667203.019404954006553
91983.75206.167242349947683
102068.75327.297230774608931
112217.25300.3852450679721008
122449.08333333333308.4584717395181112
132082.25440.2714297091991856
142871.5764.2845138963752831
152814.5506.0128456867471782
162431.08333333333304.580921724897861
173031.91666666667419.0963131512491337
182889.41666666667504.0410261681151648
192783379.8468590940781249
202524.33333333333332.3435608286141214
212803.16666666667438.980395779571173







Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-159.973947732975
beta0.218810303114013
S.D.0.105709409472666
T-STAT2.0699226701346
p-value0.0523324334395047

\begin{tabular}{lllllllll}
\hline
Regression: S.E.(k) = alpha + beta * Mean(k) \tabularnewline
alpha & -159.973947732975 \tabularnewline
beta & 0.218810303114013 \tabularnewline
S.D. & 0.105709409472666 \tabularnewline
T-STAT & 2.0699226701346 \tabularnewline
p-value & 0.0523324334395047 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151311&T=2

[TABLE]
[ROW][C]Regression: S.E.(k) = alpha + beta * Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-159.973947732975[/C][/ROW]
[ROW][C]beta[/C][C]0.218810303114013[/C][/ROW]
[ROW][C]S.D.[/C][C]0.105709409472666[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.0699226701346[/C][/ROW]
[ROW][C]p-value[/C][C]0.0523324334395047[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151311&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151311&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)
alpha-159.973947732975
beta0.218810303114013
S.D.0.105709409472666
T-STAT2.0699226701346
p-value0.0523324334395047







Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-5.84038969412889
beta1.50022962222457
S.D.0.576621262492703
T-STAT2.601759109158
p-value0.0175193337687202
Lambda-0.500229622224574

\begin{tabular}{lllllllll}
\hline
Regression: ln S.E.(k) = alpha + beta * ln Mean(k) \tabularnewline
alpha & -5.84038969412889 \tabularnewline
beta & 1.50022962222457 \tabularnewline
S.D. & 0.576621262492703 \tabularnewline
T-STAT & 2.601759109158 \tabularnewline
p-value & 0.0175193337687202 \tabularnewline
Lambda & -0.500229622224574 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=151311&T=3

[TABLE]
[ROW][C]Regression: ln S.E.(k) = alpha + beta * ln Mean(k)[/C][/ROW]
[ROW][C]alpha[/C][C]-5.84038969412889[/C][/ROW]
[ROW][C]beta[/C][C]1.50022962222457[/C][/ROW]
[ROW][C]S.D.[/C][C]0.576621262492703[/C][/ROW]
[ROW][C]T-STAT[/C][C]2.601759109158[/C][/ROW]
[ROW][C]p-value[/C][C]0.0175193337687202[/C][/ROW]
[ROW][C]Lambda[/C][C]-0.500229622224574[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=151311&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=151311&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-5.84038969412889
beta1.50022962222457
S.D.0.576621262492703
T-STAT2.601759109158
p-value0.0175193337687202
Lambda-0.500229622224574



Parameters (Session):
par1 = 12 ;
Parameters (R input):
par1 = 12 ;
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')