Re: [R] Weird SEs with effect()

From: John Fox <>
Date: Sat, 16 Feb 2008 15:22:24 -0500

Dear Gustaf,

>From ?effect, "se: a vector of standard errors for the effect, on the scale
of the linear predictor." Does that help?


John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4

> -----Original Message-----
> From: [mailto:r-help-bounces_at_r-
>] On Behalf Of Gustaf Granath
> Sent: February-16-08 11:43 AM
> To:
> Subject: [R] Weird SEs with effect()
> Hi all,
> Im a little bit confused concerning the effect() command, effects
> package.
> I have done several glm models with family=quasipoisson:
> model <-glm(Y~X+Q+Z,family=quasipoisson)
> and then used
> results.effects <-effect("X",model,se=TRUE)
> to get the "adjusted means". I am aware about the debate concerning
> adjusted means, but you guys just have to trust me - it makes sense
> for me.
> Now I want standard error for these means.
> results.effects$se
> gives me standard error, but it is now it starts to get confusing. The
> given standard errors are very very very small - not realistic. I
> thought that maybe these standard errors are not back transformed so I
> used exp() and then the standard errors became realistic. However, for
> one of my glm models with quasipoisson the standard errors make kind
> of sense without using exp() and gets way to big if I use exp(). To be
> honest, I get the feeling that Im on the wrong track here.
> Basically, I want to know how SE is calculated in effect() (all I know
> is that the reported standard errors are for the fitted values) and if
> anyone knows what is going on here.
> Regards,
> Gustaf Granath
> ______________________________________________
> mailing list
> PLEASE do read the posting guide
> guide.html
> and provide commented, minimal, self-contained, reproducible code. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 16 Feb 2008 - 20:29:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 17 Feb 2008 - 10:30:15 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive