similar to: Post Hoc methods for anova in R

Displaying 20 results from an estimated 4000 matches similar to: "Post Hoc methods for anova in R"

2005 Mar 01
3
Anova with Scheffe Tests
Hi R-people, I am wanting to run Factorial ANOVA followed by Scheffe tests on some spatial subjective data. I'm comparing X-Y independent coordinates against x-y dependent coordinates. There are only four independent spatial coordinates that form a square. I am wondering whether I am doing the right thing, because there doesn't seem to be a simple way of doing this. I have attempted to
2003 Aug 13
1
anova and tukeyHSD
I would like to do a one way anova and then a tukeyHSD. I have three vectors A,B and C. In a previous help message, I was told to do the following for the anova: y = c(A,B,C) group = factor(rep(a:3,c(7,9,13))) #provided there a 7 elements in A,9 in B and 13 in C and then anova(lm(y~group)) Looking at the tukeyHSD method it looks like it wants the aov method which I don't understand.
2003 May 23
3
calling files of commands in R
Please excuse me if this is a very basic question and I am just misunderstanding the basic structure of R. Right now, I am writing everything in a buffer (emacs) and then copying it into R when it is correct. Is there a way to save a file of commands and then just type the file name or something in R and have the commands executed within R? Anna
2003 Jul 01
3
lines and legend
When I am trying to put a legend on a plot where I am using "lines", R just ignores it. I can do it with boxplot or plot, but just not with lines. Am I doing something wrong? Maybe I am just making a mistake? Anna
2003 Jun 05
2
Fwd: Re: legend() with option adj=1
Is there a simpler way then the solution to the one that was posted here? I'm not very proficient with legend, and I don't understand this solution. All I have is two or more lines on one plot that I want to put a legend on and I can't figure out how to do it from the examples. Can you give a very simple example? It does not have to be fancy!! I have never worked with a
2006 Apr 06
1
recommendation for post-hoc tests after anova
Greetings all, I've done some ANOVAs and have found significant effects across my groups, so now I have to do some post-hoc tests to ascertain which of the groups is driving the significant effect. Usually one would do something like a Newman-Keuls or Scheffe test to get at this but based on googling and browsing through the r-help archives R doesn't support these and they seem to be
2005 Oct 26
1
Post Hoc Groupings
Quick question, as I attempt to learn R. For post-hoc tests 1) Is there an easy function that will take, say the results of tukeyHSD and create a grouping table. e.g., if I have treatments 1, 2, and 3, with 1 and 2 being statistically the same and 3 being different from both Group Treatment A 1 A 2 B 3 2) I've been stumbling over the proper syntax for simple effects for a tukeyHSD
2012 Jan 02
1
Is using glht with "Tukey" for lme post-hoc comparisons an appropriate substitute to TukeyHSD?
Hello, I am trying to determine the most appropriate way to run post-hoc comparisons on my lme model. I had originally planned to use Tukey HSD method as I am interested in all possible comparisons between my treatment levels. TukeyHSD, however, does not work with lme. The only other code that I was able to find, and which also seems to be widely used, is glht specified with Tukey:
2008 Aug 29
2
non-parametric Anova and tukeyHSD
I have insect data from twelve sites and like most environmental data it is non-normal mostly. I would like to preform an anova and a means seperation like tukey's HSD in a nonparametric sense (on some sort of central tendency measure - median?). I am searching around at this time on the internet. Any suggestions, books, etc. would be greatly appreciated. -- Stephen Sefick Research
2004 Sep 24
1
anova and post hoc multicomparison tests
Hello everyone, Like a lot of people, I have been looking for functions in R doing ANOVA (ok) and performing multicomparisons (like Student-Newman-Keuls, etc.). As I have been a little bit disappointed, I have bee looking through the net for such "open source" softwares. I found one in: http://www.statpages.org/miller/openstat/OS4.html I have begun to use it, and it seems good and
2011 Mar 10
1
Help writing a Scheffe Contrast function for R
Hello, As a new user of R (less than a month) I have got my hands on several books and am pouting through the net looking for help in gaining understanding of this powerful tool. I am becoming more proficient with using basic functions to conduct basic statistics. I am now looking to learn how to write code. After a few small worthless functions I decided to try to create a function that was
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.
2001 Feb 08
2
Test for multiple contrasts?
Hello, I've fitted a parametric survival model by > survreg(Surv(Week, Cens) ~ C(Treatment, srmod.contr), > data = poll.surv.wo3) where srmod.contr is the following matrix of contrasts: prep auto poll self home [1,] 1 1 1.0000000 0.0 0 [2,] -1 0 0.0000000 0.0 0 [3,] 0 -1 0.0000000 0.0 0 [4,] 0 0 -0.3333333 1.0 0 [5,] 0 0
2003 May 19
4
modulus operator?
Is there a modulus operator in R? Anna
2002 Jul 24
1
Contrasts and MC
Dear R People: I have a few questions about multiple comparisons and contrasts for ANOVA, please. I've tried some things but with no success. Suppose I have a completely randomized design, and I want to have the contrast \mu_1 - 0.5 \mu_2 - 0.5 \mu_2 How do I set that up, please? I used the C command, and ran aov, but the results were identical to those with no contrasts. Also, is there
2010 Oct 30
1
summary.lm for post-hoc tests
Let's say I've run Anova(lm(y~a*b)) and found the a:b interaction to be significant. Now I'm interested in which specific level combinations of a and b significantly differ from the control group. Can I use the t-tests from summary(lm(y~a*b)) to answer that question? I saw no mention of multiple comparison in the documentation for summary.lm, so am I right in assuming I need to
2003 Jun 12
1
indexing into a list 2
I didn't explain myself well. You are right about not needing a list on the right hand side of the equation below. What I end up with is a list of arrays. Now what i would like to do is to access the individual elements in the arrays in the list. For example, when I type, y[[1]], I just get the whole first array. How do I get the first element in the first array for instance? Is
2012 Feb 02
2
Post hoc test for lm() or glm() ?
Hi R-helpers, TukeyHSD() works for models fitted with aov(), but could anyone point me to a function that performs a similar post hoc test for models fitted with lm() or glm()? Thanks in advance, Mark
2007 Jun 28
2
TukeyHSD
Hello everyone, So I ran an anova with aov and then I want to run post-hoc comparisons but keep receiving this message : > no applicable method for "TukeyHSD" Here is my code: > d<-read.table("d.txt") > d > Obs subj Hand Gaze RT > 1 1 s1 1 1 401.4 > 2 2 s2 1 1 363.3...... > summary(ano <-
2003 May 07
2
plot vertical labels along x axis
I know how to print my own labels along the x axis: plot(1:10,xlab = "My label", axes = FALSE) axis(1,at=seq(1,10,by=2),labels=c("first","second","third","fourth","fifth")) Is there a way to make the labels print vertically along the axis rather than horizontally? (I'm not sure if this is even going to look all right, but I