Home » date » 2010 » Dec » 19 »

SMP

*The author of this computation has been verified*
R Software Module: /rwasp_smp.wasp (opens new window with default values)
Title produced by software: Standard Deviation-Mean Plot
Date of computation: Sun, 19 Dec 2010 10:46:58 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/19/t12927555933mhglf6n1uns6qv.htm/, Retrieved Sun, 19 Dec 2010 11:46:35 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/19/t12927555933mhglf6n1uns6qv.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
126,64 126,81 125,84 126,77 124,34 124,4 120,48 118,54 117,66 116,97 120,11 119,16 116,9 116,11 114,98 113,65 115,82 117,59 118,57 118,07 114,98 114,04 115,02 114,28 115,04 116,7 119,21 118,39 116,5 115,46 117,59 117,33 116,2 116,83 118,99 118,62 121,09 122,4 123,76 125,33 123,23 122,52 123,64 124,67 124,71 122,53 124,4 125,45 125,35 124,3 127,03 128,51 128,1 128,94 129,67 129,87 131,12 132,68 132,24 133,63 129,91 127,93 131,17 130,86 133,48 134,08 136,02 132,8 132,37 133,05 132,57 130,7 130,5 129,67 127,8 126,82 126,85 128,28 128,3 126,82 125,08 128,53 130,34 131,52 132,59 131,17 132,72 133,36 132,82 132,9 130,9 129,41 128,67 129,28 130,91 131,06 130,84 131,41 133,22 132,06 132,48 134,38 135,22 134,89 136,09 136,33 136,32 137,48 136,53 136,8 138,03 137,39 137,55 136,08 134,78 133,28 133,57 134,84 133,02 133,49 133,77 134,34 134,5 134,03 135,51 136,53 135,95 134,32 132,44 133,61 13 etc...
 
Output produced by software:


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


Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
1126.081.049738062566082.47
2119.612.984040884438427.43
3117.4522.132995546174445.13
4116.742.014621552550254.91999999999999
5114.6720.4755207671595421
6117.2521.517422156158273.75
7117.3881.040826594587202.78999999999999
8122.242.564712459516666.70999999999999
9123.7540.9438379098129082.1900
10124.4061.173852631295772.92
11128.450.983742852578862.63999999999999
12131.9081.453089811401893.75999999999999
13130.672.016643250552755.54999999999998
14133.6641.459599260071073.65000000000001
15130.2481.73106036867584.77
16127.4140.7997999749937551.48000000000002
17129.6122.947400549636927.51
18132.5940.832934571259962.19000000000003
19129.8341.016823485173322.24000000000001
20131.7180.9580814161646172.38000000000000
21134.6121.344496188168643.61000000000001
22136.6920.4817364424662051.16000000000000
23136.7661.324435728904953.25
24133.640.7038110541899711.81999999999999
25134.430.6661456297237051.73999999999998
26134.571.678317609989244.09
27129.731.111193052534082.81
28132.961.259067114970442.87000000000000
29134.3561.163907212796623.12000000000000
30135.0321.102664953646402.35999999999999
31137.2620.5019661343158511.28999999999999
32135.1921.74277652038354.58000000000001
33134.2941.149556436196153.01999999999998
34133.8080.7053864189222821.65000000000001
35132.690.7767882594375411.94000000000000
36133.2460.794153637528651.82999999999998
37134.341.103970108290992.86000000000001
38132.6921.735546023590274.05000000000001
39130.8840.5702455611401151.46000000000001
40131.6541.256017515801432.56
41134.851.051308708229892.27000000000001
42137.1380.9279385755533642.27000000000001
43133.951.269113864079972.88000000000000
44134.5360.2435775030662660.509999999999991
45133.9440.879903403789312.35000000000002
46132.5820.6410304204949951.51999999999998
47130.5581.126552262436152.90000000000001
48132.3561.143385324376692.5
49130.1680.5906945064921421.57999999999998
50130.0980.643871105113441.56000000000000
51131.8660.5960956299118491.49000000000001
52133.1020.4784558495828051.08000000000001
53133.180.6788593374182881.81999999999999
54129.7340.8571639283124322.10999999999999
55126.7420.7624762291376661.78999999999999
56126.0720.4560372791779221.13000000000001
57122.80.5210566188045271.33000000000001
58123.0840.974489610001052.36
59122.9121.537195498302023.72
60120.8460.1793878479719250.429999999999993
61122.7361.067932582141782.36
62124.170.4880061475022631.23999999999999
63122.4660.8215716645551992.1900
64125.1520.9341145540028822.28
65125.4341.199449873900533.22999999999999
66125.7481.465168932239563.92
67124.9140.5814894668005571.42999999999999
68124.940.5144414446756791.33000000000000
69120.8942.372610376779135.81999999999999
70116.431.561649768674143.89
71112.691.502514558997683.69
72111.471.422234157936033.53
73111.6681.506741517314763.88000000000000
74110.5421.245098389686543.11000000000001
75112.4060.5629653630553111.33000000000000
76110.3360.5983142986758731.5
77109.010.8512637664085081.79000000000001
78110.9420.9264825956271362.28999999999999
79112.3860.8406723499675712.16000000000000
80111.8760.4782572529507560.980000000000004
81113.4660.544362011900171.39
82113.3420.3030181512715030.739999999999995
83110.5121.580686559694873.74000000000001
84109.2360.7903986336020551.70000000000000
85107.0220.6662356940302751.55000000000000
86107.8440.5726517266192441.35000000000001
87106.8520.5127084941757851.28
88110.8122.149225441874355.02999999999999
89112.880.5959446283003161.47
90113.8220.4038811706430501.04000000000001
91114.6660.4166293316606520.89
92113.8580.6398984294401761.43000000000001
93113.1580.3767890656587591.06000000000000
94112.4540.5374290650867321.23999999999999
95113.8580.9254026150816752.27000000000001
96112.920.4540374433898611.04000000000001
97113.4980.6522039558297711.59000000000000
98111.3560.6885709839951131.77000000000000


Regression: S.E.(k) = alpha + beta * Mean(k)
alpha0.39503392231562
beta0.00509479226336126
S.D.0.00615492106038591
T-STAT0.827759156190024
p-value0.409859921355814


Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-4.98853624860361
beta1.01199045231827
S.D.0.711076172882997
T-STAT1.42318149715978
p-value0.157925288958149
Lambda-0.0119904523182686
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927555933mhglf6n1uns6qv/1a8qc1292755606.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927555933mhglf6n1uns6qv/1a8qc1292755606.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t12927555933mhglf6n1uns6qv/2a8qc1292755606.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927555933mhglf6n1uns6qv/2a8qc1292755606.ps (open in new window)


 
Parameters (Session):
par1 = 4 ;
 
Parameters (R input):
par1 = 4 ;
 
R code (references can be found in the software module):
par1 <- 5
(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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by