Displaying 20 results from an estimated 3000 matches similar to: "Graph to visualize paired t test"
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",
2004 Aug 18
6
paired t-test vs pairwise t-test
What's the difference between t.test(x, y) and pairwise.t.test()? Is it just
that the former takes two vectors, whereas the latter takes a vector and a
factor?
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 - - -
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,
2017 Jun 23
2
Paired Weighted Wilcoxon test in R
Dear R-users,
I?m trying to perform a non-parametric statistical pairwise comparison of two samples "x" and "y" using the Wilcoxon test in R, but each of the pairs have a weight associated.
An example of my data is the following one:
set.seed(9)
x <- sample(x = c(1:100), size = 20, replace = TRUE)
y <- sample(x = c(1:100), size = 20, replace = TRUE)
weight <-
2010 Oct 22
2
visualize TukeyHSD results
I am a new R user but a long time SAS user. I searched for a response to this question but no luck, so forgive me if this topic has been covered before. I am running a TukeyHSD post hoc test after running an ANOVA. I get the results of all pairwise comparisons, no problem. However, the output table is a little "busy", and I'd like to make the output easier to read. Specifically, I
2012 May 22
2
scatterplot x axis specifications
I have created a scatter plot that has come out okay but I am having trouble
with the x axis. My data consists of 4 treatments but these treatments are
days so R keeps reading them as numeric and making my x axis continuous.
Here is what I have so far:
plot(pair$MC~pair$Day, pch=c(19,24)[as.factor(Cookie)],
main='Paired t Test',
xlab='Days in Field',
ylab='Moisture
2017 Jun 24
0
Paired Weighted Wilcoxon test in R
Hi DC9,
As no one has answered, I would say that as both the survey package
and Professor Lumley are widely respected, that is as good as it gets.
Jim
On Fri, Jun 23, 2017 at 7:26 PM, Dreams Collector
<dreamscollector9 at gmail.com> wrote:
> Dear R-users,
>
> I?m trying to perform a non-parametric statistical pairwise comparison of two samples "x" and "y" using
2008 Aug 24
1
howto optimize operations between pairs of rows in a single matrix like cor and pairs
Hi,
I calculating the output of a function when applied to pairs of row from
a single matrix or dataframe similar to how cor() and pairs() work. This
is the code that I have been using:
pairwise.apply <- function(x, FUN, ...){
n <- nrow(x)
r <- rownames(x)
output <- matrix(NA, nc=n, nr=n, dimnames=list(r, r))
for(i in 1:n){
for(j
2002 Mar 10
1
multiple pairwise slope comparisons
Hello,
I have a linear model with different slopes for different treatment
groups. I need to pairwise compare the different slope estimates for
the different treatment groups. Is there a package that does pairwise
comparisons of slope coefficients, making the appropriate adjustments in
the P values?
Thanks,
John.
--
==========================================
John Janmaat
Department of
2009 Sep 12
1
How to visualize paired t-test results?
I would like to know if you have any suggestions how to visualize the
results from a paired t-test (see the example data below). I tried to
produce plots that show the mean and CI's from the original data and the
estimate of the difference between means and the confidence intervals (see
below) from the t-test. I really don't know what would be the best way to
graphically display the
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
2013 Mar 29
1
pairs(X,Y) analog of cor(X,Y)?
With a data frame containing some X & Y variables I can get the between
set correlations
with cor(X,Y):
> cor(NLSY[,1:2], NLSY[3:6])
antisoc hyperact income educ
math 0.043381307 -0.07581733 0.25487753 0.2876875
read -0.003735785 -0.07555683 0.09114299 0.1884101
Is there somewhere an analog of pairs(X,Y) that will produce the pairwise
plots of each X against each
2005 Mar 29
1
improved pairs.formula?
Dear all,
I would like to suggest changing the pairs.formula command such that a
command like
pairs(GNP ~ . - Year - GNP.deflator, longley)
would behave in a similar fashion as
lm(GNP ~ . - Year - GNP.deflator, longley)
i.e., make a pairwise scatterplot of GNP and all other variables in
the (longley) dataframe except for Year and GNP.deflator. The above
command, with the
2012 Jun 11
1
Kruskal Wallis Post hoc
Hi, I have searched and found a response to a question similar to mine but
when I tried the code, R says it's not an actual function so I thought I'd
ask here.
http://r.789695.n4.nabble.com/file/n4633035/Cookies.csv Cookies.csv
I have attached the data I am using. I am trying to look at two things: how
moisture content changes over time, and how it changes along the length of a
log
2008 Jan 02
2
strange behavior of cor() with pairwise.complete.obs
Hi all,
I'm not quite sure if this is a feature or a bug or if I just fail to understand
the documentation:
If I use cor() with pairwise.complete.obs and method=pearson, the result is a
scalar:
->cor(c(1,2,3),c(3,4,6),use="pairwise.complete.obs",method="pearson")
[1] 0.9819805
The documentation says that
" '"pairwise.complete.obs"' only
2010 Sep 10
2
pairwise.t.test vs t.test
Dear all, I am perplexed when trying to get the same results using pairwise.t.test and t.test.
I'm using examples in the ISwR library,
>attach(red.cell.folate)
I can get the same result for pairwise.t.test and t.test when I set the variances to be non-equal, but not when they are assumed to be equal. Can anyone explain the differences, or what I'm doing wrong?
Here's an example
2004 Jul 13
3
paired t-test with bootstrap
Dear Sirs,
I am a R beginning user: by mean of R I would like to apply the bootstrap to my data in order to test cost differences between independent or paired samples of people affected by a certain disease.
My problem is that even if I am reading the book by Efron (introduction to the bootstrap), looking at the examples in internet and available in R, learning a lot of theoretical things on
2006 Sep 07
3
pairwise.t.test vs. t. test
Hi,
If I set the p.adjust="none", does it meant that the output p values from the pairwise.t.test will be the same as those from individual t.tests (set var.equal=T, alternative="t")?
I actually got different p values from the two tests. See below. Is it supposed to be this way?
Thanks
Johnny
> x
[1] 61.6 52.7 61.3 65.2 62.8 63.7 64.8 58.7 44.9 57.0 64.3 55.1 50.0 41.0
2013 Jan 27
3
Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Dear list,
When I use VennDiagram package, I got a error as follow:
venn.plot <- draw.pairwise.venn(
area1 = 3186,
area2 = 325,
cross.area = 5880);
Error in draw.pairwise.venn(area1 = 3186, area2 = 325, cross.area = 588) :
Impossible: cross section area too large.
Does anyone have suggestion?
Thank you.