Re: [R] a contrast question

2013-03-24 Thread Erin Hodgess
I found the solution: http://stats.stackexchange.com/questions/12993/how-to-setup-and-interpret-anova-contrasts-with-the-car-package-in-r Sorry for the trouble. On Sun, Mar 24, 2013 at 8:58 PM, Erin Hodgess wrote: > Dear R People: > > I have the following in a file: > > resp factA factB > 39.5

[R] a contrast question

2013-03-24 Thread Erin Hodgess
Dear R People: I have the following in a file: resp factA factB 39.5 low B- 38.6 high B- 27.2 low B+ 24.6 high B+ 43.1 low B- 39.5 high B- 23.2 low B+ 24.2 high B+ 45.2 low B- 33.0 high B- 24.8 low B+ 22.2 high B+ and I construct the data frame: > collard.df <- read.table("collard.txt",header=T

Re: [R] A Contrast Question

2008-01-10 Thread Peter Dalgaard
(Ted Harding) wrote: > Hi Folks, > This should have been simple to answer, > but despite much chasing I don't seem able > to catch this particular mouse! > > Basically (somewhat simplified): I have a > binary response variable Y (0/1) and a > 2-level factor A (0/1). > > I want to assign a contrast

[R] A Contrast Question

2008-01-10 Thread Ted Harding
Hi Folks, This should have been simple to answer, but despite much chasing I don't seem able to catch this particular mouse! Basically (somewhat simplified): I have a binary response variable Y (0/1) and a 2-level factor A (0/1). I want to assign a contrast to A such that, when I run summary(glm