Displaying 20 results from an estimated 3000 matches similar to: "Question about interpretation of paired t-tests"
2011 Sep 20
5
help in interpreting paired t-test
Dear all;
A very basic question. I have the following data:
************************************************************************************
A <- 1/1000*c(347,328,129,122,18,57,105,188,57,257,53,108,336,163,
62,112,334,249,45,244,211,175,174,26,375,346,153,32,
89,32,358,202,123,131,88,36,30,67,96,135,219,122,
89,117,86,169,179,54,48,40,54,568,664,277,91,290,
2012 Mar 28
1
discrepancy between paired t test and glht on lme models
Hi folks,
I am working with repeated measures data and I ran into issues where the
paired t-test results did not match those obtained by employing glht()
contrasts on a lme model. While the lme model itself appears to be fine,
there seems to be some discrepancy with using glht() on the lme model
(unless I am missing something here). I was wondering if someone could
help identify the issue. On
2009 Jan 14
5
How to compute p-Values
Hello.
How can I compute the Bootstrap p-Value for a one- and two sided test, when I have a bootstrap sample of a statistic of 1000 for example?
My hypothesis are for example:
1. Two-Sided: H0: mean=0 vs. H1: mean!=0
2. One Sided: H0: mean>=0 vs. H1: mean<0
I hope you can help me
Thanks in advance
Regards,
Andreas
2008 Jan 29
1
Form Pairs of Variables for a paired t-test
Hi Users,
This is regarding the paired t-test. I have 5 variables (say) Data$v1,Data$v2,Data$v3,Data$v4,Data$v5 in my data frame. Now, I need to perform a paired t-test on all the possible 10 pairs.How do I set up the pairs table directly and pass those variables in to t-test.
Thanks in advance,
Pratap
---------------------------------
Now you can chat without
2009 Jul 24
2
suggestion for paired t-tests
There's a funny inconsistency in how t.test handles paired=T or paired=F. If x
and y parameters are lists, paired=F works, but paired=T doesn't.
> lg=read.csv("my.csv")
> a = subset(lg, condition=="a")["score"]
> b = subset(lg, condition=="b")["score"]
> t.test(a,b)
> t.test(a,b, paired=TRUE)
Error in `[.data.frame`(y, yok)
2013 May 01
1
Multiple Paired T test from large Data Set with multiple pairs
Hi,
Assuming that your dataset is similar to the one below:
set.seed(25)
dat1<- data.frame(Algae.Mass=sample(40:50,10,replace=TRUE),Seagrass.Mass=sample(30:70,10,replace=TRUE),Terrestrial.Mass=sample(80:100,10,replace=TRUE),Other.Mass=sample(40:60,10,replace=TRUE),Site.X.Treatment=rep(c("ALA1A","ALA1U"),each=5),stringsAsFactors=FALSE)
library(reshape2)
2013 Mar 24
1
Error with paired t-test
This error keeps appearing when i perform a paired t-test in R
Error in t.test.default(payoff, paired = T) : 'y' is missing for paired test
This is the method i have used
> read.table("MeanPayoff.txt",header=T) Open Closed1 47.50000 42.37502 49.25000 50.00003 50.00000 49.80004 33.50000 20.00005 34.75000 33.88006 35.50000 20.50007 33.35000 12.87508 50.00000
2023 Nov 07
0
Inconsistency in paired t.test() interface?
Hi all,
In the next release of R (4.4) the option to obtain a paired t.test with
the formula interface for "long" data has been removed:
t.test(x ~ group, paired = TRUE) # now results in an error.
Exploring how one might obtain a paired t.test, there seems to be some
inconsistency between the formula and default interfaces as well as within
the formula interface.
```
extra.1 <-
2008 Mar 26
1
generating a paired t-test with multiple levels of a factor
I have been trying to run this analysis and finally want to ask for help.
I am trying to run a paired t-test in which I have 19 subjects who have
reaction times for 5 different conditions. The data frame has 114 rows
total (6 rows for each subject representing six average reaction times by
condition). Is there a way to run all paired t-tests where a paired t-test
is run for every possible
2008 Oct 25
1
pairwise.wilcox.test for paired samples
Dear R Core,
pairwise.wilcox.test does not handle "paired = TRUE" correctly; e.g.
set.seed(13)
x <- rnorm(20)
g <- c(rep(1, 10), rep(2, 10))
wilcox.test(x ~ g)$p.value # 0.075
pairwise.wilcox.test(x, g)$p.value # 0.075, o.k
wilcox.test(x ~ g, paired = TRUE)$p.value # 0.105
pairwise.wilcox.test(x, g, paired = TRUE)$p.value # 0.075, wrong
The line
wilcox.test(xi, xj,
2012 Jun 02
2
How can I export a paired t-test output table to an excel file?
Hi R users,
Could anyone let me know how to export a paired t-test output table (see
below) to an excel file?
Jason,
with(score2,pairwise.t.test(values,ind,
+ p.adjust.method="holm", paired=T))
Pairwise comparisons using paired t tests
data: values and ind
test1 test2 test3 test4 test5 test6
test1 1.0000 - - -
2005 Oct 07
1
permutational Kolmogorov-Smirnov p-value for paired data
Dear List,
I am new to R and find it very powerful. I would like to compute the
permutational p-value for paired data using Kolmogorov-Smirnov, but
the built-in ks.test does not have this option, unlike the t.test
which has a paired=TRUE flag. Has someone written a library or a
routine that does this? Alternatively, if someone could show me how to
do pair-wise permutations in R, then I can
2015 Feb 06
3
how to draw paired mosaic plot?
Hi all:
If there are two numeric variable:x,y, and I can get paired scatter plot by function "pairs".But if x and y are character, and I want to get paired mosaic plot,which function should be used then?
Many thanks!
My best.
--
QQ: 1733768559
[[alternative HTML version deleted]]
2011 Jan 25
1
Paired data survival analysis
Hi,
Im an honours student at Monash University. I'm trying to analyse some
data for my project, which involved 2 treatments. My subjects were
exposed to both treatments, and i gave them 60 minutes to perform a
certain behaviour. 3 of my subjects performed the behaviour in one
treatment but not the other. Therefore, i need to do a survival
analysis using paired data. Im little confused about
2010 Aug 24
0
SAMR for paired samples
Hi R-help,
I am trying to use 'samr' for 10 pre and post paired samples to test
whether
post is different from pre (i.e., the location shift for the delta of
(post-pre)).
However, I got an error message saying
> samr.obj<-samr(d, resp.type="Two class paired", nperms=100,
random.seed=100)
perm= 1
Error in !logged2 : invalid argument type
Does anyone know what this
2009 Aug 12
1
C-statistic comparison with partially paired datasets
Does anyone know of an R-function or method to compare two C-statistics
(Harrells's C - rcorr.cens) obtained from 2 different models in
partially paired datasets (i.e. some similar and some different cases),
with one continuous independent variable in each separate model? (in a
survival analysis context)?
I have noticed that the rcorrp.cens function can be used for paired data.
Thanks
2010 Aug 15
1
Paired t-tests
Hello List,
I'm trying to do a paired t-test, and I'm wondering if it's consistent
with equations. I have a dataset that has a response and two
treatments (here's an example):
ID trt order resp
17 1 0 1 0.0037513592
18 2 0 1 0.0118723051
19 4 0 1 0.0002610251
20 5 0 1 -0.0077951450
21 6 0 1 0.0022339952
22 7 0 2
2007 Dec 17
2
can R solve these paired equations
Dear:
I have a paired equation below. Can I solve (x,y) using R.
Thanks!
Xin
A=327.727
B=9517.336
p=0.114^10
(1-p)*y*(1-x)/x/(1-x^y)=A
A(1+(1-x)*(1+y)/x-A))=B
[[alternative HTML version deleted]]
2010 Feb 22
0
[LLVMdev] Paired register allocation problem
Hello, Artur
> I have defined registers, aliases and subregister set.
> The problem is that register allocator is using 32bit registers that are
> already used in a pair, for example:
> lw $r0, 16[$r12] // load word to r0
> ld $p0, 36[$r12] // load doubleword to p0
> shl $p0, $p0, $r0 // shift left p0 by r0 and store result in p0
> where p0 is a pair r0:r1
> Could
2008 Apr 04
2
pairwise.t.test for paired data
Dear R-help, I have a question about pairwise.t.test and adjustment for
multiple comparisons for paired data points.
I have the following data:
n=c("x", "x", "x", "x", "x", "x", "x", "x", "x", "x", "y", "y",
"y", "y", "y", "y",