Home » date » 2011 » Jan » 22 »

*Unverified author*
R Software Module: Ian.Holliday/rwasp_Tests to Compare Two Means.wasp (opens new window with default values)
Title produced by software: T-Tests
Date of computation: Sat, 22 Jan 2011 12:16:14 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Jan/22/t1295698412e3u33qgsaxjej9r.htm/, Retrieved Sat, 22 Jan 2011 13:13:32 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2011/Jan/22/t1295698412e3u33qgsaxjej9r.htm/},
    year = {2011},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2011},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
11 1 7 5 11 1 7 5 5 7 7 5 12 0 8 4 4 8 4 8 11 1 10 2 10 2 8 4 10 2 8 4 11 1 8 4 8 4 8 4 5 7 6 6 9 3 8 4 11 1 9 3 10 2 5 7 11 1 7 5 6 6 6 6 11 1 8 4 5 7 4 8 4 8 6 6 12 0 8 4 11 1 10 2 11 1 11 1 12 0 10 2 11 1 9 3 2 10 11 1 12 0 10 2 12 0 11 1 11 1 9 3 9 3 10 2 12 0 9 3 12 0 8 4 10 2 7 5 10 2 11 1 12 0 10 2 6 6 7 5 10 2 10 2 12 0 8 4 7 5 4 8 11 1 8 4 10 2 8 4 11 1 10 2 12 0 11 1 5 7 2 10 10 2 8 4 4 8 3 9 9 3 9 3 12 0 11 1 11 1 7 5 11 1 7 5 8 4 9 3 12 0 7 5 11 1 7 5 12 0 9 3 11 1 9 3 11 1 5 7 12 0 8 4 12 0 10 2 11 1 8 4 8 4 11 1 12 0 8 4 10 2 10 2 12 0 8 4 9 3 6 6 12 0 8 4 4 8 3 9 10 2 10 2 8 4 9 3 9 3 9 3 5 7 6 6 11 1 5 7 12 0 8 4 12 0 10 2 11 1 6 6 11 1 12 0 11 1 8 4 11 1 11 1 12 0 8 4 11 1 8 4 11 1 8 4 10 2 8 4 11 1 7 5 9 3 11 1 12 0 6 6 9 3 5 7
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Jan/22/t1295698412e3u33qgsaxjej9r/1z1ag1295698571.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/22/t1295698412e3u33qgsaxjej9r/1z1ag1295698571.ps (open in new window)


 
Parameters (Session):
par1 = two.sided ; par2 = 1 ; par3 = 2 ; par4 = T-Test ; par5 = paired ; par6 = 0.0 ; par8 = TRUE ;
 
Parameters (R input):
par1 = two.sided ; par2 = 1 ; par3 = 2 ; par4 = T-Test ; par5 = paired ; par6 = 0.0 ; 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)
if ( par5 == 'unpaired') paired <- FALSE else paired <- TRUE
x <- t(y)
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 == 'Students T-Test')
{
a<-table.start()
a <- table.row.start(a)
a <- table.element(a,'Students T-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)
T <- t.test(x[,par2],x[,par3],alternative=par1, paired=paired, mu=par6)
a<-table.row.start(a)
a<-table.element(a,'Students T-Test',1,TRUE)
a<-table.element(a,round(T$statistic[[1]], digits=5) )
a<-table.element(a,round(T$p.value, digits=5) )
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by