Re: [R] t.test

2007-07-06 Thread Bartjoosen
and do read the R-manual about how to make a vector matthew wrote: > > Hi, how can I solve a problem without the function t.test??? > > for example: > x<-(1,3,5,7) > y<-(2,4,6) > t.test(x,y,alternative="less",paired=FALSE,var.equal=TRUE,conf.level=0.95) > > > -- View this message

Re: [R] t.test

2007-07-06 Thread Peter Dalgaard
matthew wrote: > Hi, how can I solve a problem without the function t.test??? > > for example: > x<-(1,3,5,7) > y<-(2,4,6) > t.test(x,y,alternative="less",paired=FALSE,var.equal=TRUE,conf.level=0.95) > > > Homework? Hints: Take out your statistics textbook and look up the formulas for the t

[R] t.test

2007-07-06 Thread matthew5555
Hi, how can I solve a problem without the function t.test??? for example: x<-(1,3,5,7) y<-(2,4,6) t.test(x,y,alternative="less",paired=FALSE,var.equal=TRUE,conf.level=0.95) -- View this message in context: http://www.nabble.com/t.test-tf4034225.html#a11460445 Sent from the R help mailing list

Re: [R] t.test()

2006-11-24 Thread Robin Hankin
On 23 Nov 2006, at 13:46, Peter Dalgaard wrote: > Robin Hankin <[EMAIL PROTECTED]> writes: > >> Hi >> >> I have a vector x of length n. I am interested in x[1] >> being different from the other observations (ie x[-1]). >> [snip] >> >> What arguments do I need to send to t.test() to test my nul

Re: [R] t.test()

2006-11-23 Thread Thilo Kellermann
. ~William W. Watt > > > > A statistical analysis, properly conducted, is a delicate dissection of > > uncertainties, a surgery of suppositions. ~M.J.Moroney > > > > -Oorspronkelijk bericht- > > Van: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]

Re: [R] t.test()

2006-11-23 Thread Antonio, Fabio Di Narzo
lgium > > > > tel. + 32 54/436 185 > > > > [EMAIL PROTECTED] > > > > www.inbo.be > > > > > > > > Do not put your faith in what statistics say until you have carefully > > considered what they do not say. ~William W. Watt > > > >

Re: [R] t.test()

2006-11-23 Thread Prof Brian Ripley
On Thu, 23 Nov 2006, Peter Dalgaard wrote: > Robin Hankin <[EMAIL PROTECTED]> writes: > >> Hi >> >> I have a vector x of length n. I am interested in x[1] >> being different from the other observations (ie x[-1]). >> >> My null hypothesis is that x[1] >> is drawn from a Gaussian distribution of

Re: [R] t.test()

2006-11-23 Thread Prof Brian Ripley
AIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Robin Hankin > Verzonden: donderdag 23 november 2006 14:12 > Aan: [EMAIL PROTECTED] > Onderwerp: [R] t.test() > > Hi > > I have a vector x of length n. I am interested in x[1] > being different from the other observations

Re: [R] t.test()

2006-11-23 Thread Peter Dalgaard
Robin Hankin <[EMAIL PROTECTED]> writes: > Hi > > I have a vector x of length n. I am interested in x[1] > being different from the other observations (ie x[-1]). > > My null hypothesis is that x[1] > is drawn from a Gaussian distribution of the same > mean as observations x[-1], which are as

Re: [R] t.test()

2006-11-23 Thread Peter Dalgaard
stical analysis, properly conducted, is a delicate dissection of > uncertainties, a surgery of suppositions. ~M.J.Moroney > > -----Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Robin Hankin > Verzonden: donderdag 23 november 2006 14:12 >

Re: [R] t.test()

2006-11-23 Thread Robin Hankin
ot say. ~William W. Watt > > A statistical analysis, properly conducted, is a delicate > dissection of > uncertainties, a surgery of suppositions. ~M.J.Moroney > > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Robin Hankin &

Re: [R] t.test()

2006-11-23 Thread ONKELINX, Thierry
tainties, a surgery of suppositions. ~M.J.Moroney -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Robin Hankin Verzonden: donderdag 23 november 2006 14:12 Aan: [EMAIL PROTECTED] Onderwerp: [R] t.test() Hi I have a vector x of length n. I am intereste

[R] t.test()

2006-11-23 Thread Robin Hankin
Hi I have a vector x of length n. I am interested in x[1] being different from the other observations (ie x[-1]). My null hypothesis is that x[1] is drawn from a Gaussian distribution of the same mean as observations x[-1], which are assumed to be iid Gaussian. The (unknown) variance of x[1]

Re: [R] t.test question

2006-03-06 Thread James W. MacDonald
Roth, Richard wrote: > Hi, I have a data matrix of gene expression data from two groups that > I would like to compare using the t-test. The data has been > processed using RMA and transformed using log2. I would like to > compare the two groups for each gene (N=10,000 genes) and have a > result

[R] t.test question

2006-03-06 Thread Roth, Richard
Hi, I have a data matrix of gene expression data from two groups that I would like to compare using the t-test. The data has been processed using RMA and transformed using log2. I would like to compare the two groups for each gene (N=10,000 genes) and have a result that lists the p-value for e

Re: [R] t.test using RSPerl

2005-06-14 Thread Henrik Bengtsson
uot; [12] "" and transfer 'output' to Perl. Cheers Henrik Wagle, Mugdha wrote: > Hi, > > I've just started using R and RSPerl. I have some code as follows: > > &R::initR("--no-save"); > &R::call("t.test", ([EMAIL PROTECTED], [

[R] t.test using RSPerl

2005-06-14 Thread Wagle, Mugdha
xecution the output is as follows: Calling R function name `t.test', # arguments: 3 1) Arg type 3 Got a reference to a value 10 Here now!2) Arg type 3 Got a reference to a value 10 Here now!Calling R t.test(c(0, 6.24280675278087, 6.35175793656943, 5.76925805661511, 7.0789316246711, 7.46364986611

Re: [R] t.test & formatting question

2004-04-16 Thread Robert W. Baer, Ph.D.
How about: as.numeric(t.test(rnorm(12))[[1]]) - Original Message - From: "Chuck Cleland" <[EMAIL PROTECTED]> To: "christopher ciotti" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 6:25 PM Subject: Re: [R] t.test & forma

Re: [R] t.test & formatting question

2004-04-16 Thread Chuck Cleland
Sorry, I should have checked that more closely. I see that t.test(rnorm(12))[[1]] retains the "t". christopher ciotti wrote: ... I'm trying to format some data where I only need one of the values returned from a test, say a t-test in this instance. I have the following: > R.version.stri

Re: [R] t.test & formatting question

2004-04-16 Thread Chuck Cleland
How about this? t.test(x)[[1]] The result of t.test(x) is a list and "statistic" is the first component of that list. christopher ciotti wrote: ... I'm trying to format some data where I only need one of the values returned from a test, say a t-test in this instance. I have the following:

Re: [R] t.test & formatting question

2004-04-16 Thread christopher ciotti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony Plate wrote: > as.numeric() (and its siblings) strip the names from vectors, e.g.: > > > as.numeric(t.test(rnorm(1001))$statistic) > [1] -0.6320304 > > > > hth, > > Tony Plate Thanks for the quick response. - -- chris ciotti ([EMAIL PROTECTED]) P

Re: [R] t.test & formatting question

2004-04-16 Thread Tony Plate
as.numeric() (and its siblings) strip the names from vectors, e.g.: > as.numeric(t.test(rnorm(1001))$statistic) [1] -0.6320304 > hth, Tony Plate At Friday 05:14 PM 4/16/2004, christopher ciotti wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all - I'm trying to format some data where

[R] t.test & formatting question

2004-04-16 Thread christopher ciotti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all - I'm trying to format some data where I only need one of the values returned from a test, say a t-test in this instance. I have the following: > R.version.string [1] "R version 1.9.0, 2004-04-12" > x <- rnorm(1001) > t.test(x)$statistic