Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_bootstrapplot.wasp
Title produced by softwareBlocked Bootstrap Plot - Central Tendency
Date of computationMon, 20 Dec 2010 16:46:02 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/20/t1292863533uxq2qi87ap5olqf.htm/, Retrieved Fri, 03 May 2024 23:18:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113020, Retrieved Fri, 03 May 2024 23:18:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact98
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Bivariate Data Series] [Bivariate dataset] [2008-01-05 23:51:08] [74be16979710d4c4e7c6647856088456]
- RMPD  [Blocked Bootstrap Plot - Central Tendency] [Colombia Coffee] [2008-01-07 10:26:26] [74be16979710d4c4e7c6647856088456]
-  M D    [Blocked Bootstrap Plot - Central Tendency] [Xtboxplot] [2010-11-22 17:14:57] [8b2514d8f13517d765015fc185a22b4b]
-    D      [Blocked Bootstrap Plot - Central Tendency] [Xtboxplot1] [2010-11-22 20:39:07] [8b2514d8f13517d765015fc185a22b4b]
- R  D          [Blocked Bootstrap Plot - Central Tendency] [workshop8USA] [2010-12-20 16:46:02] [6e19356a8195a048e2417405f21c29e8] [Current]
Feedback Forum

Post a new message
Dataseries X:
1,3866
1,3582
1,3332
1,3595
1,3617
1,3684
1,3394
1,3262
1,3173
1,3085
1,327
1,3182
1,293
1,291
1,2984
1,2795
1,299
1,3174
1,326
1,3111
1,2816
1,276
1,2849
1,2818
1,2829
1,2796
1,3008
1,2967
1,2938
1,2833
1,2823
1,2765
1,2634
1,2596
1,2705
1,2591
1,2798
1,2763
1,2795
1,2782
1,2644
1,2596
1,2615
1,2555
1,2555
1,2658
1,2565
1,2783
1,2786
1,2782
1,2905
1,3042
1,2942
1,313
1,3671
1,3549
1,3558
1,3507
1,3494
1,3607
1,3295
1,3193
1,3308
1,3246
1,3392
1,3425
1,3496
1,3255
1,3231
1,3273
1,3276
1,3173
1,3196
1,3058
1,2966
1,2932
1,2947
1,305
1,3232
1,3125
1,2992
1,3266
1,3275
1,3223
1,3403
1,3322
1,3363
1,3425
1,3574
1,3683
1,3623
1,3563
1,3518
1,3494
1,3612
1,369
1,3771
1,3972
1,401
1,3908
1,3901
1,3856
1,4098
1,422
1,4238
1,4207
1,4095
1,4177
1,3866
1,3959
1,4102
1,3969
1,4004
1,385
1,389
1,384
1,392
1,3932
1,3858
1,3978
1,4029
1,394
1,4096
1,4058
1,4134
1,4096
1,4049
1,4009
1,3897
1,4019
1,3901
1,399
1,3901
1,3975
1,3991
1,4089
1,413
1,409
1,4217
1,4223
1,4191
1,4229
1,4227
1,4269
1,4229
1,4104
1,4053
1,4138
1,4303
1,4384
1,441
1,437
1,4357
1,4202
1,4166
1,417
1,4293
1,4294
1,4072
1,4101
1,4112
1,4243
1,433
1,4323
1,4324
1,427
1,4268
1,4364
1,4272
1,4314
1,422
1,4335
1,4262
1,433
1,4473
1,4522
1,4545
1,4594
1,4561
1,4611
1,4671
1,4712
1,4705
1,4658
1,478
1,4783
1,4768
1,467
1,465
1,4549
1,4643
1,4539
1,4537
1,4616
1,4722
1,4694
1,4763
1,475
1,4765
1,4864
1,4881
1,4864
1,4869
1,4918
1,4971
1,4921
1,5
1,502
1,5019
1,4874
1,4785
1,4788
1,48
1,4772
1,4658
1,4761
1,4867
1,4862
1,4984
1,4966
1,5037
1,4922
1,4868
1,4965
1,4875
1,4957
1,4863
1,4815
1,4968
1,4969
1,5083
1,5071
1,4918
1,5023
1,5074
1,509
1,512
1,5068
1,4787
1,4774
1,4768
1,473
1,4757
1,4647
1,4541
1,456
1,4343
1,4337
1,4368
1,4279
1,4276
1,4398
1,4405
1,4433
1,4338
1,4406
1,4389
1,4442
1,435
1,4304
1,4273
1,4528
1,4481
1,4563
1,4486
1,4374
1,4369
1,4279
1,4132
1,4064
1,4135
1,4151
1,4085
1,4072
1,3999
1,3966
1,3913
1,3937
1,3984
1,3847
1,3691
1,3675
1,376
1,374
1,3718
1,3572
1,3607
1,3649
1,3726
1,3567
1,3519
1,3626
1,3577
1,3547
1,3489
1,357
1,3525
1,3548
1,3641
1,3668
1,3582
1,3662
1,3557
1,361
1,3657
1,3765
1,3705
1,3723
1,3756
1,366
1,3548
1,3471
1,3519
1,3338
1,3356
1,3353
1,3471
1,3482
1,3479
1,3468
1,3396
1,334
1,3296
1,3384
1,3585
1,3583
1,3615
1,3544
1,3535
1,3432
1,3486
1,3373
1,3339
1,3311
1,3321
1,329
1,3245
1,3256
1,3315
1,3238
1,3089
1,2924
1,2727
1,2746
1,2969
1,2698
1,2686
1,2587
1,2492
1,2349
1,2428
1,227
1,2334
1,2497
1,236
1,2223
1,2309
1,2255
1,2384
1,2307
1,2155
1,2218
1,2268
1,206
1,1959
1,1942
1,201
1,2045
1,2127
1,2249
1,2258
1,2277
1,2363
1,2372
1,2391
1,2258
1,2271
1,2262
1,2294
1,2339
1,2198
1,2271
1,2328
1,2548
1,2531
1,2579
1,2567
1,266
1,2637
1,2572
1,2569
1,2703
1,2828
1,3
1,2957
1,2844
1,2817
1,285
1,2897
1,2931
1,3033
1,2992
1,3069
1,3028
1,3073
1,3221
1,3206
1,3184
1,3176
1,3253
1,3133
1,3016
1,279
1,2799
1,282
1,286
1,288
1,2836
1,2711
1,2704
1,2611
1,2613
1,2693
1,2713
1,27
1,268
1,28
1,2818
1,2834
1,2874
1,2744
1,2697
1,2715
1,2725
1,2801
1,285
1,2989
1,3078
1,306
1,3074
1,312
1,3364
1,3323
1,3412
1,3477
1,346
1,3611
1,3648
1,3726
1,3705
1,378
1,3856
1,397
1,3874
1,3936
1,3833
1,3958
1,4101
1,4089
1,3896
1,3859
1,3861
1,4016
1,3934
1,4031
1,3912
1,3803
1,3857
1,3857
1,3926
1,4018
1,4014
1,4244
1,4084
1,3917
1,3945
1,377
1,37
1,3711
1,3626
1,3612
1,3481
1,3647
1,3674
1,3647
1,3496
1,3339
1,3321
1,3225
1,3146
1,2998




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

\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 & 8 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113020&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]8 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113020&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113020&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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132







Estimation Results of Blocked Bootstrap
statisticQ1EstimateQ3S.D.IQR
mean1.353767566191451.36191.369464052953160.01194493043909080.0156964867617106
median1.35351.36121.37110.01605646274843820.0176000000000001
midrange1.351251.35311.356750.006560086297027580.00550000000000006

\begin{tabular}{lllllllll}
\hline
Estimation Results of Blocked Bootstrap \tabularnewline
statistic & Q1 & Estimate & Q3 & S.D. & IQR \tabularnewline
mean & 1.35376756619145 & 1.3619 & 1.36946405295316 & 0.0119449304390908 & 0.0156964867617106 \tabularnewline
median & 1.3535 & 1.3612 & 1.3711 & 0.0160564627484382 & 0.0176000000000001 \tabularnewline
midrange & 1.35125 & 1.3531 & 1.35675 & 0.00656008629702758 & 0.00550000000000006 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113020&T=1

[TABLE]
[ROW][C]Estimation Results of Blocked Bootstrap[/C][/ROW]
[ROW][C]statistic[/C][C]Q1[/C][C]Estimate[/C][C]Q3[/C][C]S.D.[/C][C]IQR[/C][/ROW]
[ROW][C]mean[/C][C]1.35376756619145[/C][C]1.3619[/C][C]1.36946405295316[/C][C]0.0119449304390908[/C][C]0.0156964867617106[/C][/ROW]
[ROW][C]median[/C][C]1.3535[/C][C]1.3612[/C][C]1.3711[/C][C]0.0160564627484382[/C][C]0.0176000000000001[/C][/ROW]
[ROW][C]midrange[/C][C]1.35125[/C][C]1.3531[/C][C]1.35675[/C][C]0.00656008629702758[/C][C]0.00550000000000006[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113020&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113020&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Estimation Results of Blocked Bootstrap
statisticQ1EstimateQ3S.D.IQR
mean1.353767566191451.36191.369464052953160.01194493043909080.0156964867617106
median1.35351.36121.37110.01605646274843820.0176000000000001
midrange1.351251.35311.356750.006560086297027580.00550000000000006



Parameters (Session):
par1 = 500 ; par2 = 12 ;
Parameters (R input):
par1 = 500 ; par2 = 12 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
if (par1 < 10) par1 = 10
if (par1 > 5000) par1 = 5000
if (par2 < 3) par2 = 3
if (par2 > length(x)) par2 = length(x)
library(lattice)
library(boot)
boot.stat <- function(s)
{
s.mean <- mean(s)
s.median <- median(s)
s.midrange <- (max(s) + min(s)) / 2
c(s.mean, s.median, s.midrange)
}
(r <- tsboot(x, boot.stat, R=par1, l=12, sim='fixed'))
bitmap(file='plot1.png')
plot(r$t[,1],type='p',ylab='simulated values',main='Simulation of Mean')
grid()
dev.off()
bitmap(file='plot2.png')
plot(r$t[,2],type='p',ylab='simulated values',main='Simulation of Median')
grid()
dev.off()
bitmap(file='plot3.png')
plot(r$t[,3],type='p',ylab='simulated values',main='Simulation of Midrange')
grid()
dev.off()
bitmap(file='plot4.png')
densityplot(~r$t[,1],col='black',main='Density Plot',xlab='mean')
dev.off()
bitmap(file='plot5.png')
densityplot(~r$t[,2],col='black',main='Density Plot',xlab='median')
dev.off()
bitmap(file='plot6.png')
densityplot(~r$t[,3],col='black',main='Density Plot',xlab='midrange')
dev.off()
z <- data.frame(cbind(r$t[,1],r$t[,2],r$t[,3]))
colnames(z) <- list('mean','median','midrange')
bitmap(file='plot7.png')
boxplot(z,notch=TRUE,ylab='simulated values',main='Bootstrap Simulation - Central Tendency')
grid()
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Estimation Results of Blocked Bootstrap',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'statistic',header=TRUE)
a<-table.element(a,'Q1',header=TRUE)
a<-table.element(a,'Estimate',header=TRUE)
a<-table.element(a,'Q3',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'IQR',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'mean',header=TRUE)
q1 <- quantile(r$t[,1],0.25)[[1]]
q3 <- quantile(r$t[,1],0.75)[[1]]
a<-table.element(a,q1)
a<-table.element(a,r$t0[1])
a<-table.element(a,q3)
a<-table.element(a,sqrt(var(r$t[,1])))
a<-table.element(a,q3-q1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'median',header=TRUE)
q1 <- quantile(r$t[,2],0.25)[[1]]
q3 <- quantile(r$t[,2],0.75)[[1]]
a<-table.element(a,q1)
a<-table.element(a,r$t0[2])
a<-table.element(a,q3)
a<-table.element(a,sqrt(var(r$t[,2])))
a<-table.element(a,q3-q1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'midrange',header=TRUE)
q1 <- quantile(r$t[,3],0.25)[[1]]
q3 <- quantile(r$t[,3],0.75)[[1]]
a<-table.element(a,q1)
a<-table.element(a,r$t0[3])
a<-table.element(a,q3)
a<-table.element(a,sqrt(var(r$t[,3])))
a<-table.element(a,q3-q1)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')