Home » date » 2009 » Dec » 23 »

SMP s=4

*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: Wed, 23 Dec 2009 04:23:21 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/23/t1261567529un4yn6gvtmbv7el.htm/, Retrieved Wed, 23 Dec 2009 12:25:31 +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/2009/Dec/23/t1261567529un4yn6gvtmbv7el.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
83.87 84.23 84.61 84.82 85.04 85.06 84.93 84.98 85.23 85.30 85.33 85.55 85.70 85.88 86.04 86.07 86.31 86.38 86.35 86.55 86.70 86.74 86.85 86.95 86.80 87.01 87.17 87.43 87.66 87.68 87.59 87.65 87.72 87.70 87.71 87.80 87.62 87.84 88.17 88.47 88.58 88.57 88.55 88.68 88.79 88.85 88.95 89.27 89.09 89.42 89.72 89.85 89.96 90.25 90.20 90.27 90.78 90.79 90.98 91.25 90.75 91.01 91.50 92.09 92.56 92.66 92.38 92.38 92.66 92.69 92.59 92.98 92.98 93.15 93.65 94.06 94.24 94.24 94.11 94.16 94.43 94.67 94.60 95.00 94.84 95.26 95.81 95.92 95.85 95.90 95.80 96.00 96.34 96.43 96.48 96.75 96.51 96.69 97.28 97.69 98.08 98.09 97.92 98.06 98.23 98.57 98.53 98.92 98.42 98.73 99.32 99.73 100.00 100.08 100.02 100.26 100.71 100.95 100.75 101.03 100.64 100.93 101.41 102.07 102.42 102.53 102.43 102.60 102.65 102.74 102.82 103.21 102.75 103.09 103.71 104.30 104.58 104.71 104.44 104.57 104.95 105.49 etc...
 
Output produced by software:


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


Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
184.38250.4199503938959090.949999999999989
285.00250.05909032633745160.129999999999995
385.35250.1381725973797490.319999999999993
485.92250.1701714821388500.36999999999999
586.39750.1056330125166050.239999999999995
686.810.1128420725320720.25
787.10250.2657536453183700.63000000000001
887.6450.03872983346207440.0900000000000034
987.73250.04573474244670650.0999999999999943
1088.0250.3729611239794280.849999999999994
1188.5950.05802298395176920.130000000000010
1288.9650.2137755832643170.47999999999999
1389.520.3385262175962110.759999999999991
1490.170.1430617582258350.310000000000002
1590.950.2201514630127770.469999999999999
1691.33750.590218885951081.34000000000000
1792.4950.1389244398945000.280000000000001
1892.730.1718526500620050.390000000000001
1993.460.4907816894166551.08000000000000
2094.18750.06396613687464960.129999999999995
2194.6750.2389560629069690.569999999999993
2295.45750.5028170641495761.08000000000000
2395.88750.08539125638299870.200000000000003
2496.50.1764464035715450.409999999999997
2597.04250.5426708640296291.17999999999999
2698.03750.07932002689527180.170000000000002
2798.56250.2825331838917320.689999999999998
2899.050.587253494384381.31000000000000
29100.090.1183215956619960.260000000000005
30100.860.1544884030167560.320000000000007
31101.26250.6249999999999951.42999999999999
32102.4950.08582928793055380.179999999999993
33102.8550.2466441431158090.559999999999988
34103.46250.6853405479516471.55000000000000
35104.5750.1103026140518270.269999999999996
36105.73750.6628913938195321.53
37107.150.8215838362577471.80000000000000
38109.00250.1960229578391280.450000000000003
39109.110.2935983651180690.600000000000009
40108.8150.5631755203013261.32000000000001
41109.6150.2098412098071590.509999999999991


Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-0.712602397891834
beta0.0103761011438288
S.D.0.00406920741544725
T-STAT2.54990716483011
p-value0.0148177709545112


Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-19.0581659628586
beta3.83513868217663
S.D.1.52698413406944
T-STAT2.51157729580066
p-value0.0162701948539795
Lambda-2.83513868217663
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/23/t1261567529un4yn6gvtmbv7el/19ea41261567397.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/23/t1261567529un4yn6gvtmbv7el/19ea41261567397.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/23/t1261567529un4yn6gvtmbv7el/29gq21261567397.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/23/t1261567529un4yn6gvtmbv7el/29gq21261567397.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 <- 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')
 





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