Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_Tests to Compare Two Means.wasp
Title produced by softwareT-Tests
Date of computationFri, 01 Jun 2012 06:06:33 -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/2012/Jun/01/t1338545205g1egvfsdbiztlrm.htm/, Retrieved Thu, 02 May 2024 08:36:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=168555, Retrieved Thu, 02 May 2024 08:36:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact78
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Simple Linear Regression] [Triglyceridge Reg...] [2011-07-07 15:11:49] [74be16979710d4c4e7c6647856088456]
- R     [Simple Linear Regression] [Triglyceride] [2012-05-04 19:33:41] [98fd0e87c3eb04e0cc2efde01dbafab6]
- RMPD      [T-Tests] [men weight] [2012-06-01 10:06:33] [a83db3bc6797d536228e59ecfa0788f9] [Current]
Feedback Forum

Post a new message
Dataseries X:
77	182	77	180
68	177	70	175
76	170	76	165
76	167	77	165
69	186	73	180
71	178	71	175
65	171	64	170
70	175	75	174
92	187	101	185
76	197	75	200
119	180	124	178
65	175	66	173
66	173	70	170
101	183	100	180
75	178	73	175
79	173	76	173
64	176	65	175
69	174	69	171
88	178	86	175
65	187	67	188
80	178	80	178
78	183	80	180
85	179	82	175
73	180	NA	NA
82	182	85	183
74	169	73	170
102	185	107	185
64	177	NA	NA
65	176	64	172
73	183	74	180
75	172	70	169
57	173	58	170
68	165	69	165
71	177	71	170
71	180	76	175
97	189	98	185
80	178	76	175
66	173	66	175
69	182	70	180
69	183	70	183
55	168	56	170
59	182	61	183
62	178	66	175
70	173	68	170
84	184	86	183
69	180	71	180
88	189	87	185
103	185	101	182
63	178	63	175
84	183	90	183
79	179	79	171
67	179	67	179
83	184	83	181
96	184	94	183
75	169	76	165
65	178	66	178
78	178	77	175
69	167	73	165
67	179	NA	NA
87	185	89	185
83	177	84	175
90	188	91	185
85	191	83	188
66	175	68	175
88	184	86	183
54	169	58	165
69	172	68	174
56	163	58	161
96	191	95	188
76	169	75	165
61	170	61	170
82	176	NA	NA
62	168	64	168
71	178	68	178
66	170	67	165
81	178	82	175
68	174	68	173
80	176	78	175
82	181	NA	NA
70	173	70	173
76	183	75	180
88	185	93	188
89	173	86	173
74	175	71	175
83	180	80	180
81	175	NA	NA
90	181	91	178
79	177	81	178




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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=168555&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]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=168555&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168555&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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







T-Test
Difference: Mean1 - Mean2-0.58537
T Statistic-2.12945
P-value0.03625
Lower Confidence Limit-1.13231
Upper Confidence Limit-0.03842

\begin{tabular}{lllllllll}
\hline
T-Test \tabularnewline
Difference: Mean1 - Mean2 & -0.58537 \tabularnewline
T Statistic & -2.12945 \tabularnewline
P-value & 0.03625 \tabularnewline
Lower Confidence Limit & -1.13231 \tabularnewline
Upper Confidence Limit & -0.03842 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168555&T=1

[TABLE]
[ROW][C]T-Test[/C][/ROW]
[ROW][C]Difference: Mean1 - Mean2[/C][C]-0.58537[/C][/ROW]
[ROW][C]T Statistic[/C][C]-2.12945[/C][/ROW]
[ROW][C]P-value[/C][C]0.03625[/C][/ROW]
[ROW][C]Lower Confidence Limit[/C][C]-1.13231[/C][/ROW]
[ROW][C]Upper Confidence Limit[/C][C]-0.03842[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168555&T=1

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

As an alternative you can also use a QR Code:  

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

T-Test
Difference: Mean1 - Mean2-0.58537
T Statistic-2.12945
P-value0.03625
Lower Confidence Limit-1.13231
Upper Confidence Limit-0.03842







Standard Deviations
Variable 111.89034
Variable 212.2868

\begin{tabular}{lllllllll}
\hline
Standard Deviations \tabularnewline
Variable 1 & 11.89034 \tabularnewline
Variable 2 & 12.2868 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168555&T=2

[TABLE]
[ROW][C]Standard Deviations[/C][/ROW]
[ROW][C]Variable 1[/C][C]11.89034[/C][/ROW]
[ROW][C]Variable 2[/C][C]12.2868[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168555&T=2

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

As an alternative you can also use a QR Code:  

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

Standard Deviations
Variable 111.89034
Variable 212.2868



Parameters (Session):
par1 = two.sided ; par2 = 1 ; par3 = 3 ; par4 = T-Test ; par5 = paired ; par6 = 0.0 ; par7 = 0.95 ; par8 = TRUE ;
Parameters (R input):
par1 = two.sided ; par2 = 1 ; par3 = 3 ; par4 = T-Test ; par5 = paired ; par6 = 0.0 ; par7 = 0.95 ; par8 = TRUE ;
R code (references can be found in the software module):
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.character(par4)
par5 <- as.character(par5)
par6 <- as.numeric(par6)
par7 <- as.numeric(par7)
par8 <- as.logical(par8)
if ( par5 == 'unpaired') paired <- FALSE else paired <- TRUE
x <- t(y)
if(par8){
bitmap(file='test1.png')
(r<-boxplot(x ,xlab=xlab,ylab=ylab,main=main,notch=FALSE,col=2))
dev.off()
}
load(file='createtable')
if( par4 == 'Wilcoxon-Mann_Whitney'){
a<-table.start()
a <- table.row.start(a)
a <- table.element(a,'Wilcoxon Test',3,TRUE)
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'',1,TRUE)
a <- table.element(a,'Statistic',1,TRUE)
a <- table.element(a,'P-value',1,TRUE)
a <- table.row.end(a)
W <- wilcox.test(x[,par2],x[,par3],alternative=par1, paired = paired)
a<-table.row.start(a)
a<-table.element(a,'Wilcoxon Test',1,TRUE)
a<-table.element(a,W$statistic[[1]])
a<-table.element(a,round(W$p.value, digits=5) )
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
}
if( par4 == 'T-Test')
{
T <- t.test(x[,par2],x[,par3],alternative=par1, paired=paired, mu=par6, conf.level=par7)
a<-table.start()
a <- table.row.start(a)
a <- table.element(a,'T-Test',3,TRUE)
a <- table.row.end(a)
if(paired){
a <- table.row.start(a)
a <- table.element(a,'Difference: Mean1 - Mean2',1,TRUE)
a<-table.element(a,round(T$estimate, digits=5) )
a <- table.row.end(a)
}
if(!paired){
a <- table.row.start(a)
a <- table.element(a,'Mean1',1,TRUE)
a<-table.element(a,round(T$estimate[1], digits=5) )
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'Mean2',1,TRUE)
a<-table.element(a,round(T$estimate[2], digits=5) )
a <- table.row.end(a)
}
a <- table.row.start(a)
a <- table.element(a,'T Statistic',1,TRUE)
a<-table.element(a,round(T$statistic, digits=5) )
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'P-value',1,TRUE)
a<-table.element(a,round(T$p.value, digits=5) )
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'Lower Confidence Limit',1,TRUE)
a<-table.element(a,round(T$conf.int[1], digits=5) )
a <- table.row.end(a)
a<-table.row.start(a)
a <- table.element(a,'Upper Confidence Limit',1,TRUE)
a<-table.element(a,round(T$conf.int[2], digits=5) )
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,'Standard Deviations',3,TRUE)
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'Variable 1',1,TRUE)
a<-table.element(a,round(sd(x[,par2], na.rm=TRUE), digits=5) )
a <- table.row.end(a)
a <- table.row.start(a)
a <- table.element(a,'Variable 2',1,TRUE)
a<-table.element(a,round(sd(x[,par3], na.rm=TRUE), digits=5) )
a <- table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')