Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_CARE Data Boxplot.wasp
Title produced by softwareBoxplot and Trimmed Means
Date of computationFri, 20 Jan 2012 08:48:34 -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/2012/Jan/20/t1327067324occcvuh71cqkdu2.htm/, Retrieved Thu, 02 May 2024 03:19:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=161272, Retrieved Thu, 02 May 2024 03:19:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact190
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [T-Tests] [T-test on cate vs...] [2012-01-20 12:59:43] [9514634163ab2febe0972d8a87e8bbf9]
- RMPD    [Boxplot and Trimmed Means] [bp] [2012-01-20 13:48:34] [169ec5fb8eb5ef8d9bbbf91dacc5bfc6] [Current]
Feedback Forum

Post a new message
Dataseries X:
11	1	7	5
12	0	6	6
12	0	10	2
12	0	9	3
12	0	7	5
12	0	9	3
11	1	8	4
10	2	8	4
8	4	6	6
9	3	11	1
12	0	8	4
11	1	12	0
12	0	10	2
12	0	8	4
12	0	10	2
12	0	9	3
12	0	8	4
11	1	9	3
12	0	12	0
11	1	9	3
12	0	5	7
11	1	9	3
12	0	8	4
11	1	10	2
12	0	10	2
12	0	5	7
11	1	11	1
11	1	11	1
12	0	11	1
10	2	7	5
12	0	8	4
5	7	5	7
12	0	6	6
12	0	9	3
12	0	11	1
12	0	11	1
12	0	11	1
12	0	11	1
12	0	9	3
12	0	8	4
12	0	11	1
10	2	9	3
12	0	5	7
11	1	8	4
12	0	10	2
11	1	8	4
12	0	8	4
12	0	9	3
12	0	9	3
4	8	5	7
11	1	7	5
10	2	12	0
12	0	10	2
12	0	8	4
3	9	6	6
12	0	9	3
8	4	7	5
2	10	8	4
7	5	2	10
9	3	7	5
10	2	6	6
12	0	10	2
12	0	10	2
9	3	6	6
10	2	10	2
10	2	10	2
11	1	8	4
9	3	8	4
11	1	9	3
10	2	9	3
11	1	10	2
11	1	10	2
12	0	12	0
12	0	11	1
11	1	9	3
6	6	7	5
12	0	9	3
8	4	7	5
12	0	11	1
11	1	10	2
12	0	8	4
11	1	7	5
12	0	12	0
11	1	9	3
12	0	12	0
5	7	2	10
4	8	7	5
12	0	12	0
8	4	8	4
12	0	8	4
12	0	10	2
12	0	10	2
10	2	10	2
11	1	10	2
11	1	4	8
10	2	5	7
6	6	6	6




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=161272&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 time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Boxplot statistics
Variablelower whiskerlower hingemedianupper hingeupper whisker
P1Cat710111212
P1NonCat00125
P2Cat4791012
P2NonCat02358

\begin{tabular}{lllllllll}
\hline
Boxplot statistics \tabularnewline
Variable & lower whisker & lower hinge & median & upper hinge & upper whisker \tabularnewline
P1Cat & 7 & 10 & 11 & 12 & 12 \tabularnewline
P1NonCat & 0 & 0 & 1 & 2 & 5 \tabularnewline
P2Cat & 4 & 7 & 9 & 10 & 12 \tabularnewline
P2NonCat & 0 & 2 & 3 & 5 & 8 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=161272&T=1

[TABLE]
[ROW][C]Boxplot statistics[/C][/ROW]
[ROW][C]Variable[/C][C]lower whisker[/C][C]lower hinge[/C][C]median[/C][C]upper hinge[/C][C]upper whisker[/C][/ROW]
[ROW][C]P1Cat[/C][C]7[/C][C]10[/C][C]11[/C][C]12[/C][C]12[/C][/ROW]
[ROW][C]P1NonCat[/C][C]0[/C][C]0[/C][C]1[/C][C]2[/C][C]5[/C][/ROW]
[ROW][C]P2Cat[/C][C]4[/C][C]7[/C][C]9[/C][C]10[/C][C]12[/C][/ROW]
[ROW][C]P2NonCat[/C][C]0[/C][C]2[/C][C]3[/C][C]5[/C][C]8[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=161272&T=1

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

As an alternative you can also use a QR Code:  

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

Boxplot statistics
Variablelower whiskerlower hingemedianupper hingeupper whisker
P1Cat710111212
P1NonCat00125
P2Cat4791012
P2NonCat02358







Boxplot Means
Variabletrimmed meanunbiased SD
P1Cat10.62.225
P1NonCat1.4022.225
P2Cat8.5772.159
P2NonCat3.4232.159

\begin{tabular}{lllllllll}
\hline
Boxplot Means \tabularnewline
Variable & trimmed mean & unbiased SD \tabularnewline
P1Cat & 10.6 & 2.225 \tabularnewline
P1NonCat & 1.402 & 2.225 \tabularnewline
P2Cat & 8.577 & 2.159 \tabularnewline
P2NonCat & 3.423 & 2.159 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=161272&T=2

[TABLE]
[ROW][C]Boxplot Means[/C][/ROW]
[ROW][C]Variable[/C][C]trimmed mean[/C][C]unbiased SD[/C][/ROW]
[ROW][C]P1Cat[/C][C]10.6[/C][C]2.225[/C][/ROW]
[ROW][C]P1NonCat[/C][C]1.402[/C][C]2.225[/C][/ROW]
[ROW][C]P2Cat[/C][C]8.577[/C][C]2.159[/C][/ROW]
[ROW][C]P2NonCat[/C][C]3.423[/C][C]2.159[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=161272&T=2

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

As an alternative you can also use a QR Code:  

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

Boxplot Means
Variabletrimmed meanunbiased SD
P1Cat10.62.225
P1NonCat1.4022.225
P2Cat8.5772.159
P2NonCat3.4232.159



Parameters (Session):
Parameters (R input):
par1 = 30 ; par2 = FALSE ; par3 = 0 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1) #colour
par2<- as.logical(par2) # Notches ?
par3<-as.numeric(par3) # % trim
if(par3>45){par3<-45;warning('trim limited to 45%')}
if(par3<0){par3<-0;warning('negative trim makes no sense. Trim is zero.')}
lotrm<-as.integer(length(y[1,])*par3/100)+1
hitrm<-as.integer(length(y[1,])*(100-par3)/100)
y1<-array(dim=c(dim(y)[1], hitrm-lotrm+1), dimnames=list(dimnames(y)[[1]], 1:(hitrm-lotrm+1) ))
for(i in 1:dim(y)[1]){
tmp<-order(y[i,])
y1[i,]<- y[i, tmp[lotrm:hitrm] ]
}
bitmap(file='test2.png')
pairs(t(y))
dev.off()
y<-y1
z <- as.data.frame(t(y))
bitmap(file='test1.png')
(r<-boxplot(z ,xlab=xlab,ylab=ylab,main=main,notch=par2,col=par1))
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('overview.htm','Boxplot statistics','Boxplot overview'),6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',1,TRUE)
a<-table.element(a,hyperlink('lower_whisker.htm','lower whisker','definition of lower whisker'),1,TRUE)
a<-table.element(a,hyperlink('lower_hinge.htm','lower hinge','definition of lower hinge'),1,TRUE)
a<-table.element(a,hyperlink('central_tendency.htm','median','definitions about measures of central tendency'),1,TRUE)
a<-table.element(a,hyperlink('upper_hinge.htm','upper hinge','definition of upper hinge'),1,TRUE)
a<-table.element(a,hyperlink('upper_whisker.htm','upper whisker','definition of upper whisker'),1,TRUE)
a<-table.row.end(a)
for (i in 1:length(y[,1]))
{
a<-table.row.start(a)
a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE)
for (j in 1:5)
{
a<-table.element(a,signif(r$stats[j,i], digits=4))
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
if (par2){
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Boxplot Notches',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',1,TRUE)
a<-table.element(a,'lower bound',1,TRUE)
a<-table.element(a,'median',1,TRUE)
a<-table.element(a,'upper bound',1,TRUE)
a<-table.row.end(a)
for (i in 1:length(y[,1]))
{
a<-table.row.start(a)
a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE)
a<-table.element(a,signif(r$conf[1,i], digits=4))
a<-table.element(a, signif(r$stats[3,i], digits=4))
a<-table.element(a,signif(r$conf[2,i], digits=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,'Boxplot Means',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',1,TRUE)
a<-table.element(a,hyperlink('trimmed_mean.htm','trimmed mean','definition of trimmed mean'),1,TRUE)
a<-table.element(a,hyperlink('unbiased1.htm','unbiased SD','definition of unbiased SD'),1,TRUE)
a<-table.row.end(a)
for (i in 1:length(y[,1]))
{
a<-table.row.start(a)
a<-table.element(a,dimnames(t(x))[[2]][i],1,TRUE)
a<-table.element(a,signif(mean(z[i], trim=par3/100, na.rm=TRUE), digits=4))
a<-table.element(a,signif(sd(z[i], na.rm=TRUE), digits=4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')