Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_CARE Data Boxplot.wasp
Title produced by softwareBoxplot and Trimmed Means
Date of computationSun, 04 Dec 2011 11:36:10 -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/2011/Dec/04/t1323016711lzkkm8ycj3h24il.htm/, Retrieved Sun, 05 May 2024 09:13:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=150699, Retrieved Sun, 05 May 2024 09:13:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact94
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Histogram and QQplot] [PY2224 Aston Work...] [2009-10-06 09:57:09] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   P   [Histogram and QQplot] [olivia friday] [2009-10-09 12:41:21] [3fdd735c61ad38cbc9b3393dc997cdb7]
- RMPD    [Histogram and QQplot] [Reddy Moores Hist...] [2009-10-09 13:23:16] [98fd0e87c3eb04e0cc2efde01dbafab6]
-    D      [Histogram and QQPlot] [Histogram and QQ ...] [2009-12-16 15:50:52] [3fdd735c61ad38cbc9b3393dc997cdb7]
- RMPD        [Boxplot and Trimmed Means] [Smokers and non-s...] [2011-12-01 13:09:59] [8c81da13f08bc9bfea791eeaf1eaf0a1]
- R  D            [Boxplot and Trimmed Means] [Box plot- ratings...] [2011-12-04 16:36:10] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

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




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150699&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'Gertrude Mary Cox' @ cox.wessa.net







\begin{tabular}{lllllllll}
\hline
Boxplot statistics \tabularnewline
Variable & lower whisker & lower hinge & median & upper hinge & upper whisker \tabularnewline
Hot & 2 & 4 & 6 & 8 & 11 \tabularnewline
Mild & 1 & 3 & 4 & 5 & 7 \tabularnewline
SMK & 1 & 3 & 4 & 5 & 7 \tabularnewline
NS & 1 & 4 & 6 & 8 & 11 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150699&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]Hot[/C][C]2[/C][C]4[/C][C]6[/C][C]8[/C][C]11[/C][/ROW]
[ROW][C]Mild[/C][C]1[/C][C]3[/C][C]4[/C][C]5[/C][C]7[/C][/ROW]
[ROW][C]SMK[/C][C]1[/C][C]3[/C][C]4[/C][C]5[/C][C]7[/C][/ROW]
[ROW][C]NS[/C][C]1[/C][C]4[/C][C]6[/C][C]8[/C][C]11[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150699&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=150699&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
Hot246811
Mild13457
SMK13457
NS146811







Boxplot Notches
Variablelower boundmedianupper bound
Hot5.00166.999
Mild3.544.5
SMK3.544.5
NS5.00166.999

\begin{tabular}{lllllllll}
\hline
Boxplot Notches \tabularnewline
Variable & lower bound & median & upper bound \tabularnewline
Hot & 5.001 & 6 & 6.999 \tabularnewline
Mild & 3.5 & 4 & 4.5 \tabularnewline
SMK & 3.5 & 4 & 4.5 \tabularnewline
NS & 5.001 & 6 & 6.999 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150699&T=2

[TABLE]
[ROW][C]Boxplot Notches[/C][/ROW]
[ROW][C]Variable[/C][C]lower bound[/C][C]median[/C][C]upper bound[/C][/ROW]
[ROW][C]Hot[/C][C]5.001[/C][C]6[/C][C]6.999[/C][/ROW]
[ROW][C]Mild[/C][C]3.5[/C][C]4[/C][C]4.5[/C][/ROW]
[ROW][C]SMK[/C][C]3.5[/C][C]4[/C][C]4.5[/C][/ROW]
[ROW][C]NS[/C][C]5.001[/C][C]6[/C][C]6.999[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150699&T=2

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

As an alternative you can also use a QR Code:  

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

Boxplot Notches
Variablelower boundmedianupper bound
Hot5.00166.999
Mild3.544.5
SMK3.544.5
NS5.00166.999







Boxplot Means
Variabletrimmed meanunbiased SD
Hot6.1252.493
Mild3.7251.485
SMK3.9751.544
NS5.8752.672

\begin{tabular}{lllllllll}
\hline
Boxplot Means \tabularnewline
Variable & trimmed mean & unbiased SD \tabularnewline
Hot & 6.125 & 2.493 \tabularnewline
Mild & 3.725 & 1.485 \tabularnewline
SMK & 3.975 & 1.544 \tabularnewline
NS & 5.875 & 2.672 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=150699&T=3

[TABLE]
[ROW][C]Boxplot Means[/C][/ROW]
[ROW][C]Variable[/C][C]trimmed mean[/C][C]unbiased SD[/C][/ROW]
[ROW][C]Hot[/C][C]6.125[/C][C]2.493[/C][/ROW]
[ROW][C]Mild[/C][C]3.725[/C][C]1.485[/C][/ROW]
[ROW][C]SMK[/C][C]3.975[/C][C]1.544[/C][/ROW]
[ROW][C]NS[/C][C]5.875[/C][C]2.672[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=150699&T=3

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

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
Hot6.1252.493
Mild3.7251.485
SMK3.9751.544
NS5.8752.672



Parameters (Session):
par1 = 3 ; par2 = TRUE ; par3 = 0 ;
Parameters (R input):
par1 = 3 ; par2 = TRUE ; 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')