Displaying 20 results from an estimated 10000 matches similar to: "Output pairwise.t.test to data.frame"
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",
2011 Apr 28
3
Simple General Statistics and R question (with 3 line example) - get z value from pairwise.wilcox.test
Hi there,
I am trying to do multiple pairwise Wilcoxon signed rank tests in a
manner similar to:
a <- c(runif(1000, min=1,max=50), rnorm(1000, 50), rnorm(1000, 49.9,
0.5), rgeom(1000, 0.5))
b <- c(rep("group_a", 1000), rep("group_b", 1000), rep("group_c",
1000), rep("group_d", 1000))
pairwise.wilcox.test(a, b, alternative="two.sided",
2012 Oct 19
2
Post Hoc tests for ANOVA
Hi,
I was trying to figure out how to do post-hoc tests for Two Way ANOVAs and
found the following 2 approaches:
a. Do pairwise t-tests (bonferroni corrected) if one finds significance with
the ANOVA.
Link-
http://rtutorialseries.blogspot.com/2011/01/r-tutorial-series-two-way-anova-with.html
b. Do TukeyHSD on an aov model
Link-
2009 Jun 12
1
Please Help pairwise.t.test!!
Hi R users,
My question is, If I have 3 groups, A, B, C and I know mean of A =20, B=21,
and C=20.5 and I also know the
standard error of A =1.1, B=2.2, C=3.2. Plus, I know A has 30 observations,
B has 78, C has 45. But I do not have the raw data.
Can I use pairwise.t.test to conduct a Bonferroni test? If yes, Could you
give me a hint?
Thank you so much
Chunhao
--
View this message in
2009 Jan 08
1
Letter-based representation of pairwise comparisons
Hi!
I have been working several years with R but it's my first public question.
I hope I'll be clear :) .
This question is related to obtaining letter-based representation of
non-parametric pairwise comparisons.
I have a dataframe with this structure (but with quite more rows and cols):
A B C factor
1 2 2 one
2 1 2 one
2 2 3 two
2 3 2 two
1 4 2 three
9 8 1 three
I have no normality,
2008 Oct 16
2
Saving results of Kruskal Walis test
Hello,
I am running Kruskal-Walis test in R. When I try to save results using
write.table it gives me the following error :
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) :
cannot coerce class "htest" into a data.frame
The overall code is as follows :
>data_file = read.table("~/DATA.dir/data_file.txt", header=T)
2000 Aug 03
1
multiple comparison tests & simultaneous multiple plots
I am not sure if my message made it through, so here it is again!
Hi Rer's,
R-1.1.0
I have two questions for you:
1)
I am trying to complete a multiple comparison test after completing a
one-way ANOVA on some data. I think this is pretty reasonable.
aov(MetricSubset ~ GeneNameFactor)
works
pairwise.t.test(MetricSubset,GeneNameSubset,p.adjuxt.method=bonferroni,p
ool.sd=FALSE)
2010 Jun 06
1
Why did TukeyHSD not work when I used it for post-hoc for 2way within-subjects anova?
Dear R people,
I have a couple of questions about post-doc analyses for 2 by 2 within
subjects ANOVA. I conducted a psycholinguistic study that combined a 2 by 2
design and a latin square design. Specifically, I had 32 items each of which
generated 4 conditions. Participants saw each of the 32 items only once: 8
in Condition A, 8 in B, 8 in C, and 8 in D. The table below serves as an
example.
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?
2005 Aug 08
2
extract t-values from pairwise.t.test
Hi,
how can I extract the t-values after running a pairwise.t.test? The
output just list the p-values.
Many thanks for your help.
Cheers
Guido
____________________________________
Guido J. Parra
School of Tropical Environment Studies and Geography
James Cook University
Townsville
Queensland 4811
Phone: 61 7 47815824
Fax: 61 7 47814020
Mobile: 0437630843
e-mail:
2012 May 02
2
output Shapiro-Wild results to a table
Hello,
I have applied the Shapiro test to a matrix with 26.925 rows of data using the following
F1.norm<-apply(F1.n.mat,1,shapiro.test)
I would now like to view and export a table of the p and W values from the Shapiro test, but I am not sure how to approach this.
I have tried the following with errors.
> write.table(x=F1.norm,file="I:/R_Work/F1/Shapiro.csv",
2012 Jan 12
2
kruskal wallis post hoc?
Dear all,
I run a kruskal wallis test and found significant results. Then, I conducted all pairwise comparisons and found no significant results. Could anyone please give me a hint as to why this happens or redirect me towards a specific web page where I can find more info? (I used alpha=5% and made no bonferroni or other correction for the pairwise comparisons)
Thank you
Dr. Iasonas
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
2006 Mar 09
1
bugs in simtest (PR#8670)
# R for Windows will not send your bug report automatically.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs at r-project.org
#
######################################################
This report is joint from Richard Heiberger <rmh at temple.edu>
and Burt Holland <bholland at temple.edu>.
Burt Holland is the coauthor
2006 May 26
2
multiple comparisons of time series data
I am interested in a statistical comparison of multiple (5) time series'
generated from modeling software (Hydrologic Simulation Program Fortran). The
model output simulates daily bacteria concentration in a stream. The multiple
time series' are a result of varying our representation of the stream within
the model.
Our main question is: Do the different methods used to represent a
2011 Dec 14
1
Saving non table object as text file with outputting preserved?
All,
Given the following commands:
> ag.m35<-read.table("m35.txt",header=TRUE,sep=",")
> ag.m35.lp<-subset(ag.m35, race=="lp")
> aov.m35.lp=aov(year~time,data=ag.m35.lp)
> anova.m35.lp=anova(aov.m35.lp)
> anova.m35.lp
Analysis of Variance Table
Response: year
Df Sum Sq Mean Sq F value Pr(>F)
time 1 11.56 11.5649 1.7282
2009 Oct 23
1
Bonferroni with unequal sample sizes
Hello-
I have run an ANOVA on 4 treatments with unequal sample sizes (n=9,7,10 and 10). I want to determine where my sig. differences are between treatments using a Bonferroni test, and have run the code:
pairwise.t.test(Wk16, Treatment, p.adf="bonf")
I receive an error message stating that my arguments are of unequal length:
Error in tapply(x, g, mean, na.rm = TRUE) :
2010 Mar 25
1
Expected pairwise.student.t and TukeyHSD behavior?
pairwise.t.test is returning NAs when one of the samples only has one entry, while TukeyHSD returns results (maybe not trustworthy or believable, but results).
I stumbled on this because I did not realize one of my samples only had one entry while most of the others had several hundred, so I realize this is not a desirable situation. I'm really just curious about the difference between how
2008 Nov 12
2
pairwise.wilcox.test
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20081112/618073fe/attachment.pl>
2011 Aug 26
0
Multiply Iterated Measurements and Pairwise Comparison
I am familiar with pairwise t-tests, corrections for multiple testing, etc. however I have a problem whose answer I have not found after extensive R-help archive and Google searching.
What I have done in the past:
I have N items which are measured, exposed to a condition, and then measured again. I wish to know if the condition changes the items so I can perform a t-test. Better yet I can