G'day John,

On Tue, 10 Mar 2020 01:42:46 +0000
"Sorkin, John" <jsor...@som.umaryland.edu> wrote:

> I am running a Poisson regression with a single outcome variable,
> HGE, and a single independent variable, a factor, Group which can be
> one of two values, Group1, or Group2. I am trying to define contrasts
> that will give me the values of my outcome variable (HGE) when
> group=Group1 and when group=Group2. 

Not sure what you mean, but I am suspecting you are after this output:

R> fit0 <- glm(HGE ~ Group - 1,family=poisson,data=dataForR,offset=logFU)
R> summary(fit0)

Cheers,

        Berwin

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to