Home » date » 2010 » Nov » 29 »

Pageviews

*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: Mon, 29 Nov 2010 11:10:57 +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/Nov/29/t12910289629q624f23b5il3hc.htm/, Retrieved Mon, 29 Nov 2010 12:09:27 +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/Nov/29/t12910289629q624f23b5il3hc.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 «
15086 20559 39383 68032 42346 40184 29183 18049 24377 48033 61410 40637 37914 22481 17061 21921 34043 36152 38929 36713 27928 14178 19331 35030 37834 45257 39650 33001 22268 34283 63733 54548 31666 32654 28409 16234 19544 33375 30839 27581 28596 28542 14285 20799 28729 30278 31266 38341 24938 15700 17382 34229 29584 33909 29397 24644 14124 18770 32681 30518 34310 24217 15806 12362 13751 25312 23549 30305 30411 15593 17382 15806 29183 33348 33589 30198 23469 15593 16474 27341 26673 33268 26406 23656 15086 18316 27528 30305 34550 34710 23843 12362 21200 27261 31586 33322 32814 21974 17115 14445 26673 31746 28249 29103 21974 17622 21066 28382 32147 35885 40824 28622 24297 30465 47927 51665 57058 48407 30011 21413 30518 41171 37487 44456 41465 28409 34870 29557 44936 44028 45310 39302 28516 19865 30091 38101 44402 52359 71182 60796 43735 63947 89071 86321 90967 54441 36 etc...
 
Output produced by software:


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


Standard Deviation-Mean Plot
SectionMeanStandard DeviationRange
136396.142857142917399.540927167952946
236128.714285714315575.655542269443361
330392.42857142868315.5227107128421868
432040.142857142911229.462519470431079
53822315042.572674468541465
626387.28571428576184.8180710048817141
7269487798.5928645279824056
826406.42857142867479.9259991246518529
924346.57142857148320.42069964320186
1021611.85714285717681.3497170868718049
1126139.28571428577346.1830840758317783
1224201.57142857146286.8130998448617675
13263347657.9524896236719624
1425788.42857142867721.897216296520960
1524186.42857142866503.8795052681917301
1629221.14285714298059.1927724094823202
1741404.285714285712806.502211953232761
1834988.42857142868402.5175564061923043
1938074.14285714297194.5014751677216794
2045256.571428571417751.549837100151317
216640322659.651159421454628
2272673.714285714322099.200473578970114
2371685.714285714316138.770830046649528
2462874.714285714315447.15642347945363
257330317595.782345020451184
2666227.571428571416548.940115680646378
2781461.571428571420855.406548080458073
2886241.285714285720962.005817782856631
2974409.285714285717297.255049229540371
3058095.428571428616345.392509380642960
3125658.71428571435251.7543644730714631
3233558.142857142912150.970707842930438
3351965.857142857111670.876936896829317
3457870.285714285715400.415997782740904
3560605.142857142917682.453830738345096
3665964.285714285716108.159254596141091
3767444.142857142917453.187812245847633
3869832.142857142918124.76177708849796
3972757.571428571415737.240904482443334
4079440.285714285719333.353138331453747
4175381.571428571413725.834508414539276
427018317133.928465669142159
4364263.142857142917318.197341030046565
4461455.857142857118071.093662057649556
4568660.857142857113406.418381116036232
4671399.714285714318404.734533214448648
4788110.142857142919992.890881749049262
4890234.714285714319742.298234284452118
4984902.142857142920297.917909879159568
507472214499.613925894746458
5171868.857142857117970.331794642143627
527209014927.334390305642346
5368176.857142857115608.376793980142159
5461364.28571428576940.167426277416501
5557298.285714285711730.510243439131399
5658312.714285714316376.607979211141278
5756009.142857142915346.066601668940504
5854231.571428571416176.678108284438502
595699314170.842917766037460
606027715870.111299756737647
6163633.857142857112203.083905698728222
625594813929.003960561340531
6354567.428571428614961.99305860437086
6449501.857142857112833.136774623431052
6552778.428571428615042.042833972043628
6656569.857142857115180.712262918536205
675841217910.685125551943574
6873627.142857142918074.954443728446698
6985066.428571428625153.104843850169100
7088327.428571428616994.403342053049101
7185363.714285714317780.791074586550569
729207720455.776062846755910
7310043031414.737173286598950
7497333.142857142927908.261300366389018
759316428065.461235000878098
7610045724754.247063214674306
77115725.57142857134542.060119305594838
7879474.714285714312373.907018592141385
7990139.285714285721472.158412808965442
80116713.42857142930069.458136438883624
81122953.71428571423507.726904958265042
82100159.42857142919765.228380982154361
835099719388.482173703053346
8437330.28571428577859.3749902963218770
8563607.142857142917201.376654486851905
8672101.428571428613372.266111335838021
8773993.428571428618240.580947045450436
888698525430.804653674173345
8985787.285714285718284.441662374148941
9067871.285714285710143.062254800727101
9175225.571428571424147.456000285379833
9297725.857142857120480.948117934551210
93101166.28571428624434.461393110963332
9493694.285714285721347.090447445758633
9588258.714285714317630.280671941346992
96109355.57142857136934.559560828499271
9797108.142857142921163.514582322857298
9886683.714285714318910.245879895349822
9988636.428571428621298.090257557155856
10078921.571428571411524.630910317631345
10191386.714285714331797.914316897682770
10297912.857142857121466.120721022854441
10370743.571428571411216.795380992230224
10454197.285714285711161.095984330130331
10556695.714285714318565.30943915150837
10662828.857142857117910.274243466845524
10776518.571428571419689.574541341650757
10878288.142857142915926.314623169742133
1096746713441.389015524635378
11064339.428571428616745.502558967343173
11158171.714285714315945.821309612638075
11258900.142857142914084.904229097841866
11356878.571428571415624.319311649441305
1145740913600.989792413435137
11555028.714285714314328.677174513737273
11658633.285714285713302.61802195736392
11761356.714285714317930.512929215449475
11864903.857142857115806.594461685639569
11970175.285714285719144.130394756248540
12077014.142857142921688.445652225155696
12183681.714285714322304.181242645169633
12291756.571428571419254.852079905752599
12394079.142857142921351.586915485355242
124112406.85714285730595.609126303178979
125107536.28571428628900.992449592984852
126109496.85714285726651.916838059873906
127101769.28571428623136.072835252261944
128114348.42857142933994.272727706981329
129103416.85714285723190.630920183964801
130100681.85714285723088.798261123459995
1319250815781.303452714850410
132112620.57142857125645.566984420267365
13311458522360.227190259063600
134101635.57142857123720.646589396565788
1354777418463.440984821954628
1364054611295.270042514827127
13768603.714285714318748.728914376154655
13882026.142857142916430.899178362846004
13988930.142857142919263.910544751647206
140110904.42857142934691.3994762253111446
14110349725997.182084474768966
142114730.14285714331228.899977577276415
14399766.571428571420623.647954529858687
144116015.57142857122614.822114836962131
145123403.57142857130435.771283459381355
146220183.57142857195066.5810276446247802
147218657.71428571469167.8480767721188235
148114741.28571428627054.899609955371182
1499967520559.571023410654068
15097062.142857142925544.631630596269153
151102253.42857142921763.341776614053107
152112128.42857142925888.515335679575801
153109561.42857142929147.219546394469874
154102127.57142857122424.420311029558073
15589189.428571428621366.731280639258981
15679272.285714285721049.780028259166429
15780454.857142857121452.307322901059861
15892660.428571428632675.320665894797242
15973978.142857142912773.723020698533295
16063721.571428571416105.99531082742293
16158610.285714285711728.563761380234149
16255795.285714285714414.269304110741438
16355013.285714285714678.88893064139302
1645890815211.950017447940023
16561566.428571428615363.036265195640264
16660448.857142857114820.891790853642346
1676360714553.409428721537140
16861532.285714285715882.369792889740130
16971823.142857142914647.484020911540050
17063740.571428571415525.660478244243068
17164938.285714285716187.633188273545043
17270514.857142857119072.697435763847767
17389193.285714285724063.430094331171075
17486340.142857142920160.8626256360929
175102604.28571428624649.071664157369233
176137226.42857142948968.4929890542150455
17712335833355.870113070199137


Regression: S.E.(k) = alpha + beta * Mean(k)
alpha-2567.52471020790
beta0.288216550517968
S.D.0.0119226805352950
T-STAT24.1738046796401
p-value1.15335573068625e-57


Regression: ln S.E.(k) = alpha + beta * ln Mean(k)
alpha-0.179776552535981
beta0.892034503283379
S.D.0.0365213972030173
T-STAT24.4249829305457
p-value2.85065938683551e-58
Lambda0.107965496716621
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910289629q624f23b5il3hc/1mshz1291029052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910289629q624f23b5il3hc/1mshz1291029052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910289629q624f23b5il3hc/2mshz1291029052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910289629q624f23b5il3hc/2mshz1291029052.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
 
Parameters (R input):
par1 = 4 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
 
R code (references can be found in the software module):
par1 <- 7
(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