Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_Reddy-Moores Data Boxplot V2.0.wasp
Title produced by softwareBoxplot and Trimmed Means
Date of computationTue, 22 Oct 2013 08:15:49 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Oct/22/t13824441603eaicwijulb90r4.htm/, Retrieved Sun, 28 Apr 2024 23:58:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=218352, Retrieved Sun, 28 Apr 2024 23:58:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact103
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Boxplot and Trimmed Means] [Care Age 10 Data] [2009-10-26 09:01:50] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   PD  [Boxplot and Trimmed Means] [Care Age 7 Data] [2009-10-26 18:36:29] [98fd0e87c3eb04e0cc2efde01dbafab6]
-   P     [CARE Data - Boxplots and Scatterplot Matrix] [CARE Data] [2010-10-19 14:16:27] [3fdd735c61ad38cbc9b3393dc997cdb7]
- RM        [CARE Data - Boxplots and Scatterplot Matrix] [CARE data - works...] [2011-10-17 10:23:12] [98fd0e87c3eb04e0cc2efde01dbafab6]
- RMP         [Boxplot and Trimmed Means] [CARE Study Age 7 ] [2013-10-17 12:59:45] [34296d8f7657c52ed60d5bff9133afec]
- R P           [Boxplot and Trimmed Means] [trimmed-10%] [2013-10-22 11:26:01] [64170401b557979db6e7469620652d25]
-  M              [Boxplot and Trimmed Means] [scattergraph ] [2013-10-22 11:32:00] [64170401b557979db6e7469620652d25]
- RMPD              [Kendall tau Correlation Matrix] [matrix scattergraph ] [2013-10-22 11:34:08] [64170401b557979db6e7469620652d25]
- RMPD                  [Boxplot and Trimmed Means] [AGE 10] [2013-10-22 12:15:49] [0bd2f83192fbb218ef9d5de6049875e0] [Current]
Feedback Forum

Post a new message
Dataseries X:
74	71	69	67	73
74	71	69	67	73
75	72	75	67	73
74	77	88	67	73
82	71	86	72	73
80	79	84	75	73
91	78	69	80	73
74	73	69	72	74
84	81	79	80	75
74	71	69	84	77
91	86	84	84	77
79	84	87	89	77
78	80	77	73	78
92	82	88	96	79
79	79	84	81	80
80	86	84	77	81
83	71	93	90	81
82	84	86	83	82
88	91	95	84	82
90	96	95	84	82
94	78	89	87	82
88	80	88	89	82
86	86	83	90	82
83	77	81	67	83
77	79	81	73	83
91	82	86	90	83
89	72	94	94	83
87	87	85	98	83
89	86	105	105	83
85	82	87	78	84
88	95	95	81	84
91	102	85	82	84
102	80	102	88	84
100	92	103	106	84
97	82	101	107	85
85	86	91	73	86
88	89	83	84	86
85	92	85	91	86
85	81	94	92	86
81	97	84	87	87
86	91	86	90	88
89	95	91	91	88
102	81	88	104	88
95	103	102	91	89
98	95	94	95	89
98	96	79	97	89
91	86	92	100	89
91	92	105	100	89
114	96	113	107	89
93	105	90	83	90
88	82	83	84	90
97	93	90	88	90
100	88	93	89	90
93	95	93	89	90
95	104	84	85	91
112	88	103	88	91
96	89	88	94	91
86	91	86	86	92
103	91	93	87	92
88	92	92	89	92
98	105	92	92	92
102	99	100	96	92
97	94	95	105	92
91	80	88	107	92
81	88	86	73	93
90	108	83	79	93
98	112	101	94	93
97	89	102	94	93
100	95	90	95	93
94	88	104	103	93
88	105	86	87	94
89	82	88	90	94
91	92	87	98	94
95	86	88	89	95
95	90	101	105	95
102	97	97	97	96
92	103	88	98	96
98	86	87	111	96
104	98	108	84	97
98	92	87	90	97
108	92	103	110	97
96	111	99	83	98
98	97	87	89	98
94	91	97	90	98
97	98	89	94	98
107	90	91	96	99
114	105	105	105	99
94	112	104	69	100
91	90	88	86	100
106	85	113	94	100
112	112	113	105	100
98	105	93	96	101
106	112	95	102	102
92	94	92	84	104
104	92	105	110	104
114	100	96	111	105
103	103	94	96	107
102	100	105	101	107
113	112	102	106	107
114	112	105	111	107
114	100	113	111	107
106	109	113	111	107
114	112	113	111	107
74	71	69	67	NA





\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
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline R Engine error message &
Error in boxplot.default(split(mf[[response]], mf[-response]), ...) : 
  invalid first argument
Calls: boxplot -> boxplot.formula -> boxplot -> boxplot.default
In addition: Warning message:
In is.na(rows) : is.na() applied to non-(list or vector) of type 'NULL'
Execution halted
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=218352&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]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [ROW][C]R Engine error message[/C][C]
Error in boxplot.default(split(mf[[response]], mf[-response]), ...) : 
  invalid first argument
Calls: boxplot -> boxplot.formula -> boxplot -> boxplot.default
In addition: Warning message:
In is.na(rows) : is.na() applied to non-(list or vector) of type 'NULL'
Execution halted
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=218352&T=0



Parameters (Session):
par1 = grey ;
Parameters (R input):
par1 = grey ; par2 = FALSE ; par3 = 0 ; par4 = 1 ; par5 = 2 ;
R code (references can be found in the software module):
par5 <- '2'
par4 <- '1'
par3 <- '0'
par2 <- 'FALSE'
par1 <- 'grey'
bitmap(file='test1.png')
par2<- as.logical(par2) # notches
par3<-as.numeric(par3) # percentage 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.')}
par4 <- as.numeric(par4) #factor column
par5 <- as.numeric(par5) # response column
x <- t(x)
x1<-as.numeric(x[,par5]) # response
f1<-as.character(x[,par4]) # factor
x2<-x1[f1=='no']
f2 <- f1[f1=='no']
lotrm<-as.integer(length(x2)*par3/100)
hitrm<-as.integer(length(x2)*(100-par3)/100)
srt<-order(x2,f2)
trmx1<-x2[srt[lotrm:hitrm]]
trmf1<-f2[srt[lotrm:hitrm]]
x3<-x1[f1=='yes']
f3 <- f1[f1=='yes']
lotrm<-as.integer(length(x3)*par3/100)
hitrm<-as.integer(length(x3)*(100-par3)/100)
srt<-order(x3,f3)
trmx2<-x3[srt[lotrm:hitrm]]
trmf2<-f3[srt[lotrm:hitrm]]
xtrm<-c(trmx1,trmx2)
ftrm<-c(trmf1,trmf2)
xtrm[1:6]
ftrm[1:6]
r<-boxplot(xtrm~as.factor(ftrm), col=par1, notch=par2, main=main, xlab=xlab, ylab=ylab)
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,'Placement',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)
a<-table.row.start(a)
a<-table.element(a,'no',1,TRUE)
for (j in 1:5)
{
a<-table.element(a,r$stats[j,1])
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'yes',1,TRUE)
for (j in 1:5)
{
a<-table.element(a,r$stats[j,2])
}
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
tr.mns<-tapply(x1,f1,mean, trim=par3/100)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('trimmed_mean.htm','Trimmed Mean Equation','Trimmed Mean'),2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'No Placement')
a<-table.element(a,'Placement')
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,tr.mns[1])
a<-table.element(a,tr.mns[2])
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')